sticky tool selected on the palette [message #186410] |
Tue, 05 July 2005 14:32 |
Eclipse User |
|
|
|
Originally posted by: user1981.gmail.com
Hi to all. Here's my simple question. I've noticed that my creation tools
on my editor's palette don't remain selected. I mean, when i use the
marquee or the selection tool they stay selected no mather the times a use
them. The problem is that my "other" tools get unselected when i use them.
I took a look at the logic example and it seems the same, only the
selection tools seem to stick selected.
Any idea why?
thanks in advance
|
|
|
|
|
Re: sticky tool selected on the palette [message #198542 is a reply to message #186839] |
Wed, 12 October 2005 13:25 |
Eclipse User |
|
|
|
Originally posted by: andi.nospam.netbruns.de
Hi at all,
I see how tools can be made sticky.
I need other tools to stay draggeable at the same time.
example:
tool 1 is selected and placed several times in the editor.
after that a drag'n'drop action is performed on tool 2 which unfortunaly
does not execute since tool 1 stays selected (which is ok so placing tool 1
can be continued after the d'n'd).
While I like the behaviour of tool 1 to stay selected, the impossibility to
perform drag'n'drop actions with other tools at the same time breaks my app :-(
any idea?
thanks andreas
Pratik Shah schrieb:
> paletteToolEntry.setToolProperty(AbstractTool.PROPERTY_UNLOA D_WHEN_FINISHED,
> Boolean.FALSE);
>
> "josé" <user1981@gmail.com> wrote in message
> news:72b826dc3be3f9d5a60692d84e4c17f2$1@www.eclipse.org...
>
>>Hi to all. Here's my simple question. I've noticed that my creation tools
>>on my editor's palette don't remain selected. I mean, when i use the
>>marquee or the selection tool they stay selected no mather the times a use
>>them. The problem is that my "other" tools get unselected when i use them.
>>I took a look at the logic example and it seems the same, only the
>>selection tools seem to stick selected.
>>
>>Any idea why?
>>
>>thanks in advance
>>
>
>
>
|
|
|
Re: sticky tool selected on the palette [message #198837 is a reply to message #198542] |
Thu, 13 October 2005 00:17 |
Eclipse User |
|
|
|
Originally posted by: none.unknown.com
setUnloadWhenFinished(false) only prevents the tool from getting deactivated
after it has been used once. The other tools should still be working.
Dragging another tool should work fine, and the default tool should get
activated after that. You might be doing something wrong if that is not
what you're experiencing. Start another thread and provide more details.
"Andreas Bruns" <andi@nospam.netbruns.de> wrote in message
news:dij2sg$n9j$1@news.eclipse.org...
> Hi at all,
>
> I see how tools can be made sticky.
> I need other tools to stay draggeable at the same time.
>
> example:
>
> tool 1 is selected and placed several times in the editor.
> after that a drag'n'drop action is performed on tool 2 which unfortunaly
> does not execute since tool 1 stays selected (which is ok so placing tool
1
> can be continued after the d'n'd).
>
> While I like the behaviour of tool 1 to stay selected, the impossibility
to
> perform drag'n'drop actions with other tools at the same time breaks my
app :-(
>
>
> any idea?
>
> thanks andreas
>
> Pratik Shah schrieb:
> >
paletteToolEntry.setToolProperty(AbstractTool.PROPERTY_UNLOA D_WHEN_FINISHED,
> > Boolean.FALSE);
> >
> > "jos
|
|
|
Re: sticky tool selected on the palette [message #198884 is a reply to message #198837] |
Thu, 13 October 2005 09:35 |
Eclipse User |
|
|
|
Originally posted by: andi.nospam.netbruns.de
Solved.
Class did not extend CombinedTemplateCreationEntry and so was not
noticed by the d'n'd-listener.
Pratik Shah schrieb:
> setUnloadWhenFinished(false) only prevents the tool from getting deactivated
> after it has been used once. The other tools should still be working.
> Dragging another tool should work fine, and the default tool should get
> activated after that. You might be doing something wrong if that is not
> what you're experiencing. Start another thread and provide more details.
>
> "Andreas Bruns" <andi@nospam.netbruns.de> wrote in message
> news:dij2sg$n9j$1@news.eclipse.org...
>
>>Hi at all,
>>
>>I see how tools can be made sticky.
>>I need other tools to stay draggeable at the same time.
>>
>>example:
>>
>>tool 1 is selected and placed several times in the editor.
>>after that a drag'n'drop action is performed on tool 2 which unfortunaly
>>does not execute since tool 1 stays selected (which is ok so placing tool
>
> 1
>
>>can be continued after the d'n'd).
>>
>>While I like the behaviour of tool 1 to stay selected, the impossibility
>
> to
>
>>perform drag'n'drop actions with other tools at the same time breaks my
>
> app :-(
>
>>
>>any idea?
>>
>>thanks andreas
>>
>>Pratik Shah schrieb:
>>
> paletteToolEntry.setToolProperty(AbstractTool.PROPERTY_UNLOA D_WHEN_FINISHED,
>
>>>Boolean.FALSE);
>>>
>>>"josé" <user1981@gmail.com> wrote in message
>>>news:72b826dc3be3f9d5a60692d84e4c17f2$1@www.eclipse.org...
>>>
>>>
>>>>Hi to all. Here's my simple question. I've noticed that my creation
>
> tools
>
>>>>on my editor's palette don't remain selected. I mean, when i use the
>>>>marquee or the selection tool they stay selected no mather the times a
>
> use
>
>>>>them. The problem is that my "other" tools get unselected when i use
>
> them.
>
>>>>I took a look at the logic example and it seems the same, only the
>>>>selection tools seem to stick selected.
>>>>
>>>>Any idea why?
>>>>
>>>>thanks in advance
>>>>
>>>
>>>
>>>
>
>
|
|
|
Re: sticky tool selected on the palette [message #198892 is a reply to message #198837] |
Thu, 13 October 2005 10:09 |
Eclipse User |
|
|
|
Originally posted by: james.willans.xactium.com
Pratik,
On a related issue, I've noticed that with some Eclipse based tools you
can hold down CTRL to key to retain the current tool mode. Is this
something that can be enabled, or must it be implemented by adding
appropriate key binding etc?
James
Pratik Shah wrote:
> setUnloadWhenFinished(false) only prevents the tool from getting deactivated
> after it has been used once. The other tools should still be working.
> Dragging another tool should work fine, and the default tool should get
> activated after that. You might be doing something wrong if that is not
> what you're experiencing. Start another thread and provide more details.
> "Andreas Bruns" <andi@nospam.netbruns.de> wrote in message
> news:dij2sg$n9j$1@news.eclipse.org...
>> Hi at all,
>>
>> I see how tools can be made sticky.
>> I need other tools to stay draggeable at the same time.
>>
>> example:
>>
>> tool 1 is selected and placed several times in the editor.
>> after that a drag'n'drop action is performed on tool 2 which unfortunaly
>> does not execute since tool 1 stays selected (which is ok so placing tool
> 1
>> can be continued after the d'n'd).
>>
>> While I like the behaviour of tool 1 to stay selected, the impossibility
> to
>> perform drag'n'drop actions with other tools at the same time breaks my
> app :-(
>>
>>
>> any idea?
>>
>> thanks andreas
>>
>> Pratik Shah schrieb:
>> >
> paletteToolEntry.setToolProperty(AbstractTool.PROPERTY_UNLOA D_WHEN_FINISHED,
>> > Boolean.FALSE);
>> >
>> > "josé" <user1981@gmail.com> wrote in message
>> > news:72b826dc3be3f9d5a60692d84e4c17f2$1@www.eclipse.org...
>> >
>> >>Hi to all. Here's my simple question. I've noticed that my creation
> tools
>> >>on my editor's palette don't remain selected. I mean, when i use the
>> >>marquee or the selection tool they stay selected no mather the times a
> use
>> >>them. The problem is that my "other" tools get unselected when i use
> them.
>> >>I took a look at the logic example and it seems the same, only the
>> >>selection tools seem to stick selected.
>> >>
>> >>Any idea why?
>> >>
>> >>thanks in advance
>> >>
>> >
>> >
>> >
|
|
|
Re: sticky tool selected on the palette [message #199029 is a reply to message #198892] |
Thu, 13 October 2005 17:14 |
Eclipse User |
|
|
|
Originally posted by: none.unknown.com
Open a feature request and mention where you see similar behaviour
(Eclipse-based tools or other software, if any). You should be able to
implement this on your own as well without too much trouble.
For 3.2, we have a feature request for palette keybindings, where pressing a
key combination would select a tool. You might find that to be a
satisfactory alternative.
"James Willans" <james.willans@xactium.com> wrote in message
news:15826ff6c6f8ea1efb12f394d6681cc0$1@www.eclipse.org...
> Pratik,
>
> On a related issue, I've noticed that with some Eclipse based tools you
> can hold down CTRL to key to retain the current tool mode. Is this
> something that can be enabled, or must it be implemented by adding
> appropriate key binding etc?
>
> James
>
> Pratik Shah wrote:
>
> > setUnloadWhenFinished(false) only prevents the tool from getting
deactivated
> > after it has been used once. The other tools should still be working.
> > Dragging another tool should work fine, and the default tool should get
> > activated after that. You might be doing something wrong if that is not
> > what you're experiencing. Start another thread and provide more
details.
>
> > "Andreas Bruns" <andi@nospam.netbruns.de> wrote in message
> > news:dij2sg$n9j$1@news.eclipse.org...
> >> Hi at all,
> >>
> >> I see how tools can be made sticky.
> >> I need other tools to stay draggeable at the same time.
> >>
> >> example:
> >>
> >> tool 1 is selected and placed several times in the editor.
> >> after that a drag'n'drop action is performed on tool 2 which
unfortunaly
> >> does not execute since tool 1 stays selected (which is ok so placing
tool
> > 1
> >> can be continued after the d'n'd).
> >>
> >> While I like the behaviour of tool 1 to stay selected, the
impossibility
> > to
> >> perform drag'n'drop actions with other tools at the same time breaks my
> > app :-(
> >>
> >>
> >> any idea?
> >>
> >> thanks andreas
> >>
> >> Pratik Shah schrieb:
> >> >
> >
paletteToolEntry.setToolProperty(AbstractTool.PROPERTY_UNLOA D_WHEN_FINISHED,
> >> > Boolean.FALSE);
> >> >
> >> > "jos
|
|
|
|
Powered by
FUDForum. Page generated in 0.04102 seconds