IContextService.activateContext
instead.@Deprecated
public final class EnabledSubmission
extends java.lang.Object
implements java.lang.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(java.lang.String activePartId,
Shell activeShell,
IWorkbenchPartSite activeWorkbenchPartSite,
java.lang.String contextId)
Deprecated.
Creates a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(java.lang.Object object)
Deprecated.
|
java.lang.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.
|
java.lang.String |
getContextId()
Deprecated.
Returns the identifier of the context to be enabled.
|
java.lang.String |
toString()
Deprecated.
|
public EnabledSubmission(java.lang.String activePartId,
Shell activeShell,
IWorkbenchPartSite activeWorkbenchPartSite,
java.lang.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(java.lang.Object object)
compareTo in interface java.lang.ComparableComparable.compareTo(java.lang.Object)public java.lang.String getActivePartId()
null.public Shell getActiveShell()
null.public IWorkbenchPartSite getActiveWorkbenchPartSite()
null.public java.lang.String getContextId()
null.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.