select the item in the combo that matches the current preferences setting . note : not handling the case where two platform line separators are defined with the same value . assumption is that they are unique and the key will be modified to represent that . e.g. a key might be mac os 10/linux if the same value is required for two platforms . concode_field_sep Button otherButton concode_elem_sep Button defaultButton concode_elem_sep Combo choiceCombo concode_elem_sep IProject project concode_elem_sep Group group concode_field_sep void updateState concode_elem_sep void setEnabled concode_elem_sep Preferences getPreferences concode_elem_sep void doLoad concode_elem_sep String getKeyForValue concode_elem_sep String getStoredValue concode_elem_sep String[] getChoices concode_elem_sep void loadDefault concode_elem_sep void store concode_elem_sep void createControl concode_elem_sep String getDefaultValue
void function ( String arg0 ) { String [ ] loc0 = choiceCombo . getItems ( ) ; for ( int loc1 = 0 ; loc1 < loc0 . length ; loc1 ++ ) { String loc2 = loc0 [ loc1 ] ; if ( loc2 . equals ( arg0 ) ) { choiceCombo . select ( loc1 ) ; break ; } } }