Package com.iizigo.vs
Class PatternHelper
java.lang.Object
com.iizigo.vs.PatternHelper
The pattern combo helper.
- Author:
- Christopher Mindus
- Constructor SummaryConstructors
- Method SummaryModifier and TypeMethodDescriptionGets the resolved pattern to use.Gets the current value type.- voidPopulates the combobox when it is focused.- void- update- (PatternProp pp, Value.Type valueType, boolean updateCombo) Sets the pattern that has been modified in the combo.
- Constructor Details- PatternHelperConstructor.- Parameters:
- combo- The combo.
 
 
- Method Details- populateCombopublic 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!
- updateSets the pattern that has been modified in the combo.- Parameters:
- valueType- The value type for the pattern.
 
- getResolvedPatternGets the resolved pattern to use.- Returns:
- The pattern string, or null for none.
 
- getValueTypeGets the current value type.