Skip to main content



      Home
Home » Eclipse Projects » GEF » How to get to the tool that created the request
How to get to the tool that created the request [message #166870] Thu, 03 February 2005 12:08 Go to next message
Eclipse UserFriend
Originally posted by: koosdegoede.chello.nl

During move or resize operationds handled by a specialized
ResizableEditPolicy i want to do some final checking before the created
command is executed and in some cases popup a messsage dialog to have the
execution of the command confirmed.

Can someone tell me how I can obtain the originating tool which created the
request.
Re: How to get to the tool that created the request [message #166881 is a reply to message #166870] Thu, 03 February 2005 13:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

How does the tool help you popup a dialog? You can't depend on a tool. For
example, the AlignmentAction creates resize commands but there is no tool.

The EditPart can obtain the Shell necessary for popping up a dialog.

"Koos de Goede" <koosdegoede@chello.nl> escreveu na mensagem
news:cttm15$lvg$1@www.eclipse.org...
> During move or resize operationds handled by a specialized
> ResizableEditPolicy i want to do some final checking before the created
> command is executed and in some cases popup a messsage dialog to have the
> execution of the command confirmed.
>
> Can someone tell me how I can obtain the originating tool which created
> the
> request.
>
>
Re: How to get to the tool that created the request [message #166889 is a reply to message #166881] Thu, 03 February 2005 14:13 Go to previous message
Eclipse UserFriend
Originally posted by: koosdegoede.chello.nl

Thanks for the quick response.

I have to implement a functional requirement where there is a semantic
meaning when this object overlaps other objects. Resizing this object
changes these semantics. This is only known when resizing is ready. I intent
to popup a dialog for confirmation before the command is executed.
Preferably I derive the tools and overwrite the executeCommand method.

Hopefully this explanes the why,

Regards Koos de Goede

"Randy Hudson" <none@us.ibm.com> wrote in message
news:cttru6$909$1@www.eclipse.org...
> How does the tool help you popup a dialog? You can't depend on a tool.
For
> example, the AlignmentAction creates resize commands but there is no tool.
>
> The EditPart can obtain the Shell necessary for popping up a dialog.
>
> "Koos de Goede" <koosdegoede@chello.nl> escreveu na mensagem
> news:cttm15$lvg$1@www.eclipse.org...
> > During move or resize operationds handled by a specialized
> > ResizableEditPolicy i want to do some final checking before the created
> > command is executed and in some cases popup a messsage dialog to have
the
> > execution of the command confirmed.
> >
> > Can someone tell me how I can obtain the originating tool which created
> > the
> > request.
> >
> >
>
>
Previous Topic:PolylineConnecton Bendpoints
Next Topic:GEF + EMF
Goto Forum:
  


Current Time: Mon Jun 23 09:44:11 EDT 2025

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

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

Back to the top