Action Set Part Associations

This extension point is deprecated



WARNING: This extension point is DEPRECATED.
Do not use this extension point, it will be removed in future versions of this product. Instead, use the extension point org.eclipse.ui.commands

This extension point is used to define an action set which should be added to a perspective when a part (view or editor) is opened in the perspective. In the case of an editor, the action set will remain visible while the editor is the current editor. In the case of a view, the action set will be visible when the view is the active part.

Configuration Markup:

<!ELEMENT extension (actionSetPartAssociation*)>

<!ATTLIST extension




The actionSetPartAssociation element is deprecated

<!ELEMENT actionSetPartAssociation (part*)>

<!ATTLIST actionSetPartAssociation


The part element is deprecated


<!ATTLIST part


The following is an example of an action set part association (note the subelement and the way attributes are used):

 <extension point="org.eclipse.ui.actionSetPartAssociations">
  <actionSetPartAssociation targetID="org.eclipse.jdt.ui.refactoring.actionSet">
   <part id="org.eclipse.jdt.ui.PackageExplorer"/>
   <part id="org.eclipse.jdt.ui.CompilationUnitError"/>

In the example above, a view or editor are associated with the refactoring action set.

API Information:
The user may override these associations using the customize perspective dialog. Regardless of these associations, action sets which the user turns off will never appear and action sets which the user turns on will always be visible.

Copyright (c) 2002, 2007 IBM Corporation and others.
This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at SPDX-License-Identifier: EPL-2.0