|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.swt.widgets.Dialog
de.cau.cs.kieler.sim.kiem.config.ui.AbstractPropertiesDialog<T>
T
- the type of object returned by the open() methodpublic abstract class AbstractPropertiesDialog<T>
An abstract dialog that creates a number of text fields with custom labels and Ok/Cancel option.
Constructor Summary | |
---|---|
AbstractPropertiesDialog(Shell parent,
String[] newLabels,
String[] toolTipsParam,
String newTitle)
Creates a new AbstractPropertiesDialog. |
|
AbstractPropertiesDialog(Shell parent,
String newLabel,
String tooltipParam,
String newTitle)
Creates a new AbstractPropertiesDialog. |
Method Summary | |
---|---|
abstract T |
open()
Open the dialog and return a specific object. |
String[] |
openDialog()
Opens the dialog and returns the input. |
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 |
Constructor Detail |
---|
public AbstractPropertiesDialog(Shell parent, String newLabel, String tooltipParam, String newTitle)
parent
- the parent componentnewLabel
- a single labeltooltipParam
- a tooltipnewTitle
- the title of the dialogpublic AbstractPropertiesDialog(Shell parent, String[] newLabels, String[] toolTipsParam, String newTitle)
parent
- the parent componentnewLabels
- the list of labels for the input fieldstoolTipsParam
- the list of tooltip for the input fields has to be same length
as labels or nullnewTitle
- the title for the dialogMethod Detail |
---|
public String[] openDialog()
public abstract T open()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |