X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.databoard%2Fsrc%2Forg%2Fsimantics%2Fdataboard%2Faccessor%2Fevent%2FMapEntryAdded.java;h=b9a451ed95899ba6c27cfc8e6fd7cc3be225404b;hb=a1696e5257fae039410c924155fdeffc1ce1b3e9;hp=5bc72d285a88ed172b8296f97851f2d6b8c5054c;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.databoard/src/org/simantics/databoard/accessor/event/MapEntryAdded.java b/bundles/org.simantics.databoard/src/org/simantics/databoard/accessor/event/MapEntryAdded.java index 5bc72d285..b9a451ed9 100644 --- a/bundles/org.simantics.databoard/src/org/simantics/databoard/accessor/event/MapEntryAdded.java +++ b/bundles/org.simantics.databoard/src/org/simantics/databoard/accessor/event/MapEntryAdded.java @@ -1,19 +1,19 @@ -/******************************************************************************* - * Copyright (c) 2010 Association for Decentralized Information Management in - * Industry THTH ry. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * VTT Technical Research Centre of Finland - initial API and implementation - *******************************************************************************/ +/******************************************************************************* + * Copyright (c) 2010 Association for Decentralized Information Management in + * Industry THTH ry. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * VTT Technical Research Centre of Finland - initial API and implementation + *******************************************************************************/ package org.simantics.databoard.accessor.event; -import org.simantics.databoard.accessor.reference.ChildReference; -import org.simantics.databoard.annotations.Optional; -import org.simantics.databoard.binding.mutable.MutableVariant; +import org.simantics.databoard.accessor.reference.ChildReference; +import org.simantics.databoard.annotations.Optional; +import org.simantics.databoard.binding.mutable.MutableVariant; public class MapEntryAdded extends ModificationEvent { @@ -21,12 +21,12 @@ public class MapEntryAdded extends ModificationEvent { public MutableVariant key; /** The value of the new enry. Value is added if the entry was in interest Set */ public @Optional MutableVariant value; - - public MapEntryAdded(ChildReference reference, MutableVariant key, MutableVariant value) { - this.reference = reference; - this.key = key; - this.value = value; - } + + public MapEntryAdded(ChildReference reference, MutableVariant key, MutableVariant value) { + this.reference = reference; + this.key = key; + this.value = value; + } public MapEntryAdded(MutableVariant key) { this.key = key; @@ -43,10 +43,10 @@ public class MapEntryAdded extends ModificationEvent { result.reference = newReference; return result; } - - @Override - public String toString() { - return toRef()+" "+key+" = "+value; + + @Override + public String toString() { + return toRef()+" "+key+" = "+value; } }