X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.g2d%2Fsrc%2Forg%2Fsimantics%2Fg2d%2Felementclass%2FReferenceElement.java;fp=bundles%2Forg.simantics.g2d%2Fsrc%2Forg%2Fsimantics%2Fg2d%2Felementclass%2FReferenceElement.java;h=4082945afe3bdca72cc14f257a2404ace7933391;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hp=c5e3c41b3a3880ac0b3f8d57b86aef5d141845f2;hpb=24e2b34260f219f0d1644ca7a138894980e25b14;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.g2d/src/org/simantics/g2d/elementclass/ReferenceElement.java b/bundles/org.simantics.g2d/src/org/simantics/g2d/elementclass/ReferenceElement.java index c5e3c41b3..4082945af 100644 --- a/bundles/org.simantics.g2d/src/org/simantics/g2d/elementclass/ReferenceElement.java +++ b/bundles/org.simantics.g2d/src/org/simantics/g2d/elementclass/ReferenceElement.java @@ -1,34 +1,34 @@ -/******************************************************************************* - * Copyright (c) 2013 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: - * Semantum Oy - initial API and implementation - *******************************************************************************/ -package org.simantics.g2d.elementclass; - -import org.simantics.g2d.element.ElementClass.Single; -import org.simantics.g2d.element.handler.ElementHandler; - -/** - * A tagging element handler for telling whether an element can be considered a - * reference element. This means that the element is not a direct representation of - * what it references and the life cycle of the referenced object does not depend - * on the life cycle of this element. - * - * This is used as a guiding for diagram copy paste. - * - * @author Tuukka Lehtonen - */ -@Single -public interface ReferenceElement extends ElementHandler { - - ReferenceElement INSTANCE = new ReferenceElement() { - private static final long serialVersionUID = 305657929840186623L; - }; - -} +/******************************************************************************* + * Copyright (c) 2013 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: + * Semantum Oy - initial API and implementation + *******************************************************************************/ +package org.simantics.g2d.elementclass; + +import org.simantics.g2d.element.ElementClass.Single; +import org.simantics.g2d.element.handler.ElementHandler; + +/** + * A tagging element handler for telling whether an element can be considered a + * reference element. This means that the element is not a direct representation of + * what it references and the life cycle of the referenced object does not depend + * on the life cycle of this element. + * + * This is used as a guiding for diagram copy paste. + * + * @author Tuukka Lehtonen + */ +@Single +public interface ReferenceElement extends ElementHandler { + + ReferenceElement INSTANCE = new ReferenceElement() { + private static final long serialVersionUID = 305657929840186623L; + }; + +}