Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » AbstractTool feedback
AbstractTool feedback [message #200410] Sun, 23 October 2005 21:27 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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.
>
Previous Topic:java.lang.LinkageError: loader constraints violated
Next Topic:create a connection between a node and a connection
Goto Forum:
  


Current Time: Wed Nov 13 16:40:01 GMT 2024

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

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

Back to the top