| org.eclipse.ui.commands.IWorkbenchCommandSupport
All known Subclasses: org.eclipse.ui.internal.commands.WorkbenchCommandSupport,
addHandlerSubmission | void addHandlerSubmission(HandlerSubmission handlerSubmission)(Code) | | Adds a single handler submissions for consideration by the workbench. The
submission indicates to the workbench a set of conditions under which the
handler should become active. The workbench, however, ultimately decides
which handler becomes active (in the event of conflicts or changes in
state). This could cause the handlers for one or more commands to change.
Parameters: handlerSubmission - The submission to be added; must not be null . |
addHandlerSubmissions | void addHandlerSubmissions(Collection handlerSubmissions)(Code) | | Adds a collection of handler submissions for consideration by the
workbench. The submission indicates to the workbench a set of conditions
under which the handler should become active. The workbench, however,
ultimately decides which handler becomes active (in the event of
conflicts or changes in state). This could cause the handlers for one or
more commands to change.
Parameters: handlerSubmissions - The submissions to be added; must not be null ,and must contain zero or more instances ofHandlerSubmission . |
getCommandManager | ICommandManager getCommandManager()(Code) | | Returns the command manager for the workbench.
the command manager for the workbench. Guaranteed not to benull . |
removeHandlerSubmission | void removeHandlerSubmission(HandlerSubmission handlerSubmission)(Code) | | Removes a single handler submission from consideration by the workbench.
The handler submission must be the same as the one added (not just
equivalent). This could cause the handlers for one or more commands to
change.
Parameters: handlerSubmission - The submission to be removed; must not be null . |
removeHandlerSubmissions | void removeHandlerSubmissions(Collection handlerSubmissions)(Code) | | Removes a single handler submission from consideration by the workbench.
The handler submission must be the same as the one added (not just
equivalent). This could cause the handlers for one or more commands to
change.
Parameters: handlerSubmissions - The submissions to be removed; must not be null ,and must contain instances of HandlerSubmission only. |
|
|