@Override
public void setSelected(ButtonModel m, boolean b) {
super.setSelected(m, b);
if (b && (m != selectedModel)) {
if (isSendingInputChangeEvents()) {
changeManager.sendChangeEvent(new InputChangeEvent(this, "")); //$NON-NLS-1$
}
if (isSendingUndoEvents()) {
changeManager.sendUndoableEdit(this, createUndoableEdit(selectedModel, m));
}
selectedModel = getSelection();