Palette reset on nodes not connections [message #176184] |
Fri, 08 April 2005 14:50 |
Eclipse User |
|
|
|
Originally posted by: james.willans.xactium.com
Once a node has been added to a GEF diagram, the palette automatically
resets itself to be the general selection tool. This is not the case for
connection tools. How would I go about changing the moding so that the
node tools behave the same way as connection tools (remain in the same
mode until the user chooses something different)?
Thanks.
James
|
|
|
|
Re: Palette reset on nodes not connections [message #176334 is a reply to message #176221] |
Sat, 09 April 2005 11:09 |
Eclipse User |
|
|
|
Originally posted by: james.willans.xactium.com
Thanks Pratik - that worked.
Pratik Shah wrote:
> If you're using the latest build or HEAD:
> toolEntry.setToolProperty(AbstractTool.PROPERTY_UNLOAD_WHEN_ FINISHED,
> Boolean.FALSE);
> Otherwise, override createTool() and invoke
> tool.setUnloadWhenFinished(false)
> "James Willans" <james.willans@xactium.com> wrote in message
> news:001126e0dd67ee7d3f37310db43927c1$1@www.eclipse.org...
>> Once a node has been added to a GEF diagram, the palette automatically
>> resets itself to be the general selection tool. This is not the case for
>> connection tools. How would I go about changing the moding so that the
>> node tools behave the same way as connection tools (remain in the same
>> mode until the user chooses something different)?
>>
>> Thanks.
>>
>> James
>>
|
|
|
Powered by
FUDForum. Page generated in 0.02922 seconds