Skip to main content



      Home
Home » Eclipse Projects » GEF » Locking EditParts?
Locking EditParts? [message #165425] Tue, 25 January 2005 04:18 Go to next message
Eclipse UserFriend
Hi there!

Another stupid question from a GEF newbie ;-)

Is there an easy way to lock and unlock EditParts? If an EditPart is
locked, it
shouldn't be possible to move or even select its figure in the editor.

Any hints?
Re: Locking EditParts? [message #165482 is a reply to message #165425] Tue, 25 January 2005 10:46 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

If you can't select it, how would you unlock it ??
To make the editpart immune to everything, it should just return null for
getTarget().

"Roger Villars" <roger.villars@mimacom.ch> wrote in message
news:ct52tf$ac0$1@www.eclipse.org...
>
> Hi there!
>
> Another stupid question from a GEF newbie ;-)
>
> Is there an easy way to lock and unlock EditParts? If an EditPart is
> locked, it
> shouldn't be possible to move or even select its figure in the editor.
>
> Any hints?
>
Previous Topic:Printing
Next Topic:Overview page
Goto Forum:
  


Current Time: Sat Jun 21 00:27:19 EDT 2025

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

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

Back to the top