Skip to main content



      Home
Home » Eclipse Projects » GEF » DialogBox on object creation
DialogBox on object creation [message #14641] Mon, 22 July 2002 09:56 Go to next message
Eclipse UserFriend
Originally posted by: jol.linuxgames.com

Hello,

I've a GraphicalEditorWithPalette, in my palette i've define some entry
(PaletteToolEntry).

I've define a class Test which extends CreationTool to modify the
performCreation which is called when the objet is created on the surface.

My problem is :
I want to be able to display a dialog box when the object is created ( when
performCreation is called). How can i get the workbench shell to display a
modal dialog box ? Or a better Suggestion

Thanks a lot,

Jol
Re: DialogBox on object creation [message #14849 is a reply to message #14641] Mon, 22 July 2002 12:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.ibm.com

You can just create the dialog inside performCreation();

The dialog should probably me modal to:
this[....the tool].getCurrentViewer().getControl().getShell();

"vennin joel" <jol@linuxgames.com> wrote in message
news:ahh0vp$f9v$1@rogue.oti.com...
> Hello,
>
> I've a GraphicalEditorWithPalette, in my palette i've define some entry
> (PaletteToolEntry).
>
> I've define a class Test which extends CreationTool to modify the
> performCreation which is called when the objet is created on the surface.
>
> My problem is :
> I want to be able to display a dialog box when the object is created (
when
> performCreation is called). How can i get the workbench shell to display a
> modal dialog box ? Or a better Suggestion
>
> Thanks a lot,
>
> Jol
>
>
Re: DialogBox on object creation [message #14965 is a reply to message #14849] Tue, 23 July 2002 09:27 Go to previous message
Eclipse UserFriend
Originally posted by: jol.linuxgames.com

Thanks again ! ;)


"Randy Hudson" <none@ibm.com> a
Previous Topic:[newbie] Help! How do I get this going?
Next Topic:Status Line
Goto Forum:
  


Current Time: Mon Sep 15 05:49:10 EDT 2025

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

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

Back to the top