Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.communication/custom-src/org/eclipse/papyrus/uml/diagram/communication/custom/policies/itemsemantic/CustomInteractionCompartmentSemanticEditPolicy.java')
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.communication/custom-src/org/eclipse/papyrus/uml/diagram/communication/custom/policies/itemsemantic/CustomInteractionCompartmentSemanticEditPolicy.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.communication/custom-src/org/eclipse/papyrus/uml/diagram/communication/custom/policies/itemsemantic/CustomInteractionCompartmentSemanticEditPolicy.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.communication/custom-src/org/eclipse/papyrus/uml/diagram/communication/custom/policies/itemsemantic/CustomInteractionCompartmentSemanticEditPolicy.java
index a6d1b37cc22..c8e43ebf0aa 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.communication/custom-src/org/eclipse/papyrus/uml/diagram/communication/custom/policies/itemsemantic/CustomInteractionCompartmentSemanticEditPolicy.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.communication/custom-src/org/eclipse/papyrus/uml/diagram/communication/custom/policies/itemsemantic/CustomInteractionCompartmentSemanticEditPolicy.java
@@ -39,13 +39,13 @@ public class CustomInteractionCompartmentSemanticEditPolicy extends InteractionC
protected Command getCreateCommand(CreateElementRequest req) {
final IElementType requestElementType = req.getElementType();
- if (UMLElementTypes.Lifeline_8001 == requestElementType) {
+ if (UMLElementTypes.Lifeline_Shape == requestElementType) {
return getGEFWrapper(new CustomLifelineCreateCommandCN(req, DiagramUtils.getDiagramFrom(getHost())));
}
- if (UMLElementTypes.TimeObservation_8006 == requestElementType) {
+ if (UMLElementTypes.TimeObservation_Shape == requestElementType) {
return getGEFWrapper(new CustomTimeObservationCreateCommandCN(req, DiagramUtils.getDiagramFrom(getHost())));
}
- if (UMLElementTypes.DurationObservation_8007 == requestElementType) {
+ if (UMLElementTypes.DurationObservation_Shape == requestElementType) {
return getGEFWrapper(new CustomDurationObservationCreateCommandCN(req, DiagramUtils.getDiagramFrom(getHost())));
}

Back to the top