Package com.iizigo.vs
Class PatternHelper
java.lang.Object
com.iizigo.vs.PatternHelper
The pattern combo helper.
- Author:
- Christopher Mindus
Constructor Summary
Method Summary
Modifier and TypeMethodDescriptionGets the resolved pattern to use.Gets the current value type.void
Populates 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
PatternHelper
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
Sets the pattern that has been modified in the combo.- Parameters:
valueType
- The value type for the pattern.
getResolvedPattern
Gets the resolved pattern to use.- Returns:
- The pattern string, or null for none.
getValueType
Gets the current value type.