diff options
author | Florian Noyrit | 2014-02-25 16:35:22 +0000 |
---|---|---|
committer | Florian Noyrit | 2014-02-25 16:35:22 +0000 |
commit | e6640915c57d431d04bd85d42bf6da5fa4434dda (patch) | |
tree | 9586daedc65fe839ea1b4578d814abc3162019a0 /plugins/developer/org.eclipse.papyrus.def/xtend/aspects/diagram/editparts/LinkEditPart.xtend | |
parent | 8d18c0394e06cd1a311b5e497d80a92b9c9e840b (diff) | |
download | org.eclipse.papyrus-e6640915c57d431d04bd85d42bf6da5fa4434dda.tar.gz org.eclipse.papyrus-e6640915c57d431d04bd85d42bf6da5fa4434dda.tar.xz org.eclipse.papyrus-e6640915c57d431d04bd85d42bf6da5fa4434dda.zip |
Update of generation templates from XPAND to XTEND
Update Papyrus Xtend custom generation templates to remove preferences.
Updates UI of preferences pages.
Diffstat (limited to 'plugins/developer/org.eclipse.papyrus.def/xtend/aspects/diagram/editparts/LinkEditPart.xtend')
-rw-r--r-- | plugins/developer/org.eclipse.papyrus.def/xtend/aspects/diagram/editparts/LinkEditPart.xtend | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/plugins/developer/org.eclipse.papyrus.def/xtend/aspects/diagram/editparts/LinkEditPart.xtend b/plugins/developer/org.eclipse.papyrus.def/xtend/aspects/diagram/editparts/LinkEditPart.xtend new file mode 100644 index 00000000000..173e2c4de0a --- /dev/null +++ b/plugins/developer/org.eclipse.papyrus.def/xtend/aspects/diagram/editparts/LinkEditPart.xtend @@ -0,0 +1,30 @@ +/**
+ * Copyright (c) 2006, 2009, 2013 Borland Software Corporation and others
+ *
+ * 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:
+ * Dmitry Stadnik (Borland) - initial API and implementation
+ * Alexander Shatalin (Borland) - initial API and implementation
+ * Michael Golubev (Montages) - #386838 - migrate to Xtend2
+ */
+package aspects.diagram.editparts
+
+import com.google.inject.Inject
+import com.google.inject.Singleton
+import org.eclipse.gmf.codegen.gmfgen.GenLink
+
+@Singleton class LinkEditPart extends diagram.editparts.LinkEditPart {
+ @Inject aspects.impl.diagram.editparts.LinkEditPart aspectsLinkEditPart;
+
+
+
+//BEGIN: PapyrusGenCode
+//patches the super type of the link edit part in case the controlled object represents a UML element
+override extendsList(GenLink it) '''extends «aspectsLinkEditPart.extendsListContents(it)»'''
+//END: PapyrusGenCode
+
+}
|