Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsAddVariableValueAction doubled in UML editor
https://www.eclipse.org/forums/index.php/mv/msg/151052/475160/#msg_475160
when I modify UMLArticle's code to create model like this:
Model model = UMLFactory.eINSTANCE.createModel();
model.setName("MyModel");
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]]>Krzysztof Kaczmarski2007-08-22T09:14:13-00:00Re: AddVariableValueAction doubled in UML editor
https://www.eclipse.org/forums/index.php/mv/msg/151052/475194/#msg_475194
You're right!
I can reproduce that simply by using the editor. Please log a bug and it
will be looked into.
( There might be some issue with the ExecutableNode and Node collections )
- James.
"Krzysztof Kaczmarski" <krzysztof_kaczmarski@o2.pl> wrote in message
news:fagup6$d5n$1@build.eclipse.org...
> 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]]>james bruck2007-08-22T13:46:48-00:00Re: AddVariableValueAction doubled in UML editor
https://www.eclipse.org/forums/index.php/mv/msg/151052/624468/#msg_624468
You're right!
I can reproduce that simply by using the editor. Please log a bug and it
will be looked into.
( There might be some issue with the ExecutableNode and Node collections )
- James.
"Krzysztof Kaczmarski" <krzysztof_kaczmarski@o2.pl> wrote in message
news:fagup6$d5n$1@build.eclipse.org...
> 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]]>james bruck2007-08-22T13:46:48-00:00