|
Re: Non-Movable BorderNode [message #1705782 is a reply to message #1705734] |
Wed, 19 August 2015 07:49 |
|
Hello,
In Sirius, the EditPolicy responsible for moving and resizing border
nodes is
org.eclipse.sirius.diagram.ui.graphical.edit.policies.SpecificBorderItemSelectionEditPolicy.
You could add a breakpoint in debug and see why this EditPolicy is still
used. The SpecificBorderItemSelectionEditPolicy is probably registered
in a way that it will override external contributions. You may also need to override some editParts.
Regards,
Florian
On 08/18/2015 06:04 PM, Bailey Trenton wrote:
> Hello,
> I am wondering if it is possible to make a Bordernode that is not
> movable. I have tried using a custom editpolicy but that doesn't seem
> to work. I have tried installing my editpolicy using many different
> roles(LAYOUT, PRIMARY_DRAG_DROP, DRAG_DROP) but none of them seem to
> register movement of the bordernodes.
>
> Any suggestions would be appreciated.
> Thanks,
> Bailey
--
Florian - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
[Updated on: Fri, 21 August 2015 15:36] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03222 seconds