|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.swt.widgets.Dialog cookxml.cookswt.ui.XmlDialog
This dialog is used for creating dialogs from XML. The root of of the XML document must be a shell.
Field Summary | |
static SelectionListener |
closeAction
This selection listener is provided for convenience of disposing a Dialog from a MenuItem, a Control (such as Button), or ToolItem inside the Dialog. |
Constructor Summary | |
XmlDialog(Shell parent)
|
|
XmlDialog(Shell parent,
int style)
|
Method Summary | |
Object |
getResult()
Overload this function to provide a return value. |
Object |
getVarObj()
Get the variable object. |
DocumentElement |
getXml()
Get the XML source. |
Object |
open()
|
void |
setVarObj(Object varObj)
Set the variable object. |
void |
setXml(DocumentElement xml)
Set the XML source. |
Methods inherited from class org.eclipse.swt.widgets.Dialog |
checkSubclass, getParent, getStyle, getText, setText |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final SelectionListener closeAction
Constructor Detail |
public XmlDialog(Shell parent)
public XmlDialog(Shell parent, int style)
Method Detail |
public Object open()
public Object getResult()
public DocumentElement getXml()
public void setXml(DocumentElement xml)
xml
- the XML source.public Object getVarObj()
public void setVarObj(Object varObj)
varObj
- the variable object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |