Class PWButton

java.lang.Object
org.eclipse.nebula.widgets.opal.preferencewindow.widgets.PWWidget
org.eclipse.nebula.widgets.opal.preferencewindow.widgets.PWButton

public class PWButton
extends PWWidget
Instances of this class are buttons
  • Constructor Details

    • PWButton

      public PWButton​(java.lang.String label, org.eclipse.swt.events.SelectionListener listener)
      Constructor
      Parameters:
      label - associated label
      listener - selection listener
  • 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
    • check

      public void check()
      Description copied from class: PWWidget
      Check if the property can be binded to the widget
      Specified by:
      check in class PWWidget