| org.eclipse.ui.internal.handlers.IActionCommandMappingService
All known Subclasses: org.eclipse.ui.internal.handlers.ActionCommandMappingService,
IActionCommandMappingService | public interface IActionCommandMappingService (Code) | |
A service which holds mappings between retarget action identifiers and
command identifiers (aka: action definition ids).
This class is not intended for use outside of the
org.eclipse.ui.workbench plug-in.
since: 3.2 |
Method Summary | |
public String | getCommandId(String actionId) Returns the command identifier corresponding to the given action
identifier, if any.
Parameters: actionId - The identifier of the retarget action for which the commandidentifier should be retrieved; must not be null . | public String | getGeneratedCommandId(String targetId, String actionId) | public void | map(String actionId, String commandId) Maps an action identifier to a command identifier. |
getCommandId | public String getCommandId(String actionId)(Code) | | Returns the command identifier corresponding to the given action
identifier, if any.
Parameters: actionId - The identifier of the retarget action for which the commandidentifier should be retrieved; must not be null . The identifier of the corresponding command; null if none. |
map | public void map(String actionId, String commandId)(Code) | | Maps an action identifier to a command identifier. This is used for
retarget action, so that global action handlers can be registered with
the correct command.
Parameters: actionId - The identifier of the retarget action; must not benull . Parameters: commandId - The identifier of the command; must not be null |
|
|