Skip to main content



      Home
Home » Eclipse Projects » GEF » How to make an editpart not selectable ?
How to make an editpart not selectable ? [message #105325] Mon, 17 November 2003 05:31 Go to previous message
Eclipse UserFriend
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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:grouping EditParts
Next Topic:about call sequence of the editpart and figure?
Goto Forum:
  


Current Time: Mon May 05 04:52:05 EDT 2025

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

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

Back to the top