Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » AddVariableValueAction doubled in UML editor
AddVariableValueAction doubled in UML editor [message #624456] Wed, 22 August 2007 05:14
Krzysztof Kaczmarski is currently offline Krzysztof Kaczmarski
Messages: 88
Registered: July 2009
Member
Hi All,

when I modify UMLArticle's code to create model like this:

Model model = UMLFactory.eINSTANCE.createModel();
model.setName("MyModel");

org.eclipse.uml2.uml.Class clazz = model.createOwnedClass("MyClass",
false);
Activity activity = (Activity) clazz.createOwnedBehavior(
"MyActivity", UMLPackage.Literals.ACTIVITY );

SequenceNode sequence = (SequenceNode) activity.createNode(
"MySequence", UMLPackage.Literals.SEQUENCE_NODE);

AddVariableValueAction addValue = (AddVariableValueAction)
sequence.createNode( "MyAction",
UMLPackage.Literals.ADD_VARIABLE_VALUE_ACTION);

so single AddVariableValueAction is created and I serialize it to uml
file and then open it in UML Editor I see the action doubled.
I checked that in the file it is serialized only once so it is
probably a problem of UML Editor.
Should I post it as a bug or maybe it is for some reason normal?

Regards,
Krzysztof Kaczmarski
Previous Topic:Adding additional non-UML informations
Next Topic:java API which converts Ecore object model to UML model.
Goto Forum:
  


Current Time: Wed Aug 20 10:44:16 EDT 2014

Powered by FUDForum. Page generated in 0.01702 seconds