Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Nested CombinedFragment(Nested CombinedFragment Duplication Bug in Papyrus 0.9.1)
Nested CombinedFragment [message #973091] Tue, 06 November 2012 04:22 Go to next message
MyungWoon Oh is currently offline MyungWoon Oh
Messages: 30
Registered: March 2012
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, 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: Tue, 06 November 2012 04:24]

Report message to a moderator

Re: Nested CombinedFragment [message #989181 is a reply to message #973091] Wed, 05 December 2012 02:49 Go to previous message
MyungWoon Oh is currently offline MyungWoon Oh
Messages: 30
Registered: March 2012
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.
Previous Topic:'Child Meta Feature' must reference 'Meta Class' or its sub-classes
Next Topic:Installing EastADL with Papyrus
Goto Forum:

Current Time: Thu Oct 23 14:02:33 GMT 2014

Powered by FUDForum. Page generated in 0.01724 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software