Class PWFileChooser
- java.lang.Object
-
- org.eclipse.nebula.widgets.opal.preferencewindow.widgets.PWWidget
-
- org.eclipse.nebula.widgets.opal.preferencewindow.widgets.PWChooser
-
- org.eclipse.nebula.widgets.opal.preferencewindow.widgets.PWFileChooser
-
public class PWFileChooser extends PWChooser
Instances of this class are used to select a file
-
-
Field Summary
-
Fields inherited from class org.eclipse.nebula.widgets.opal.preferencewindow.widgets.PWWidget
enabler, numberOfColumns
-
-
Constructor Summary
Constructors Constructor Description PWFileChooser(java.lang.String label, java.lang.String propertyKey)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
check()
Check if the property can be binded to the widgetprotected 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.PWChooser
build
-
Methods inherited from class org.eclipse.nebula.widgets.opal.preferencewindow.widgets.PWWidget
addControl, buildLabel, checkAndBuild, enableOrDisable, getAlignment, getControls, getHeight, getIndent, getLabel, getNumberOfColumns, getPropertyKey, getWidth, isGrabExcessSpace, isSingleWidget, setAlignment, setEnabler, setGrabExcessSpace, setHeight, setIndent, setWidth
-
-
-
-
Method Detail
-
setButtonAction
protected void setButtonAction(org.eclipse.swt.widgets.Text text, org.eclipse.swt.widgets.Button button)
Description copied from class:PWChooser
Code executed when the user presses the button- Specified by:
setButtonAction
in classPWChooser
- Parameters:
text
- text boxbutton
- associated button- See Also:
PWChooser.setButtonAction(org.eclipse.swt.widgets.Text, org.eclipse.swt.widgets.Button)
-
check
public void check()
Description copied from class:PWWidget
Check if the property can be binded to the widget- Specified by:
check
in classPWWidget
- See Also:
PWWidget.check()
-
-