protected JPanel buildButtonPanel() { JPanel pnl = new JPanel(new FlowLayout(FlowLayout.CENTER)); // -- apply button ApplyAction applyAction = buildApplyAction(); pnlTagConflictResolver.getModel().addPropertyChangeListener(applyAction); pnlRelationMemberConflictResolver.getModel().addPropertyChangeListener(applyAction); btnApply = new SideButton(applyAction); btnApply.setFocusable(true); pnl.add(btnApply); // -- cancel button CancelAction cancelAction = new CancelAction(); pnl.add(new SideButton(cancelAction)); // -- help button helpAction = new ContextSensitiveHelpAction(); pnl.add(new SideButton(helpAction)); return pnl; }
/** * Replies the relation membership conflict resolver model. * * @return The relation membership conflict resolver model. */ public RelationMemberConflictResolverModel getRelationMemberConflictResolverModel() { return pnlRelationMemberConflictResolver.getModel(); }