Package com.iizigo.vs

Class PatternHelper

java.lang.Object
com.iizigo.vs.PatternHelper

public class PatternHelper extends Object
The pattern combo helper.
Author:
Christopher Mindus
  • Constructor Details

    • PatternHelper

      public PatternHelper(IzCCombo combo)
      Constructor.
      Parameters:
      combo - The combo.
  • Method Details

    • populateCombo

      public void populateCombo()
      Populates the combobox when it is focused. There is no way in SWT to do this when drop-down is about to be displayed!
    • update

      public void update(PatternProp pp, Value.Type valueType, boolean updateCombo)
      Sets the pattern that has been modified in the combo.
      Parameters:
      valueType - The value type for the pattern.
    • getResolvedPattern

      public String getResolvedPattern()
      Gets the resolved pattern to use.
      Returns:
      The pattern string, or null for none.
    • getValueType

      public Value.Type getValueType()
      Gets the current value type.