public interface IWidgetTokenOwner
ITextViewer.
In order to provide backward compatibility for clients of
IWidgetTokenOwner, extension interfaces are used as a means
of evolution. The following extension interfaces exist:
IWidgetTokenOwnerExtension since version
3.0 introducing priorities when requesting a widget token and thus replacing
the non-prioritized scheme.IWidgetTokenOwnerExtension| Modifier and Type | Method and Description |
|---|---|
void |
releaseWidgetToken(IWidgetTokenKeeper tokenKeeper)
The given token keeper releases the token to this
token owner.
|
boolean |
requestWidgetToken(IWidgetTokenKeeper requester)
Requests the widget token from this token owner.
|
boolean requestWidgetToken(IWidgetTokenKeeper requester)
true if the token has been acquired or is already owned by
the requester. This method is non-blocking.
Replaced by
IWidgetTokenOwnerExtension.requestWidgetToken(IWidgetTokenKeeper, int).
requester - the token requestertrue if requester acquires the token,
false otherwisevoid releaseWidgetToken(IWidgetTokenKeeper tokenKeeper)
tokenKeeper - the token keeperGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.