Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenoit Maggi2016-11-29 08:57:09 -0500
committerGerrit Code Review @ Eclipse.org2016-11-29 17:15:36 -0500
commitc632893b0217c805e2508708de324a8e7e4bbedb (patch)
treee7234d668590142a909993733506846e832058d6
parent6e9931ef995ebed98ea22fd825f4ac5db7cccf16 (diff)
downloadorg.eclipse.papyrus-c632893b0217c805e2508708de324a8e7e4bbedb.tar.gz
org.eclipse.papyrus-c632893b0217c805e2508708de324a8e7e4bbedb.tar.xz
org.eclipse.papyrus-c632893b0217c805e2508708de324a8e7e4bbedb.zip
Bug 508374 - [Composite] Allow drop from inherited port to type port
- allow drop for all port in Classifier type attribute list - add missing @Override Change-Id: Idbbe48f0277d122812456f11b80eee864b684473 Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr> (cherry picked from commit 0761e723d50aae39fb0f131440e55304c8d48967)
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/lifeline/ClassifierToInteractionDropStrategy.java4
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/lifeline/ClassifierToLifelineDropStrategy.java4
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/MoveInnerClassDropStrategy.java3
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/PortToTypesPortDropStrategy.java18
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/classifier/ClassifierAsClassifierToStructureCompartmentDropStrategy.java5
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/constraint/NamespaceToConstraintDropStrategy.java5
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/instancespecification/ClassifierToSlotsDropStrategy.java11
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/instancespecification/command/SelectAndCreateSlotsCommand.java4
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/instancespecification/ui/ClassifierPropertiesContentProvider.java8
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/instancespecification/ui/SlotSelectionDialog.java4
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/state/AbstractBehaviorToStateDropStrategy.java5
11 files changed, 58 insertions, 13 deletions
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/lifeline/ClassifierToInteractionDropStrategy.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/lifeline/ClassifierToInteractionDropStrategy.java
index c0c12d7f4bb..b0130fd8052 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/lifeline/ClassifierToInteractionDropStrategy.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/lifeline/ClassifierToInteractionDropStrategy.java
@@ -31,19 +31,23 @@ import org.eclipse.uml2.uml.Type;
public class ClassifierToInteractionDropStrategy extends TransactionalDropStrategy {
+ @Override
public String getLabel() {
return "Create a Lifeline";
}
+ @Override
public String getDescription() {
return "Drop a classifier on an interaction , create the lifeline and type it. This will create a new lifeline, a new Property in the interaction, typed by the dropped classifier. The Lifeline will represent this property."
+ "It is also possible to drop directly an already existing Property to the lifeline.";
}
+ @Override
public Image getImage() {
return null;
}
+ @Override
public String getID() {
return Activator.PLUGIN_ID + ".ClassifierToLifeline.represents";
}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/lifeline/ClassifierToLifelineDropStrategy.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/lifeline/ClassifierToLifelineDropStrategy.java
index 2603cf4a133..1eedd765516 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/lifeline/ClassifierToLifelineDropStrategy.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/lifeline/ClassifierToLifelineDropStrategy.java
@@ -38,19 +38,23 @@ import org.eclipse.uml2.uml.Type;
*/
public class ClassifierToLifelineDropStrategy extends TransactionalDropStrategy {
+ @Override
public String getLabel() {
return "Type a Lifeline";
}
+ @Override
public String getDescription() {
return "Drop a classifier on a Lifeline to type it. This will create a new Property in the interaction, typed by the dropped classifier. The Lifeline will represent this property."
+ "It is also possible to drop directly an already existing Property to the lifeline.";
}
+ @Override
public Image getImage() {
return null;
}
+ @Override
public String getID() {
return Activator.PLUGIN_ID + ".lifeline.represents";
}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/MoveInnerClassDropStrategy.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/MoveInnerClassDropStrategy.java
index 4c57f7cbafb..d14504c54dd 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/MoveInnerClassDropStrategy.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/MoveInnerClassDropStrategy.java
@@ -64,6 +64,7 @@ public class MoveInnerClassDropStrategy extends MoveDropStrategy {
return "Reparent";
}
+ @Override
public String getID() {
return Activator.PLUGIN_ID + ".move.innerClass";
}
@@ -87,6 +88,7 @@ public class MoveInnerClassDropStrategy extends MoveDropStrategy {
return null;
}
+ @Override
public int getPriority() {
return 101;
}
@@ -219,7 +221,6 @@ public class MoveInnerClassDropStrategy extends MoveDropStrategy {
}
public String getCategory() {
- // TODO Auto-generated method stub
return null;
}
}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/PortToTypesPortDropStrategy.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/PortToTypesPortDropStrategy.java
index 82ce7b220d0..2fc6e39f52f 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/PortToTypesPortDropStrategy.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/PortToTypesPortDropStrategy.java
@@ -16,6 +16,7 @@ package org.eclipse.papyrus.uml.diagram.dnd.strategy;
import java.util.ArrayList;
import java.util.List;
+import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.gef.EditPart;
import org.eclipse.gef.Request;
@@ -27,8 +28,10 @@ import org.eclipse.gmf.runtime.diagram.ui.commands.ICommandProxy;
import org.eclipse.papyrus.infra.gmfdiag.dnd.strategy.TransactionalDropStrategy;
import org.eclipse.papyrus.uml.diagram.composite.custom.edit.parts.ResizablePortEditPart;
import org.eclipse.swt.graphics.Image;
+import org.eclipse.uml2.uml.Classifier;
import org.eclipse.uml2.uml.Element;
import org.eclipse.uml2.uml.Port;
+import org.eclipse.uml2.uml.Property;
import org.eclipse.uml2.uml.Type;
/**
@@ -58,19 +61,24 @@ public class PortToTypesPortDropStrategy extends TransactionalDropStrategy {
if (targetEditPart instanceof ResizablePortEditPart) {
ResizablePortEditPart graphicalEditPart = (ResizablePortEditPart) targetEditPart;
List<EObject> sourceElements = getSourceEObjects(request);
- if (sourceElements.size() == 0) {
+ if (sourceElements.isEmpty()) {
return null;
}
- final List<EObject> valuesToAdd = new ArrayList<EObject>(sourceElements.size());
+ final List<EObject> valuesToAdd = new ArrayList<>(sourceElements.size());
Element target = (Element) graphicalEditPart.resolveSemanticElement();
if (target instanceof Port && ((Port) target).getType() != null) {
Port targetPort = (Port) target;
Type targetType = targetPort.getType();
- for (EObject sourceElement : sourceElements) {
- if ((sourceElement instanceof Port) && sourceElement.eContainer().equals(targetType)) {
- addCommandDrop(graphicalEditPart, cc, valuesToAdd, sourceElement);
+ if (targetType instanceof Classifier){
+ Classifier targetClassifier = (Classifier) targetType;
+ EList<Property> targetAllAttributes = targetClassifier.getAllAttributes();
+ for (EObject sourceElement : sourceElements) {
+ if ((sourceElement instanceof Port) && targetAllAttributes.contains(sourceElement)) {
+ addCommandDrop(graphicalEditPart, cc, valuesToAdd, sourceElement);
+ }
}
}
+
}
}
return cc.canExecute() ? new ICommandProxy(cc.reduce()) : null;
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/classifier/ClassifierAsClassifierToStructureCompartmentDropStrategy.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/classifier/ClassifierAsClassifierToStructureCompartmentDropStrategy.java
index 18525684afb..835fc82ce3d 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/classifier/ClassifierAsClassifierToStructureCompartmentDropStrategy.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/classifier/ClassifierAsClassifierToStructureCompartmentDropStrategy.java
@@ -39,22 +39,27 @@ import org.eclipse.uml2.uml.Type;
*/
public class ClassifierAsClassifierToStructureCompartmentDropStrategy extends TransactionalDropStrategy {
+ @Override
public String getLabel() {
return "Classifier into structure compartment"; //$NON-NLS-1$
}
+ @Override
public String getID() {
return Activator.PLUGIN_ID + ".ClassifierToStructureCompDrop"; //$NON-NLS-1$
}
+ @Override
public String getDescription() {
return "Drops a classifier into the structure compartment of a class."; //$NON-NLS-1$
}
+ @Override
public Image getImage() {
return null;
}
+ @Override
public int getPriority() {
return 0;
}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/constraint/NamespaceToConstraintDropStrategy.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/constraint/NamespaceToConstraintDropStrategy.java
index 2a9b19eae17..e108b033307 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/constraint/NamespaceToConstraintDropStrategy.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/constraint/NamespaceToConstraintDropStrategy.java
@@ -39,10 +39,12 @@ public class NamespaceToConstraintDropStrategy extends TransactionalDropStrategy
protected static final EStructuralFeature constraintContext_feature = UMLPackage.eINSTANCE.getConstraint_Context();
+ @Override
public String getLabel() {
return "Set constraint context";
}
+ @Override
public String getID() {
return Activator.PLUGIN_ID + ".constraintContext"; //$NON-NLS-1$
}
@@ -55,14 +57,17 @@ public class NamespaceToConstraintDropStrategy extends TransactionalDropStrategy
return "Sets the dropped namespace as context of the target constraint.";
}
+ @Override
public String getDescription() {
return getCategoryLabel();
}
+ @Override
public Image getImage() {
return null;
}
+ @Override
public int getPriority() {
return 0;
}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/instancespecification/ClassifierToSlotsDropStrategy.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/instancespecification/ClassifierToSlotsDropStrategy.java
index 10f9cf828e1..f9b81620b75 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/instancespecification/ClassifierToSlotsDropStrategy.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/instancespecification/ClassifierToSlotsDropStrategy.java
@@ -51,22 +51,27 @@ public class ClassifierToSlotsDropStrategy extends TransactionalDropStrategy {
private static final EStructuralFeature feature = UMLPackage.eINSTANCE.getInstanceSpecification_Classifier();
+ @Override
public String getLabel() {
return "Type instance specification";
}
+ @Override
public String getID() {
- return Activator.PLUGIN_ID + ".instanceSpecification";
+ return Activator.PLUGIN_ID + ".instanceSpecification"; //$NON-NLS-1$
}
+ @Override
public String getDescription() {
return "Sets the dropped classifiers as classifiers for the target InstanceSpecification. Slots corresponding to the classifiers' properties are also created.";
}
+ @Override
public Image getImage() {
return null;
}
+ @Override
public int getPriority() {
return 0;
}
@@ -86,7 +91,7 @@ public class ClassifierToSlotsDropStrategy extends TransactionalDropStrategy {
EObject semanticElement = getTargetSemanticElement(targetEditPart);
List<EObject> sourceElements = getSourceEObjects(request);
- List<Classifier> valuesToAdd = new ArrayList<Classifier>(sourceElements.size());
+ List<Classifier> valuesToAdd = new ArrayList<>(sourceElements.size());
for (EObject sourceElement : sourceElements) {
if (!(sourceElement instanceof Classifier)) {
return null;
@@ -100,7 +105,7 @@ public class ClassifierToSlotsDropStrategy extends TransactionalDropStrategy {
List<Classifier> currentValues = (List<Classifier>) semanticElement.eGet(feature);
- List<Classifier> values = new LinkedList<Classifier>();
+ List<Classifier> values = new LinkedList<>();
values.addAll(currentValues);
values.addAll(valuesToAdd);
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/instancespecification/command/SelectAndCreateSlotsCommand.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/instancespecification/command/SelectAndCreateSlotsCommand.java
index d5237214113..eaf3c9e0a8f 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/instancespecification/command/SelectAndCreateSlotsCommand.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/instancespecification/command/SelectAndCreateSlotsCommand.java
@@ -139,7 +139,7 @@ public class SelectAndCreateSlotsCommand extends AbstractCommand {
if (newSlot != null) {
updateSlotProperties(newSlot, property);
} else {
- return CommandResult.newErrorCommandResult("Could not create the slot for property " + property.getName());
+ return CommandResult.newErrorCommandResult("Could not create the slot for property " + property.getName());//$NON-NLS-1$
}
// Initialize properties: feature & name & default value
@@ -166,7 +166,7 @@ public class SelectAndCreateSlotsCommand extends AbstractCommand {
}
protected Property[] getAllProperties() {
- Set<Property> allProperties = new HashSet<Property>();
+ Set<Property> allProperties = new HashSet<>();
for (Classifier classifier : classifiers) {
allProperties.addAll(classifier.getAllAttributes());
}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/instancespecification/ui/ClassifierPropertiesContentProvider.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/instancespecification/ui/ClassifierPropertiesContentProvider.java
index 407d69b25f1..4c219675ac7 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/instancespecification/ui/ClassifierPropertiesContentProvider.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/instancespecification/ui/ClassifierPropertiesContentProvider.java
@@ -33,16 +33,19 @@ public class ClassifierPropertiesContentProvider implements ITreeContentProvider
private Collection<Classifier> input;
+ @Override
public void dispose() {
viewer = null;
input = null;
}
+ @Override
public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
this.viewer = viewer;
this.input = (Collection<Classifier>) newInput;
}
+ @Override
public Object[] getElements(Object inputElement) {
Collection<Classifier> result = new LinkedHashSet<Classifier>();
@@ -53,6 +56,7 @@ public class ClassifierPropertiesContentProvider implements ITreeContentProvider
return result.toArray();
}
+ @Override
public Object[] getChildren(Object parentElement) {
if (parentElement instanceof Classifier) {
Classifier element = (Classifier) parentElement;
@@ -117,13 +121,15 @@ public class ClassifierPropertiesContentProvider implements ITreeContentProvider
result.add(classifier);
}
+ @Override
public Object getParent(Object element) {
if (element instanceof Property) {
return ((Property) element).getOwner();
}
return null;
}
-
+
+ @Override
public boolean hasChildren(Object element) {
if (element instanceof Classifier) {
return !((Classifier) element).getAllAttributes().isEmpty();
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/instancespecification/ui/SlotSelectionDialog.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/instancespecification/ui/SlotSelectionDialog.java
index be96d50aa54..c2b36d71bb6 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/instancespecification/ui/SlotSelectionDialog.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/instancespecification/ui/SlotSelectionDialog.java
@@ -112,10 +112,12 @@ public class SlotSelectionDialog extends SelectionDialog {
checkbox.addSelectionListener(new SelectionListener() {
+ @Override
public void widgetSelected(SelectionEvent e) {
properties.put(property, checkbox.getSelection());
}
+ @Override
public void widgetDefaultSelected(SelectionEvent e) {
// Nothing
}
@@ -147,7 +149,7 @@ public class SlotSelectionDialog extends SelectionDialog {
@Override
protected void okPressed() {
- List<Property> result = new LinkedList<Property>();
+ List<Property> result = new LinkedList<>();
for (Map.Entry<Property, Boolean> entry : properties.entrySet()) {
if (entry.getValue()) {
result.add(entry.getKey());
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/state/AbstractBehaviorToStateDropStrategy.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/state/AbstractBehaviorToStateDropStrategy.java
index d1b2245c518..8e4273f5796 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/state/AbstractBehaviorToStateDropStrategy.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.dnd/src/org/eclipse/papyrus/uml/diagram/dnd/strategy/state/AbstractBehaviorToStateDropStrategy.java
@@ -37,25 +37,30 @@ import org.eclipse.uml2.uml.State;
// and link the FunctionBehavior#specification to the operation)
public abstract class AbstractBehaviorToStateDropStrategy extends TransactionalDropStrategy {
+ @Override
public String getLabel() {
String featureName = getFeatureToEdit().getName();
return "Behavior -> State : sets the \"" + featureName + "\" property";
}
+ @Override
public String getDescription() {
String featureName = getFeatureToEdit().getName();
return "When a Behavior is dropped on a State, sets the behavior as the state's \"" + featureName + "\" property";
}
+ @Override
public Image getImage() {
return null;
}
+ @Override
public String getID() {
String featureName = getFeatureToEdit().getName();
return "org.eclipse.papyrus.behaviorToState." + featureName;
}
+ @Override
public int getPriority() {
return 50;
}

Back to the top