IHandlerService.activateHandler
instead.@Deprecated public final class HandlerSubmission extends Object implements Comparable
The workbench considers all of the submissions it has received and choses the ones it views as the best possible match.
This class is not intended to be extended by clients.
Note: this class has a natural ordering that is inconsistent with equals.
IWorkbenchCommandSupport
,
IHandlerService
Constructor and Description |
---|
HandlerSubmission(String activePartId,
Shell activeShell,
IWorkbenchPartSite activeWorkbenchPartSite,
String commandId,
IHandler handler,
Priority priority)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object object)
Deprecated.
|
String |
getActivePartId()
Deprecated.
|
Shell |
getActiveShell()
Deprecated.
|
IWorkbenchPartSite |
getActiveWorkbenchPartSite()
Deprecated.
|
String |
getCommandId()
Deprecated.
|
IHandler |
getHandler()
Deprecated.
|
Priority |
getPriority()
Deprecated.
|
String |
toString()
Deprecated.
|
@Deprecated public HandlerSubmission(String activePartId, Shell activeShell, IWorkbenchPartSite activeWorkbenchPartSite, String commandId, IHandler handler, Priority priority)
activePartId
- the identifier of the part that must be active for this
request to be considered. May be null
.activeShell
- the shell that must be active for this request to be
considered. May be null
.activeWorkbenchPartSite
- the workbench part site of the part that must be active for
this request to be considered. May be null
.commandId
- the identifier of the command to be handled. Must not be
null
.handler
- the handler. Must not be null
.priority
- the priority. Must not be null
.@Deprecated public int compareTo(Object object)
compareTo
in interface Comparable
Comparable.compareTo(java.lang.Object)
@Deprecated public String getActivePartId()
null
.@Deprecated public Shell getActiveShell()
null
.@Deprecated public IWorkbenchPartSite getActiveWorkbenchPartSite()
null
.@Deprecated public String getCommandId()
null
.@Deprecated public IHandler getHandler()
null
.@Deprecated public Priority getPriority()
null
.public String toString()
toString
in class Object
Object.toString()
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.