Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How to open a Dialog over the Toolbar
How to open a Dialog over the Toolbar [message #234656] Sun, 27 May 2007 14:25 Go to next message
Eclipse UserFriend
Originally posted by: Lehmann.j.gmx.net

Hello,

i got another problem with my GEF Application.
I want to open a Dialog Window when the user click on a Toolbar Button.
Can someone tell me how to do that ?

kind regards
Re: How to open a Dialog over the Toolbar [message #234662 is a reply to message #234656] Mon, 28 May 2007 05:52 Go to previous message
Alex Boyko is currently offline Alex BoykoFriend
Messages: 200
Registered: July 2009
Senior Member
Hi Jens,

The buttons on the toolbar are probably actions that your editor
contributes to the toolbar. In your action #run() method (or the one that
executes the action) you can create your dialog or message and depending
on the result from the dialog/message run the action accordingly. You
could look at GMF's logic example from M7 for "Modify Ports Color" on the
context menu for LEDs and circuits as examples.

Cheers,
Alex
Previous Topic:GEF ComboBox inside Properties Window
Next Topic:Content outline trigger?
Goto Forum:
  


Current Time: Sat Aug 20 02:14:53 GMT 2022

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

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

Back to the top