/** * Updates the actions which were added to the action bars, delegating to the subgroups as * necessary. */ public void updateActionBars() { IStructuredSelection selection = (IStructuredSelection) getContext().getSelection(); propertyDialogAction.setEnabled(selection.size() == 1); }