Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPauline DEVILLE2017-07-19 08:25:37 +0000
committerAnsgar Radermacher2017-07-31 12:48:56 +0000
commitab933daa55f6c46e57098b434bbde6f8ce87e526 (patch)
tree71fc8f87d554cbb0658221d29b6aaa1991286c89 /plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus
parentabd8c00836bd511eb43f4f342060e5e5d1d3efeb (diff)
downloadorg.eclipse.papyrus-ab933daa55f6c46e57098b434bbde6f8ce87e526.tar.gz
org.eclipse.papyrus-ab933daa55f6c46e57098b434bbde6f8ce87e526.tar.xz
org.eclipse.papyrus-ab933daa55f6c46e57098b434bbde6f8ce87e526.zip
Bug 493221 - UnmarshallActions cannot be added to Activity diagrams
-Add UnmarshallActionEditPart -Add UnmarshallAction to the palette Change-Id: I34ef7f09aa66a2c8a8d24d13415a3e9ab3464e9e Signed-off-by: Pauline DEVILLE <pauline.deville@cea.fr>
Diffstat (limited to 'plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus')
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/policies/CustomDiagramDragDropEditPolicy.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/policies/CustomDiagramDragDropEditPolicy.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/policies/CustomDiagramDragDropEditPolicy.java
index a9a4e0acb73..612f0371bf3 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/policies/CustomDiagramDragDropEditPolicy.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/custom-src/org/eclipse/papyrus/uml/diagram/activity/edit/policies/CustomDiagramDragDropEditPolicy.java
@@ -67,6 +67,7 @@ import org.eclipse.papyrus.uml.diagram.activity.edit.parts.OpaqueActionEditPart;
import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ReadSelfActionEditPart;
import org.eclipse.papyrus.uml.diagram.activity.edit.parts.TimeConstraintAsLocalPostcondEditPart;
import org.eclipse.papyrus.uml.diagram.activity.edit.parts.TimeConstraintAsLocalPrecondEditPart;
+import org.eclipse.papyrus.uml.diagram.activity.edit.parts.UnmarshallActionEditPart;
import org.eclipse.papyrus.uml.diagram.activity.edit.parts.ValueSpecificationActionEditPart;
import org.eclipse.papyrus.uml.diagram.activity.helper.ActivityLinkMappingHelper;
import org.eclipse.papyrus.uml.diagram.activity.part.UMLVisualIDRegistry;
@@ -125,6 +126,7 @@ public class CustomDiagramDragDropEditPolicy extends CommonDiagramDragDropEditPo
droppableElementsVisualID.add(ControlFlowEditPart.VISUAL_ID);
droppableElementsVisualID.add(ValueSpecificationActionEditPart.VISUAL_ID);
droppableElementsVisualID.add(ReadSelfActionEditPart.VISUAL_ID);
+ droppableElementsVisualID.add(UnmarshallActionEditPart.VISUAL_ID);
return droppableElementsVisualID;
}
@@ -164,6 +166,7 @@ public class CustomDiagramDragDropEditPolicy extends CommonDiagramDragDropEditPo
case CallOperationActionEditPart.VISUAL_ID:
case ValueSpecificationActionEditPart.VISUAL_ID:
case ReadSelfActionEditPart.VISUAL_ID:
+ case UnmarshallActionEditPart.VISUAL_ID:
return dropAction(dropRequest, semanticElement, nodeVISUALID);
case TimeConstraintAsLocalPrecondEditPart.VISUAL_ID:
case TimeConstraintAsLocalPostcondEditPart.VISUAL_ID:

Back to the top