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:Trouble controling width of TextFlow figure
Next Topic:moving an extended draw2d-figure with mouse
Goto Forum:
  


Current Time: Thu Apr 18 05:47:28 GMT 2024

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

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

Back to the top