Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Schnekenburger2015-01-21 02:05:05 -0500
committerGerrit Code Review @ Eclipse.org2015-01-21 02:05:05 -0500
commit06cf4fb8f9460e1e3f37940d4108ab16d8e142ed (patch)
treed213b3608db5ce0641f172a6a6933ad798659db2 /plugins/developer/org.eclipse.papyrus.def/xtend/aspects/impl/diagram/editparts/LinkLabelEditPart.xtend
parent8de4f8b5f13420fd270d008f5407fcb4c6f74baa (diff)
parentd3642ad51889d575dae41c675e204129283f5b77 (diff)
downloadorg.eclipse.papyrus-06cf4fb8f9460e1e3f37940d4108ab16d8e142ed.tar.gz
org.eclipse.papyrus-06cf4fb8f9460e1e3f37940d4108ab16d8e142ed.tar.xz
org.eclipse.papyrus-06cf4fb8f9460e1e3f37940d4108ab16d8e142ed.zip
Merge "Restore overwritten templates in commit: Merge bugs/449899-activity-regen to master"
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