Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » ToolEntry state
ToolEntry state [message #235853] Mon, 18 June 2007 12:07 Go to next message
Eclipse UserFriend
Originally posted by: c2p2_ging.hotmail.com

Hi all,

is it possible to dynamically enable/disable a toolEntry in the GEF
palette ?

thanks for help

Ging.
Re: ToolEntry state [message #235910 is a reply to message #235853] Mon, 18 June 2007 16:32 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.ibm.com

entry.setEnabled(false)?

"Ging" <c2p2_ging@hotmail.com> wrote in message
news:9d5633d35c0c5c405be17ee515b348b7$1@www.eclipse.org...
> Hi all,
>
> is it possible to dynamically enable/disable a toolEntry in the GEF
> palette ?
>
> thanks for help
> Ging.
>
Re: ToolEntry state [message #235924 is a reply to message #235910] Mon, 18 June 2007 18:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: c2p2_ging.hotmail.com

Method "setEnable" doesn't exit on org.eclipse.gef.palette.ToolEntry class
Re: ToolEntry state [message #235931 is a reply to message #235924] Tue, 19 June 2007 00:06 Go to previous message
Eclipse UserFriend
Originally posted by: none.ibm.com

Well, at least we both agree on what the method would be called ;-)
I remember a bugzilla about this and someone may have proprosed a patch, but
obviously nothing that's been committed.

As a workaround, you can hide things instead.

"Ging" <c2p2_ging@hotmail.com> wrote in message
news:9d870eb540716dbe34b2bc330d59e834$1@www.eclipse.org...
> Method "setEnable" doesn't exit on org.eclipse.gef.palette.ToolEntry class
>
Previous Topic:setting Editpart Z-Order
Next Topic:How to connect multiplicities in a UML class diagram
Goto Forum:
  


Current Time: Tue Aug 09 11:16:25 GMT 2022

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

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

Back to the top