--- /dev/null
+/*******************************************************************************\r
+ * Copyright (c) 2013 Association for Decentralized Information Management\r
+ * in Industry THTH ry.\r
+ * All rights reserved. This program and the accompanying materials\r
+ * are made available under the terms of the Eclipse Public License v1.0\r
+ * which accompanies this distribution, and is available at\r
+ * http://www.eclipse.org/legal/epl-v10.html\r
+ *\r
+ * Contributors:\r
+ * Semantum Oy - initial API and implementation\r
+ *******************************************************************************/\r
+package org.simantics.g2d.elementclass;\r
+\r
+import org.simantics.g2d.element.ElementClass.Single;\r
+import org.simantics.g2d.element.handler.ElementHandler;\r
+\r
+/**\r
+ * A tagging element handler for telling whether an element can be considered a\r
+ * reference element. This means that the element is not a direct representation of\r
+ * what it references and the life cycle of the referenced object does not depend\r
+ * on the life cycle of this element.\r
+ * \r
+ * This is used as a guiding for diagram copy paste.\r
+ * \r
+ * @author Tuukka Lehtonen\r
+ */\r
+@Single\r
+public interface ReferenceElement extends ElementHandler {\r
+\r
+ ReferenceElement INSTANCE = new ReferenceElement() {\r
+ private static final long serialVersionUID = 305657929840186623L;\r
+ };\r
+\r
+}\r