Class PWChooser
- java.lang.Object
-
- org.eclipse.nebula.widgets.opal.preferencewindow.widgets.PWWidget
-
- org.eclipse.nebula.widgets.opal.preferencewindow.widgets.PWChooser
-
- Direct Known Subclasses:
PWDirectoryChooser
,PWFileChooser
,PWFontChooser
public abstract class PWChooser extends PWWidget
Abstract class for chooser widgets
-
-
Field Summary
-
Fields inherited from class org.eclipse.nebula.widgets.opal.preferencewindow.widgets.PWWidget
enabler, numberOfColumns
-
-
Constructor Summary
Constructors Constructor Description PWChooser(java.lang.String label, java.lang.String propertyKey)
Constructor
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description org.eclipse.swt.widgets.Control
build(org.eclipse.swt.widgets.Composite parent)
Build the widgetprotected abstract void
setButtonAction(org.eclipse.swt.widgets.Text text, org.eclipse.swt.widgets.Button button)
Code executed when the user presses the button-
Methods inherited from class org.eclipse.nebula.widgets.opal.preferencewindow.widgets.PWWidget
addControl, buildLabel, check, checkAndBuild, enableOrDisable, getAlignment, getControls, getHeight, getIndent, getLabel, getNumberOfColumns, getPropertyKey, getWidth, isGrabExcessSpace, isSingleWidget, setAlignment, setEnabler, setGrabExcessSpace, setHeight, setIndent, setWidth
-
-
-
-
Method Detail
-
build
public org.eclipse.swt.widgets.Control build(org.eclipse.swt.widgets.Composite parent)
Description copied from class:PWWidget
Build the widget- Specified by:
build
in classPWWidget
- Parameters:
parent
- parent composite- Returns:
- the created control
- See Also:
PWWidget.build(org.eclipse.swt.widgets.Composite)
-
setButtonAction
protected abstract void setButtonAction(org.eclipse.swt.widgets.Text text, org.eclipse.swt.widgets.Button button)
Code executed when the user presses the button- Parameters:
text
- text boxbutton
- associated button
-
-