protected void makeActions(IWorkbenchWindow window) { exitAction = ActionFactory.QUIT.create(window); register(exitAction); saveAsAction = ActionFactory.SAVE_AS.create(window); register(saveAsAction); closeAction = ActionFactory.CLOSE.create(window); register(closeAction); closeAllAction = ActionFactory.CLOSE_ALL.create(window); register(closeAllAction); closeOthersAction = ActionFactory.CLOSE_OTHERS.create(window); register(closeOthersAction); aboutAction = ActionFactory.ABOUT.create(window); register(aboutAction); openPreferencesAction = ActionFactory.PREFERENCES.create(window); register(openPreferencesAction); changePerspMenuItem = ContributionItemFactory.PERSPECTIVES_SHORTLIST.create(window); showViewMenu = ContributionItemFactory.VIEWS_SHORTLIST.create(window); }
protected void makeActions(final IWorkbenchWindow window) { // Creates the actions and registers them. // Registering is needed to ensure that key bindings work. // The corresponding commands keybindings are defined in the plugin.xml file. // Registering also provides automatic disposal of the actions when // the window is closed. exitAction = ActionFactory.QUIT.create(window); register(exitAction); aboutAction = ActionFactory.ABOUT.create(window); register(aboutAction); newWindowAction = ActionFactory.OPEN_NEW_WINDOW.create(window); register(newWindowAction); openDbConnectionViewAction = new OpenViewAction(window, "Open Database Configuration View", ConnectionView.ID); register(openDbConnectionViewAction); openRepositoriesViewAction = new OpenViewAction(window, "Open Repositories View", RepositoriesView.class.getName()); register(openRepositoriesViewAction); openSoftwareInstalledViewAction = new OpenViewAction(window, "Open Software", ServerInstalledSoftwareView.ID); register(openSoftwareInstalledViewAction); // messagePopupAction = new MessagePopupAction("Open Message", window); // register(messagePopupAction); }
@Override protected void makeActions(final IWorkbenchWindow window) { // Creates the actions and registers them. // Registering is needed to ensure that key bindings work. // The corresponding commands keybindings are defined in the plugin.xml // file. // Registering also provides automatic disposal of the actions when // the window is closed. exitAction = ActionFactory.QUIT.create(window); register(exitAction); aboutAction = ActionFactory.ABOUT.create(window); register(aboutAction); showViewAction = ActionFactory.SHOW_VIEW_MENU.create(window); register(showViewAction); openPerspectiveAction = ActionFactory.OPEN_PERSPECTIVE_DIALOG.create(window); register(openPerspectiveAction); resetPerspectiveAction = ActionFactory.RESET_PERSPECTIVE.create(window); register(resetPerspectiveAction); closePerspectiveAction = ActionFactory.CLOSE_PERSPECTIVE.create(window); register(closePerspectiveAction); }
protected void makeActions(IWorkbenchWindow window) { // standard RCP actions clearAction = new ClearAllAction(window); register(clearAction); newAction = new NewItemAction(window); register(newAction); deleteAction = new DeleteItemAction(window); register(deleteAction); openAllAction = new OpenAllAction(window); register(openAllAction); importAction = new ImportItemAction(window); register(importAction); exportAction = new ExportItemAction(window); register(exportAction); solidifyAction = new SolidifyAction(window); register(solidifyAction); saveAction = new SaveAction(window); register(saveAction); saveAsAction = new SaveAsAction(window); register(saveAsAction); exitAction = ActionFactory.QUIT.create(window); register(exitAction); aboutAction = ActionFactory.ABOUT.create(window); register(aboutAction); prefsAction = new PreferencesAction(window); register(prefsAction); renameAction = new RenameItemAction(window); register(renameAction); // test showHelpAction = ActionFactory.HELP_CONTENTS.create(window); // NEW register(showHelpAction); // NEW searchHelpAction = ActionFactory.HELP_SEARCH.create(window); // NEW register(searchHelpAction); // NEW dynamicHelpAction = ActionFactory.DYNAMIC_HELP.create(window); // NEW register(dynamicHelpAction); // NEW // custom actions // test updateAction = new UpdateAction(window); // NEW register(updateAction); // NEW searchExtensionsAction = new AddExtensionsAction(window); // NEW register(searchExtensionsAction); // NEW manageExtensionsAction = new ManageExtensionsAction(window); // NEW register(manageExtensionsAction); // NEW // openCampaignAction = new OpenAllAction(window); // register(openCampaignAction); editAction = new EditItemAction(window); register(editAction); // openCampaignAction = new SaveCampaignAction(window); // register(saveCampaignAction); switchWorkspaceAction = new SwitchWorkspaceAction(window); register(switchWorkspaceAction); }
@Override protected void makeActions(IWorkbenchWindow window) { quitAction = ActionFactory.QUIT.create(window); register(quitAction); newExecutableAction = NEW_EXECUTABLE.create(window); register(newExecutableAction); attachExecutableAction = ATTACH_EXECUTABLE.create(window); register(attachExecutableAction); corefileAction = COREFILE.create(window); register(corefileAction); editActionSetAction = ActionFactory.EDIT_ACTION_SETS.create(window); register(editActionSetAction); helpContentsAction = ActionFactory.HELP_CONTENTS.create(window); register(helpContentsAction); helpSearchAction = ActionFactory.HELP_SEARCH.create(window); register(helpSearchAction); dynamicHelpAction = ActionFactory.DYNAMIC_HELP.create(window); register(dynamicHelpAction); undoAction = ActionFactory.UNDO.create(window); register(undoAction); redoAction = ActionFactory.REDO.create(window); register(redoAction); aboutAction = ActionFactory.ABOUT.create(window); aboutAction.setImageDescriptor( IDEInternalWorkbenchImages.getImageDescriptor( IDEInternalWorkbenchImages.IMG_OBJS_DEFAULT_PROD)); register(aboutAction); openPreferencesAction = ActionFactory.PREFERENCES.create(window); register(openPreferencesAction); }