Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Sticky ToolEntry
Sticky ToolEntry [message #187457] Tue, 12 July 2005 17:20 Go to next message
Eclipse UserFriend
Originally posted by: J_ML.netcabo.pt

hi guys. I've posted something a few days ago and got two answers. My
question was about a palette entry (but by mistake i called it Tool). How
can i make it to stay selected after i've used it? cause they get
unselected when i do.

The answers got me into knowledge that i can actually set a property on
Tools by the usage of a method they provide. The problem is that i don't
get to manage the tools code, i simply insert ToolEntry(s) on my palette,
this way i have no direct control on the Tool and the method.

I also got this answer that doesn't seem to get me there:

myToolEntry.setToolProperty(AbstractTool.PROPERTY_UNLOAD_WHE N_FINISHED,
Boolean.FALSE);

Any ideas? thanks in advance
Re: Sticky ToolEntry [message #187464 is a reply to message #187457] Tue, 12 July 2005 17:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: J_ML.netabo.pt

By the way, is there a chance i can get a keylistener to make a keyboard
shortcut to my ToolEntry?
Re: Sticky ToolEntry [message #187509 is a reply to message #187457] Tue, 12 July 2005 21:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

> myToolEntry.setToolProperty(AbstractTool.PROPERTY_UNLOAD_WHE N_FINISHED,
> Boolean.FALSE);

This is a 3.1 feature. Are you using GEF 3.1?
Re: Sticky ToolEntry [message #187573 is a reply to message #187509] Wed, 13 July 2005 14:37 Go to previous message
Eclipse UserFriend
Originally posted by: bla.bla.pt

Yes i am using Eclipse 3.1 but GEF 3.0.1... I'll get to it, thanks
Previous Topic:How to use NonResizableEditPolicy?
Next Topic:Flow of execution - from a tool to a view update
Goto Forum:
  


Current Time: Thu Dec 12 20:26:54 GMT 2024

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

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

Back to the top