X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.databoard%2Fsrc%2Forg%2Fsimantics%2Fdataboard%2Faccessor%2Fevent%2FUnionValueAssigned.java;h=20ee9fcc5a8edc9a059bf2511a57ea09ae08e4b4;hb=refs%2Fchanges%2F15%2F3015%2F1;hp=996b551f24392b4fcb8d82ef4aeba1bd32720054;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.databoard/src/org/simantics/databoard/accessor/event/UnionValueAssigned.java b/bundles/org.simantics.databoard/src/org/simantics/databoard/accessor/event/UnionValueAssigned.java index 996b551f2..20ee9fcc5 100644 --- a/bundles/org.simantics.databoard/src/org/simantics/databoard/accessor/event/UnionValueAssigned.java +++ b/bundles/org.simantics.databoard/src/org/simantics/databoard/accessor/event/UnionValueAssigned.java @@ -1,30 +1,30 @@ -/******************************************************************************* - * 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 UnionValueAssigned extends ModificationEvent { public int tag; public @Optional MutableVariant newValue; - - public UnionValueAssigned(ChildReference reference, int tag, MutableVariant newValue) { - this.reference = reference; - this.tag = tag; - this.newValue = newValue; - } + + public UnionValueAssigned(ChildReference reference, int tag, MutableVariant newValue) { + this.reference = reference; + this.tag = tag; + this.newValue = newValue; + } public UnionValueAssigned(int tag, MutableVariant newValue) { this.tag = tag; @@ -36,12 +36,12 @@ public class UnionValueAssigned extends ModificationEvent { UnionValueAssigned result = new UnionValueAssigned(tag, newValue); result.reference = newReference; return result; - } - - @Override - public String toString() { - return toRef()+"= "+newValue; - } + } + + @Override + public String toString() { + return toRef()+"= "+newValue; + } }