Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormvelten2011-06-29 09:00:22 +0000
committermvelten2011-06-29 09:00:22 +0000
commitdf94db4f34cd3b838459b9507f9bff6fe39382ae (patch)
tree5085f12115ace28f2321da9bfd5a42c71b82ba7f /plugins/uml/org.eclipse.papyrus.diagram.activity/src/org/eclipse/papyrus/diagram/activity/edit/parts/SequenceNodeEditPart.java
parent6bab0ea79c56955c7acfa8964d14984bfd76d864 (diff)
downloadorg.eclipse.papyrus-df94db4f34cd3b838459b9507f9bff6fe39382ae.tar.gz
org.eclipse.papyrus-df94db4f34cd3b838459b9507f9bff6fe39382ae.tar.xz
org.eclipse.papyrus-df94db4f34cd3b838459b9507f9bff6fe39382ae.zip
NEW - bug 346706: [Activity Diagram] Missing actions
https://bugs.eclipse.org/bugs/show_bug.cgi?id=346706 ReadStructuralFeatuerAction and AddStructuralFeatureValueAction are now available
Diffstat (limited to 'plugins/uml/org.eclipse.papyrus.diagram.activity/src/org/eclipse/papyrus/diagram/activity/edit/parts/SequenceNodeEditPart.java')
-rw-r--r--plugins/uml/org.eclipse.papyrus.diagram.activity/src/org/eclipse/papyrus/diagram/activity/edit/parts/SequenceNodeEditPart.java52
1 files changed, 52 insertions, 0 deletions
diff --git a/plugins/uml/org.eclipse.papyrus.diagram.activity/src/org/eclipse/papyrus/diagram/activity/edit/parts/SequenceNodeEditPart.java b/plugins/uml/org.eclipse.papyrus.diagram.activity/src/org/eclipse/papyrus/diagram/activity/edit/parts/SequenceNodeEditPart.java
index 1b13ad8c9f5..ff38ace4d79 100644
--- a/plugins/uml/org.eclipse.papyrus.diagram.activity/src/org/eclipse/papyrus/diagram/activity/edit/parts/SequenceNodeEditPart.java
+++ b/plugins/uml/org.eclipse.papyrus.diagram.activity/src/org/eclipse/papyrus/diagram/activity/edit/parts/SequenceNodeEditPart.java
@@ -557,6 +557,18 @@ ShapeNodeEditPart implements IPapyrusEditPart {
if(targetEditPart instanceof OutputPinInReadStructuralFeatureAsResultEditPart) {
types.add(UMLElementTypes.ObjectFlow_4003);
}
+ if(targetEditPart instanceof AddStructuralFeatureValueActionEditPart) {
+ types.add(UMLElementTypes.ObjectFlow_4003);
+ }
+ if(targetEditPart instanceof InputPinInAddStructuralFeatureValueActionAsObjectEditPart) {
+ types.add(UMLElementTypes.ObjectFlow_4003);
+ }
+ if(targetEditPart instanceof InputPinInAddStructuralFeatureValueActionAsValueEditPart) {
+ types.add(UMLElementTypes.ObjectFlow_4003);
+ }
+ if(targetEditPart instanceof OutputPinInAddStructuralFeatureValueActionAsResultEditPart) {
+ types.add(UMLElementTypes.ObjectFlow_4003);
+ }
if(targetEditPart instanceof InitialNodeEditPart) {
types.add(UMLElementTypes.ControlFlow_4004);
}
@@ -734,6 +746,18 @@ ShapeNodeEditPart implements IPapyrusEditPart {
if(targetEditPart instanceof OutputPinInReadStructuralFeatureAsResultEditPart) {
types.add(UMLElementTypes.ControlFlow_4004);
}
+ if(targetEditPart instanceof AddStructuralFeatureValueActionEditPart) {
+ types.add(UMLElementTypes.ControlFlow_4004);
+ }
+ if(targetEditPart instanceof InputPinInAddStructuralFeatureValueActionAsObjectEditPart) {
+ types.add(UMLElementTypes.ControlFlow_4004);
+ }
+ if(targetEditPart instanceof InputPinInAddStructuralFeatureValueActionAsValueEditPart) {
+ types.add(UMLElementTypes.ControlFlow_4004);
+ }
+ if(targetEditPart instanceof OutputPinInAddStructuralFeatureValueActionAsResultEditPart) {
+ types.add(UMLElementTypes.ControlFlow_4004);
+ }
if(targetEditPart instanceof ValuePinInOpaqueActEditPart) {
types.add(UMLElementTypes.ExceptionHandler_4005);
}
@@ -845,6 +869,15 @@ ShapeNodeEditPart implements IPapyrusEditPart {
if(targetEditPart instanceof OutputPinInReadStructuralFeatureAsResultEditPart) {
types.add(UMLElementTypes.ExceptionHandler_4005);
}
+ if(targetEditPart instanceof InputPinInAddStructuralFeatureValueActionAsObjectEditPart) {
+ types.add(UMLElementTypes.ExceptionHandler_4005);
+ }
+ if(targetEditPart instanceof InputPinInAddStructuralFeatureValueActionAsValueEditPart) {
+ types.add(UMLElementTypes.ExceptionHandler_4005);
+ }
+ if(targetEditPart instanceof OutputPinInAddStructuralFeatureValueActionAsResultEditPart) {
+ types.add(UMLElementTypes.ExceptionHandler_4005);
+ }
return types;
}
@@ -931,6 +964,10 @@ ShapeNodeEditPart implements IPapyrusEditPart {
types.add(UMLElementTypes.ReadStructuralFeatureAction_3088);
types.add(UMLElementTypes.InputPin_3089);
types.add(UMLElementTypes.OutputPin_3090);
+ types.add(UMLElementTypes.AddStructuralFeatureValueAction_3091);
+ types.add(UMLElementTypes.InputPin_3092);
+ types.add(UMLElementTypes.InputPin_3093);
+ types.add(UMLElementTypes.OutputPin_3094);
} else if(relationshipType == UMLElementTypes.ControlFlow_4004) {
types.add(UMLElementTypes.InitialNode_3004);
types.add(UMLElementTypes.ActivityFinalNode_3005);
@@ -991,6 +1028,10 @@ ShapeNodeEditPart implements IPapyrusEditPart {
types.add(UMLElementTypes.ReadStructuralFeatureAction_3088);
types.add(UMLElementTypes.InputPin_3089);
types.add(UMLElementTypes.OutputPin_3090);
+ types.add(UMLElementTypes.AddStructuralFeatureValueAction_3091);
+ types.add(UMLElementTypes.InputPin_3092);
+ types.add(UMLElementTypes.InputPin_3093);
+ types.add(UMLElementTypes.OutputPin_3094);
} else if(relationshipType == UMLElementTypes.ExceptionHandler_4005) {
types.add(UMLElementTypes.ValuePin_3015);
types.add(UMLElementTypes.ActionInputPin_3016);
@@ -1029,6 +1070,9 @@ ShapeNodeEditPart implements IPapyrusEditPart {
types.add(UMLElementTypes.OutputPin_3087);
types.add(UMLElementTypes.InputPin_3089);
types.add(UMLElementTypes.OutputPin_3090);
+ types.add(UMLElementTypes.InputPin_3092);
+ types.add(UMLElementTypes.InputPin_3093);
+ types.add(UMLElementTypes.OutputPin_3094);
}
return types;
}
@@ -1109,6 +1153,10 @@ ShapeNodeEditPart implements IPapyrusEditPart {
types.add(UMLElementTypes.ReadStructuralFeatureAction_3088);
types.add(UMLElementTypes.InputPin_3089);
types.add(UMLElementTypes.OutputPin_3090);
+ types.add(UMLElementTypes.AddStructuralFeatureValueAction_3091);
+ types.add(UMLElementTypes.InputPin_3092);
+ types.add(UMLElementTypes.InputPin_3093);
+ types.add(UMLElementTypes.OutputPin_3094);
} else if(relationshipType == UMLElementTypes.ControlFlow_4004) {
types.add(UMLElementTypes.InitialNode_3004);
types.add(UMLElementTypes.ActivityFinalNode_3005);
@@ -1169,6 +1217,10 @@ ShapeNodeEditPart implements IPapyrusEditPart {
types.add(UMLElementTypes.ReadStructuralFeatureAction_3088);
types.add(UMLElementTypes.InputPin_3089);
types.add(UMLElementTypes.OutputPin_3090);
+ types.add(UMLElementTypes.AddStructuralFeatureValueAction_3091);
+ types.add(UMLElementTypes.InputPin_3092);
+ types.add(UMLElementTypes.InputPin_3093);
+ types.add(UMLElementTypes.OutputPin_3094);
} else if(relationshipType == UMLElementTypes.CommentAnnotatedElement_4006) {
types.add(UMLElementTypes.Comment_3080);
}

Back to the top