/* (non-Javadoc)
   * @see org.eclipse.ui.part.IPage#setActionBars(org.eclipse.ui.IActionBars)
   */
  public void setActionBars(IActionBars actionBars) {
    super.setActionBars(actionBars);
    IToolBarManager toolBarManager = actionBars.getToolBarManager();

    LexicalSortingAction action = new LexicalSortingAction(getTreeViewer());
    toolBarManager.add(action);
  }
Пример #2
0
 @Override
 public void setActionBars(IActionBars actionBars) {
   super.setActionBars(actionBars);
   getActionBarContributor().shareGlobalActions(this, actionBars);
 }