Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Forbid selection of an Node
Forbid selection of an Node [message #143690] Mon, 23 July 2007 13:27 Go to next message
Eclipse UserFriend
Hi,

I 've tried to make a node in my generated GMF Editor unselectable.
Therefore I've overwritten the createDEfaultEditPolicies in the
corresponding Editpart but nothing happens. Could anyone give me a hint ?

thanks
dawid
Re: Forbid selection of an Node [message #143692 is a reply to message #143690] Mon, 23 July 2007 14:59 Go to previous message
Eclipse UserFriend
Hi Dawid,

Override EditPart#isSelectable.

Best regards,
Boris


Dawid wrote:
> Hi,
>
> I 've tried to make a node in my generated GMF Editor unselectable.
> Therefore I've overwritten the createDEfaultEditPolicies in the
> corresponding Editpart but nothing happens. Could anyone give me a hint ?
>
> thanks
> dawid
Previous Topic:Mindmap Tutorial: Positioning of the ThreadItems
Next Topic:disappearing links using compartments
Goto Forum:
  


Current Time: Fri Apr 25 00:33:04 EDT 2025

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

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

Back to the top