| Nested CombinedFragment [message #973091] |
Mon, 05 November 2012 23:22  |
MyungWoon Oh Messages: 30 Registered: March 2012 |
Member |
|
|
I'm using Papyrus 0.9.1 Sequence Diagram.
When I make a CombinedFragment(nested) inside other CombinedFragment(enclosing), Papyrus 0.9.1 unintentionally makes a duplicate of the nested CombinedFragment behind the enclosing CombinedFragment.

I moved down the enclosing CombinedFragment to show the unintentional duplicate in the image above.
Papyrus 0.9.1 removed the pop-up which asked me to choose ConsiderIgnoreFragment or CombinedFragment by deactivating(commenting) 331 line of org.eclipse.papyrus.uml.diagram.sequence.part.UMLPaletteFactory.java, and that is one of the reasons of this bug.
If I reactivate that pop-up, Papyrus 0.9.1 doesn't make the duplicate.
I tried hard to fix this bug by myself, but I couldn't.
I want that pop-up deactivated with no duplicate.
How can I do that?
[Updated on: Mon, 05 November 2012 23:24] Report message to a moderator
|
|
|
| Re: Nested CombinedFragment [message #989181 is a reply to message #973091] |
Tue, 04 December 2012 21:49  |
MyungWoon Oh Messages: 30 Registered: March 2012 |
Member |
|
|
I found the answer.
To remove(or comment)
} else if(UMLElementTypes.CombinedFragment_3004.equals(((CreateUnspecifiedTypeRequest)request).getElementTypes().get(0))) {
return interactionCompartment.getCommand(request);
of org.eclipse.papyrus.uml.diagram.sequence.edit.policies.InteractionOperandLayoutEditPolicy.getCommand() will fix this problem.
|
|
|
Powered by
FUDForum. Page generated in 0.02030 seconds