|
What this is
Other links
The source code<plugin id="org.eclipse.ui.ide" > <extension point="org.eclipse.ui.commands"> <!-- Define Collapse All as a generic IDE command, not tied to Navigator --> <command id="org.eclipse.ui.ide.collapseAll" name="%commands.collapseAll.name" description="%commands.collapseAll.description"/> <!-- Define Link with Editor as a generic IDE command, not tied to Navigator --> <command id="org.eclipse.ui.ide.linkWithEditor" name="%commands.linkWithEditor.name" description="%commands.linkWithEditor.description"/> <!-- Go Into, Back, Forward, Up commands are already defined in the generic workbench. e.g. org.eclipse.ui.navigate.goInto (see also ActionFactory.GO_INTO) Should they be? --> <!-- Define Open as a Navigator command. Or would it be better to make it a generic IDE command (see JDT's Open command, bound to F3)? --> <command id="org.eclipse.ui.ide.navigator.open" name="%commands.open.name" description="%commands.open.description"/> <!-- Define Open in New Window as a generic IDE command, not tied to Navigator. See also ActionFactory.OPEN_NEW_WINDOW, which is similar, but does not act on the selection. (It's also missing its command id). --> <command id="org.eclipse.ui.ide.openInNewWindow" name="%commands.openInNewWindow.name" description="%commands.openInNewWindow.description"/> <!-- Define Select Working Set as a generic IDE command, not tied to Navigator --> <command id="org.eclipse.ui.ide.selectWorkingSet" name="%commands.selectWorkingSet.name" description="%commands.selectWorkingSet.description"/> <!-- Define Deselect Working Set as a generic IDE command, not tied to Navigator --> <command id="org.eclipse.ui.ide.deselectWorkingSet" name="%commands.deselectWorkingSet.name" description="%commands.deselectWorkingSet.description"/> <!-- Define Edit Working Set as a generic IDE command, not tied to Navigator --> <command id="org.eclipse.ui.ide.editWorkingSet" name="%commands.editWorkingSet.name" description="%commands.editWorkingSet.description"/> <!-- Sort by Name and Sort by Type are Navigator-specific commands. Could these be combined into a single parameterized command?--> <command id="org.eclipse.ui.ide.navigator.sortByName" name="%commands.sortByName.name" description="%commands.sortByName.description"/> <command id="org.eclipse.ui.ide.navigator.sortByType" name="%commands.sortByType.name" description="%commands.sortByType.description"/> <!-- Define Filters as a generic IDE command, not tied to Navigator --> <command id="org.eclipse.ui.ide.filters" name="%commands.filters.name" description="%commands.filters.description"/> </extension> <extension point="org.eclipse.ui.handlers"> <!-- No enablement logic here, since these are assumed to all be running as code when the Navigator is open --> <handlerGroup partId="org.eclipse.ui.views.ResourceNavigator"> <handler commandId="org.eclipse.ui.edit.addBookmark" class="org.eclipse.ui.views.navigator.AddBookmarkHandler"/> <handler commandId="org.eclipse.ui.edit.addTask" class="org.eclipse.ui.views.navigator.AddTaskHandler"/> <handler commandId="org.eclipse.ui.file.properties" class="org.eclipse.ui.views.navigator.PropertiesHandler"/> <handler commandId="org.eclipse.ui.ide.collapseAll" class="org.eclipse.ui.views.navigator.CollapseAllHandler"/> <handler commandId="org.eclipse.ui.navigate.goInto" class="org.eclipse.ui.views.navigator.GoIntoHandler"/> <handler commandId="org.eclipse.ui.navigate.back" class="org.eclipse.ui.views.navigator.BackHandler"/> <handler commandId="org.eclipse.ui.navigate.forward" class="org.eclipse.ui.views.navigator.ForwardHandler"/> <handler commandId="org.eclipse.ui.navigate.up" class="org.eclipse.ui.views.navigator.UpHandler"/> <handler commandId="org.eclipse.ui.navigate.goToResource" class="org.eclipse.ui.views.navigator.GoToResourceHandler"/> <handler commandId="org.eclipse.ui.ide.navigator.open" class="org.eclipse.ui.views.navigator.OpenHandler"/> <!-- How to handle Open With submenu? --> <handler commandId="org.eclipse.ui.ide.openInNewWindow" class="org.eclipse.ui.views.navigator.OpenInNewWindowHandler"/> <handler commandId="org.eclipse.ui.edit.copy" class="org.eclipse.ui.views.navigator.CopyHandler"/> <handler commandId="org.eclipse.ui.edit.paste" class="org.eclipse.ui.views.navigator.PasteHandler"/> <!-- Note that the id for Move has "edit" in it, even though it's in the File menu. --> <handler commandId="org.eclipse.ui.edit.move" class="org.eclipse.ui.views.navigator.MoveHandler"/> <!-- Note that the id for Rename has "edit" in it, even though it's in the File menu. --> <handler commandId="org.eclipse.ui.edit.rename" class="org.eclipse.ui.views.navigator.RenameHandler"/> <handler commandId="org.eclipse.ui.edit.delete" class="org.eclipse.ui.views.navigator.DeleteHandler"/> <handler commandId="org.eclipse.ui.ide.selectWorkingSet" class="org.eclipse.ui.views.navigator.SelectWorkingSetHandler"/> <handler commandId="org.eclipse.ui.ide.deselectWorkingSet" class="org.eclipse.ui.views.navigator.DeselectWorkingSetHandler"/> <handler commandId="org.eclipse.ui.ide.editWorkingSet" class="org.eclipse.ui.views.navigator.EditWorkingSetHandler"/> <!-- How to handle dynamic list of MRU working sets? --> <handler commandId="org.eclipse.ui.ide.navigator.sortByName" class="org.eclipse.ui.views.navigator.SortByNameHandler"/> <handler commandId="org.eclipse.ui.ide.navigator.sortByType" class="org.eclipse.ui.views.navigator.SortByTypeHandler"/> <handler commandId="org.eclipse.ui.ide.navigator.Filters" class="org.eclipse.ui.views.navigator.FiltersHandler"/> <handler commandId="org.eclipse.ui.project.openProject" class="org.eclipse.ui.views.navigator.OpenProjectHandler"/> <handler commandId="org.eclipse.ui.project.closeProject" class="org.eclipse.ui.views.navigator.CloseProjectHandler"/> <handler commandId="org.eclipse.ui.file.refresh" class="org.eclipse.ui.views.navigator.RefreshHandler"/> <handler commandId="org.eclipse.ui.project.buildProject" class="org.eclipse.ui.views.navigator.BuildProjectHandler"/> <!-- Rebuild Project no longer used --> </handlerGroup> </extension> <extension point="org.eclipse.ui.menus"> <!-- Define the context menu for the Navigator --> <!-- The repeated |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.