Bug 79581 [Commands] request: Declare a command for "Link with Editor"
I200411240800 Platform/UI should declare a retargetable toggling action/command for "Link with Editor". Currently, almost every decent view that shows editable elements has its own view toolbar button "Link with Editor". I would like to toggle these buttons via a keyboard shortcut (and the shortcut should be the same in every view :-). I'm not sure whether this should go into to the IDE or the RCP layer, but I'm sure you'll find a good place.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/navigator/ResourceNavigator.java
* Creates the action group, which encapsulates all actions for the view.
     */
    protected void makeActions() {
        setActionGroup(new MainActionGroup(this));
    }
    /**
     * Restores the saved filter settings.
     */
    private void restoreFilters() {
        IMemento filtersMem = memento.getChild(TAG_FILTERS);
        if (filtersMem != null) { 
            IMemento children[] = filtersMem.getChildren(TAG_FILTER);
            
            if (children.length > 0
                    && children[0].getString(TAG_IS_ENABLED) != null) {
                ArrayList selectedFilters = new ArrayList();
                ArrayList unSelectedFilters = new ArrayList();
                for (int i = 0; i < children.length; i++) {
                    if (children[i].getString(TAG_IS_ENABLED).equals(
                            String.valueOf(true))) {
						selectedFilters.add(children[i].getString(TAG_ELEMENT));
					} else {
						
                        unSelectedFilters.add(children[i]
                                .getString(TAG_ELEMENT));
					}
                }
                /* merge filters from Memento with selected = true filters from plugins
                 * ensure there are no duplicates & don't override user preferences	 */
                List pluginFilters = FiltersContentProvider.getDefaultFilters();