org.eclipse.jface.action.StatusLineContributionItem Java Examples

The following examples show how to use org.eclipse.jface.action.StatusLineContributionItem. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: GamaActionBarAdvisor.java    From gama with GNU General Public License v3.0 6 votes vote down vote up
/**
 * Creates actions (and contribution items) for the menu bar, toolbar and status line.
 */
@Override
protected void makeActions(final IWorkbenchWindow aWindow) {
	statusLineItem = new StatusLineContributionItem("ModeContributionItem"); //$NON-NLS-1$
	createSaveAction(aWindow);
	createSaveAsAction(aWindow);
	createSaveAllAction(aWindow);
	createUndoAction(aWindow);
	createRedoAction(aWindow);
	createCloseAction(aWindow);
	createCloseAllAction(aWindow);
	createHelpContentsAction(aWindow);
	createAboutAction(aWindow);
	createOpenPreferencesAction(aWindow);
	makeFeatureDependentActions(aWindow);
	createForwardHistoryAction(aWindow);
	createBackwardHistoryAction(aWindow);
	createQuitAction(aWindow);
	createOpenWorkspaceAction(aWindow);
	createPropertyDialogAction(aWindow);
	hideShowEditorAction = ActionFactory.SHOW_EDITOR.create(aWindow);
	register(hideShowEditorAction);
}