Package org.eclipse.ui.commands
Interface IWorkbenchCommandSupport
-
@Deprecated public interface IWorkbenchCommandSupport
Deprecated.Please useICommandService
andIHandlerService
instead. This API is scheduled for deletion, see Bug 431177 for detailsAn instance of this interface provides support for managing commands at theIWorkbench
level.This interface is not intended to be extended or implemented by clients.
- Since:
- 3.0
- See Also:
ICommandService
,IHandlerService
- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
- Restriction:
- This interface is scheduled for deletion.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
addHandlerSubmission(HandlerSubmission handlerSubmission)
Deprecated.void
addHandlerSubmissions(Collection handlerSubmissions)
Deprecated.ICommandManager
getCommandManager()
Deprecated.void
removeHandlerSubmission(HandlerSubmission handlerSubmission)
Deprecated.void
removeHandlerSubmissions(Collection handlerSubmissions)
Deprecated.
-
-
-
Method Detail
-
addHandlerSubmission
@Deprecated void addHandlerSubmission(HandlerSubmission handlerSubmission)
Deprecated.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 benull
.
-
addHandlerSubmissions
@Deprecated void addHandlerSubmissions(Collection handlerSubmissions)
Deprecated.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 benull
, and must contain zero or more instances ofHandlerSubmission
.
-
getCommandManager
@Deprecated ICommandManager getCommandManager()
Deprecated.Returns the command manager for the workbench.- Returns:
- the command manager for the workbench. Guaranteed not to be
null
.
-
removeHandlerSubmission
@Deprecated void removeHandlerSubmission(HandlerSubmission handlerSubmission)
Deprecated.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 benull
.
-
removeHandlerSubmissions
@Deprecated void removeHandlerSubmissions(Collection handlerSubmissions)
Deprecated.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 benull
, and must contain instances ofHandlerSubmission
only.
-
-