How to make an editpart not selectable ? [message #105325] |
Mon, 17 November 2003 05:31  |
Eclipse User |
|
|
|
Originally posted by: arnaud.siminski.infotel.com
Hello,
I am looking for a method to make an editpart not selectable.
I thought that removing the EditPolicy.COMPONENT_ROLE from its
EditPolicies would be enough but it seems that as soon as an EditPart is
contained in a parent that has a EditPolicy.LAYOUT_ROLE installed, the
editpart "child" turns into an object that we can select. Am I right with
my diagnostic?
What I am trying to do is just make the children of a certain EditPart no
selectable, thus all the events in the parent EditPart area would be
treated by the parent and no by the child contained inside. As I said i
tried to remove the COMENT_ROLE from these "children" editpart but it does
not work because the "parent" has got a "LAYOUT_ROLE" installed. Is there
another way to do it ?
Thanks for your help !
Regards,
Arnaud
|
|
|