IContextService.activateContext
instead.@Deprecated public final class EnabledSubmission 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.
IWorkbenchContextSupport
,
IContextService
Constructor and Description |
---|
EnabledSubmission(String activePartId,
Shell activeShell,
IWorkbenchPartSite activeWorkbenchPartSite,
String contextId)
Deprecated.
Creates a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object object)
Deprecated.
|
String |
getActivePartId()
Deprecated.
Returns the identifier of the part that must be active for this request
to be considered.
|
Shell |
getActiveShell()
Deprecated.
Returns the shell that must be active for this request to be considered.
|
IWorkbenchPartSite |
getActiveWorkbenchPartSite()
Deprecated.
Returns the workbench part site of the part that must be active for this
request to be considered.
|
String |
getContextId()
Deprecated.
Returns the identifier of the context to be enabled.
|
String |
toString()
Deprecated.
|
public EnabledSubmission(String activePartId, Shell activeShell, IWorkbenchPartSite activeWorkbenchPartSite, String contextId)
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
.contextId
- the identifier of the context to be enabled. Must not be
null
.public int compareTo(Object object)
compareTo
in interface Comparable
Comparable.compareTo(java.lang.Object)
public String getActivePartId()
null
.public Shell getActiveShell()
null
.public IWorkbenchPartSite getActiveWorkbenchPartSite()
null
.public String getContextId()
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.