@Override protected void initExecutables() { super.initExecutables(); getActionMap() .put( MATCH_RULE_ACTION_COMMAND, createBoundAction(MATCH_RULE_ACTION_COMMAND, "updateMatchRule")); }
/** 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)); }
/** create contained components. */ @Override protected void initComponents() { super.initComponents(); searchCriteria = new JComboBox(); }