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
  • Constructor Details

    • PWChooser

      public PWChooser​(java.lang.String label, java.lang.String propertyKey)
      Constructor
      Parameters:
      label - associated label
      propertyKey - associated key
  • Method Details

    • 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 class PWWidget
      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 box
      button - associated button