Skip to main content



      Home
Home » Eclipse Projects » GEF » Default palette tool
Default palette tool [message #87993] Wed, 23 July 2003 09:30 Go to next message
Eclipse UserFriend
Originally posted by: soroker.us.ibm.com

Is there a way to retain the old behavior of having a default palette tool
(typically the selection tool) that regains focus, a.go., when the currently
selected tool is clicked again?

Thanks, Danny.
Re: Default palette tool [message #88230 is a reply to message #87993] Thu, 24 July 2003 11:42 Go to previous messageGo to next message
Eclipse UserFriend
When you create the tool (as in the LogicPlugin class), call
tool.setUnloadWhenFinished(true). Then the default tool (which you can set)
will load when another tool has been used once.

Eric


Danny Soroker wrote:
> Is there a way to retain the old behavior of having a default palette tool
> (typically the selection tool) that regains focus, a.go., when the currently
> selected tool is clicked again?
>
> Thanks, Danny.
>
>
>
Re: Default palette tool [message #88294 is a reply to message #87993] Thu, 24 July 2003 13:56 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

The palette is currently behaving more or less like a set of radio buttons
(found across all platforms). Pressing on a radio button that is already
selected has no effect. Since these buttons can also be native drag
sources, it is important not to overload mouse press too much.

"Danny Soroker" <soroker@us.ibm.com> wrote in message
news:bfm2id$vn9$1@eclipse.org...
> Is there a way to retain the old behavior of having a default palette tool
> (typically the selection tool) that regains focus, a.go., when the
currently
> selected tool is clicked again?
>
> Thanks, Danny.
>
>
>
Previous Topic:Re: EditPart functionality/responsibility distribution
Next Topic:How do i Import a java project into Workspace by programming
Goto Forum:
  


Current Time: Mon Jul 14 01:48:23 EDT 2025

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

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

Back to the top