AbstractTool feedback [message #200410] |
Sun, 23 October 2005 21:27 |
Eclipse User |
|
|
|
Originally posted by: bberry.harmonia.com
I would like to get events from some of the inhertitors of AbstractTool,
such as the creation tool. Basically, I would like to get the constraints
of relevant commands so that I can display them in the status bar while a
resize/creation/drag is occuring and clear them when they are not needed.
I had intended to hook a listener to the tool to detect when it was in
various states and simply get the command information as needed, but there
does not seem to be support for this diretly on AbstractTool.
I can think of a couple ways to fake this, but I would feel much safer if
I could directly respond to the creation/constraint-setting actions of the
tools. Is there currently a different mechanism to do this sort of thing?
Thanks.
|
|
|
Re: AbstractTool feedback [message #200419 is a reply to message #200410] |
Mon, 24 October 2005 02:24 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
This is a planned enhancement to GEF for 3.2.
"Berry" <bberry@harmonia.com> wrote in message
news:5d92bc10854b2b1e459a66f8891f5623$1@www.eclipse.org...
>I would like to get events from some of the inhertitors of AbstractTool,
>such as the creation tool. Basically, I would like to get the constraints
>of relevant commands so that I can display them in the status bar while a
>resize/creation/drag is occuring and clear them when they are not needed.
>
> I had intended to hook a listener to the tool to detect when it was in
> various states and simply get the command information as needed, but there
> does not seem to be support for this diretly on AbstractTool.
>
> I can think of a couple ways to fake this, but I would feel much safer if
> I could directly respond to the creation/constraint-setting actions of the
> tools. Is there currently a different mechanism to do this sort of thing?
> Thanks.
>
|
|
|
Re: AbstractTool feedback [message #200426 is a reply to message #200410] |
Mon, 24 October 2005 02:26 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
Please feel free to discuss possible solutions or contribute:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=72577
"Berry" <bberry@harmonia.com> wrote in message
news:5d92bc10854b2b1e459a66f8891f5623$1@www.eclipse.org...
>I would like to get events from some of the inhertitors of AbstractTool,
>such as the creation tool. Basically, I would like to get the constraints
>of relevant commands so that I can display them in the status bar while a
>resize/creation/drag is occuring and clear them when they are not needed.
>
> I had intended to hook a listener to the tool to detect when it was in
> various states and simply get the command information as needed, but there
> does not seem to be support for this diretly on AbstractTool.
>
> I can think of a couple ways to fake this, but I would feel much safer if
> I could directly respond to the creation/constraint-setting actions of the
> tools. Is there currently a different mechanism to do this sort of thing?
> Thanks.
>
|
|
|
Powered by
FUDForum. Page generated in 0.04757 seconds