Class EnabledIfEquals


  • public class EnabledIfEquals
    extends Enabler
    This enabler is used to enable a widget if a property is equal to a given value
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.Object value  
      • Fields inherited from class org.eclipse.nebula.widgets.opal.preferencewindow.enabler.Enabler

        prop
    • Constructor Summary

      Constructors 
      Constructor Description
      EnabledIfEquals​(java.lang.String prop, java.lang.Object value)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isEnabled()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • value

        private final java.lang.Object value
    • Constructor Detail

      • EnabledIfEquals

        public EnabledIfEquals​(java.lang.String prop,
                               java.lang.Object value)
        Constructor
        Parameters:
        prop - property to evaluate
        value - condition value