/** * Creates actions (and contribution items) for the menu bar, toolbar and status line. */ @Override protected void makeActions(final IWorkbenchWindow window) { statusLineItem = new StatusLineContributionItem("ModeContributionItem"); //$NON-NLS-1$ createSaveAction(window); createSaveAsAction(window); createSaveAllAction(window); createUndoAction(window); createRedoAction(window); createCloseAction(window); createCloseAllAction(window); createHelpContentsAction(window); createAboutAction(window); createOpenPreferencesAction(window); makeFeatureDependentActions(window); createForwardHistoryAction(window); createBackwardHistoryAction(window); createQuitAction(window); createOpenWorkspaceAction(window); createPropertyDialogAction(window); hideShowEditorAction = ActionFactory.SHOW_EDITOR.create(window); register(hideShowEditorAction); }
/** * RelationsStatusLineManager constructor. */ public RelationsStatusLineManager() { statusItemDBName = new StatusLineContributionItem( Constants.STATUS_ITEM_DB_NAME, 36); statusItemDBSize = new StatusLineContributionItem( Constants.STATUS_ITEM_DB_SIZE, 25); }