Adding dialog boxes [message #89354] |
Wed, 30 July 2003 15:39 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03401 seconds