Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoratischenko2015-01-18 13:01:05 -0500
committerAnatoliy Tischenko2015-01-20 04:22:45 -0500
commitd3642ad51889d575dae41c675e204129283f5b77 (patch)
tree3850065df4ce38c7e5b099a8602c74b7ea9e2a30 /plugins/developer/org.eclipse.papyrus.def/xtend/aspects/impl/diagram/editparts/LinkLabelEditPart.xtend
parente387772ca6f5d0e395d0d38696b4fa8612339790 (diff)
downloadorg.eclipse.papyrus-d3642ad51889d575dae41c675e204129283f5b77.tar.gz
org.eclipse.papyrus-d3642ad51889d575dae41c675e204129283f5b77.tar.xz
org.eclipse.papyrus-d3642ad51889d575dae41c675e204129283f5b77.zip
Restore overwritten templates in commit: Merge
bugs/449899-activity-regen to master Signed-off-by: atischenko <montages.t7@gmail.com> Change-Id: Iaf3d1eb120435792ea14742cb9920fc406356ed0
Diffstat (limited to 'plugins/developer/org.eclipse.papyrus.def/xtend/aspects/impl/diagram/editparts/LinkLabelEditPart.xtend')
-rw-r--r--plugins/developer/org.eclipse.papyrus.def/xtend/aspects/impl/diagram/editparts/LinkLabelEditPart.xtend5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/developer/org.eclipse.papyrus.def/xtend/aspects/impl/diagram/editparts/LinkLabelEditPart.xtend b/plugins/developer/org.eclipse.papyrus.def/xtend/aspects/impl/diagram/editparts/LinkLabelEditPart.xtend
index 80c54cde444..1175194be6e 100644
--- a/plugins/developer/org.eclipse.papyrus.def/xtend/aspects/impl/diagram/editparts/LinkLabelEditPart.xtend
+++ b/plugins/developer/org.eclipse.papyrus.def/xtend/aspects/impl/diagram/editparts/LinkLabelEditPart.xtend
@@ -38,5 +38,10 @@ import xpt.diagram.editparts.Common
ллл End Papyrus Code
super.handleNotificationEvent(event);
'''
+
+ override additionalEditPolicies(GenLinkLabel it)
+ '''
+ installEditPolicy(EditPolicy.PRIMARY_DRAG_ROLE, new org.eclipse.papyrus.infra.gmfdiag.common.editpolicies.PapyrusLinkLabelDragPolicy());
+ '''
}

Back to the top