customize programatically [message #670965] |
Mon, 16 May 2011 12:06 |
Miriam Messages: 29 Registered: April 2011 |
Junior Member |
|
|
Hi,
I am dealing with sequence diagrams, I need to have a continuation symbol in the main InteractionCompartment ( outside the alt combined fragment), I saw the code and I changed several things, but I can't display a continuation icon when clicking in the interaction compartment, I delt with org.eclipse.papyrus.diagram.sequence.part.UMLVisualIDRegistr y.java, org.eclipse.papyrus.diagram.sequence.part.UMLUpdater.java, org.eclipse.papyrus.diagram.sequence.edit.commands.Continuat ionCreateCommand.java, org.eclipse.papyrus.diagram.sequence.edit.policies.Interacti onInteractionCompartmentItemSemanticEditPolicy.java but without success (I can just have a create cursor when trying to drag and drop a continuation from the palette to the interactionCompartment)).
Am I missing anything? Can I have some help here, and if possible with the ContinuationLocator?
Thanks a lot
|
|
|
|
|
|
Re: customize programatically [message #673595 is a reply to message #673372] |
Tue, 24 May 2011 08:26 |
|
So you try to modify the behaviorof this element. So it's more complicate. you need to modify the editpolicy that is associated to this element. To do that , you can use EditPolicy provider to replace by your own editPolicy.
|
|
|
Powered by
FUDForum. Page generated in 0.03173 seconds