Skip to main content



      Home
Home » Eclipse Projects » GEF » Adding dialog boxes
Adding dialog boxes [message #89354] Wed, 30 July 2003 15:39
Eclipse UserFriend
Originally posted by: rahul.dhar.intel.com

I need to add a dialog box that allows the user to configure a component
ina block diagram. Eventually, I'd like to be able to have this
configuration box be displayed based on a selection from a
context-sensitive menu. For the moment, I'll be satisfied with the box
coming up whenever the component is first placed in the drawing area. I
tried create an SWT DialogPage. However, it seems that I need to pass in
the parent of the dialog, which would be my GEF application.
Specifically, I'm using an SWT SashForm, and its constructor takes an
argument "parent - a widget which will be the parent of the new instance".
(org.eclipse.swt.custom.SashForm)

What is the appropriate parent (A Composite object) in a GEF application?
I don't have a View (or related object) to pass in. What would a better
way of adding configuration dialogs be? I haven't been able to find
native GEF classes for this.

Thanks,
-Rahul
Previous Topic:Adding dialog boxes
Next Topic:sorry about the double post
Goto Forum:
  


Current Time: Sun Jul 13 08:57:05 EDT 2025

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

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

Back to the top