/** * bind the components to the patternModel/actions. */ @Override protected void bind() { super.bind(); List matchRules = getPatternModel().getMatchRules(); // PENDING: map rules to localized strings ComboBoxModel model = new DefaultComboBoxModel(matchRules.toArray()); model.setSelectedItem(getPatternModel().getMatchRule()); searchCriteria.setModel(model); searchCriteria.setAction(getAction(MATCH_RULE_ACTION_COMMAND)); }
/** * bind the components to the patternModel/actions. */ @Override protected void bind() { super.bind(); List<?> matchRules = getPatternModel().getMatchRules(); // PENDING: map rules to localized strings ComboBoxModel model = new DefaultComboBoxModel(matchRules.toArray()); model.setSelectedItem(getPatternModel().getMatchRule()); searchCriteria.setModel(model); searchCriteria.setAction(getAction(MATCH_RULE_ACTION_COMMAND)); searchCriteria.setRenderer(new DefaultListRenderer(createStringValue(getLocale()))); }
/** * bind the components to the patternModel/actions. */ @Override protected void bind() { super.bind(); List<?> matchRules = getPatternModel().getMatchRules(); // PENDING: map rules to localized strings ComboBoxModel model = new DefaultComboBoxModel(matchRules.toArray()); model.setSelectedItem(getPatternModel().getMatchRule()); searchCriteria.setModel(model); searchCriteria.setAction(getAction(MATCH_RULE_ACTION_COMMAND)); searchCriteria.setRenderer(new DefaultListRenderer(createStringValue(getLocale()))); }
/** * bind the components to the patternModel/actions. */ @Override protected void bind() { super.bind(); List<?> matchRules = getPatternModel().getMatchRules(); // PENDING: map rules to localized strings ComboBoxModel model = new DefaultComboBoxModel(matchRules.toArray()); model.setSelectedItem(getPatternModel().getMatchRule()); searchCriteria.setModel(model); searchCriteria.setAction(getAction(MATCH_RULE_ACTION_COMMAND)); searchCriteria.setRenderer(new DefaultListRenderer(createStringValue(getLocale()))); }
/** * bind the components to the patternModel/actions. */ @Override protected void bind() { super.bind(); List<?> matchRules = getPatternModel().getMatchRules(); // PENDING: map rules to localized strings ComboBoxModel model = new DefaultComboBoxModel(matchRules.toArray()); model.setSelectedItem(getPatternModel().getMatchRule()); searchCriteria.setModel(model); searchCriteria.setAction(getAction(MATCH_RULE_ACTION_COMMAND)); searchCriteria.setRenderer(new DefaultListRenderer(createStringValue(getLocale()))); }