addToggleButtons(parent);
addScriptsPopup(parent);
}
private void addToggleButtons(ARibbonContributor parent) {
toggleGroup = new CommandToggleButtonGroup();
toggleOnSingleNode = createAndAddToggleButton(parent, toggleGroup, ON_SINGLE_NODE);
toggleOnSingleNode.getActionModel().setSelected(true);
toggleOnSelectedNodes = createAndAddToggleButton(parent, toggleGroup, ON_SELECTED_NODE);
toggleOnSelectedNodesRecursive = createAndAddToggleButton(parent, toggleGroup, ON_SELECTED_NODE_RECURSIVELY);
}