|
|
|
|
|
|
|
|
|
Re: DND with InputDialog [message #949611 is a reply to message #949265] |
Fri, 19 October 2012 05:50 |
Ed Merks Messages: 33216 Registered: July 2009 |
Senior Member |
|
|
John,
You need to respond directly to the drop event to open a dialog and
create a command to execute only after the dialog is completed (with
okay). You could do that by specializing
org.eclipse.emf.edit.ui.dnd.EditingDomainViewerDropAdapter.drop to
detect when you want a dialog and bring up the dialog rather than
execute the command.
On 18/10/2012 11:19 PM, John M. wrote:
> Thanks for the hint. Yeah I know that method. :)
> But where to use it?
>
> I create my DND Command and it is executed. After it the element is
> added to my resource.
> How can I connect it with showing my dialog?
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03887 seconds