public JMenuItem addRadioItem(final String category, final String key,
final AFreeplaneAction action, final boolean isSelected) {
assert key != null;
final JRadioButtonMenuItem item;
if (action.getClass().getAnnotation(SelectableAction.class) != null) {
item = new JAutoRadioButtonMenuItem(decorateAction(category, action));
}
else {
item = new JRadioButtonMenuItem(decorateAction(category, action));
}
addMenuItem(category, item, key, MenuBuilder.AS_CHILD);