org.eclipse.jface.text.IWidgetTokenKeeper Java Examples

The following examples show how to use org.eclipse.jface.text.IWidgetTokenKeeper. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: TypeScriptEditor.java    From typescript.java with MIT License 4 votes vote down vote up
public boolean requestWidgetToken(IWidgetTokenKeeper requester) {
	if (PlatformUI.getWorkbench().getHelpSystem().isContextHelpDisplayed())
		return false;
	return super.requestWidgetToken(requester);
}
 
Example #2
Source File: TypeScriptEditor.java    From typescript.java with MIT License 4 votes vote down vote up
public boolean requestWidgetToken(IWidgetTokenKeeper requester, int priority) {
	if (PlatformUI.getWorkbench().getHelpSystem().isContextHelpDisplayed())
		return false;
	return super.requestWidgetToken(requester, priority);
}
 
Example #3
Source File: CompilationUnitEditor.java    From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 4 votes vote down vote up
@Override
public boolean requestWidgetToken(IWidgetTokenKeeper requester) {
	if (PlatformUI.getWorkbench().getHelpSystem().isContextHelpDisplayed())
		return false;
	return super.requestWidgetToken(requester);
}
 
Example #4
Source File: CompilationUnitEditor.java    From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 4 votes vote down vote up
@Override
public boolean requestWidgetToken(IWidgetTokenKeeper requester, int priority) {
	if (PlatformUI.getWorkbench().getHelpSystem().isContextHelpDisplayed())
		return false;
	return super.requestWidgetToken(requester, priority);
}
 
Example #5
Source File: ScriptConsoleViewerWrapper.java    From Pydev with Eclipse Public License 1.0 4 votes vote down vote up
public boolean requestWidgetToken(IWidgetTokenKeeper requester) {
    return viewer.requestWidgetToken(requester);
}
 
Example #6
Source File: ScriptConsoleViewerWrapper.java    From Pydev with Eclipse Public License 1.0 4 votes vote down vote up
public boolean requestWidgetToken(IWidgetTokenKeeper requester, int priority) {
    return viewer.requestWidgetToken(requester, priority);
}
 
Example #7
Source File: ScriptConsoleViewerWrapper.java    From Pydev with Eclipse Public License 1.0 4 votes vote down vote up
public void releaseWidgetToken(IWidgetTokenKeeper tokenKeeper) {
    viewer.releaseWidgetToken(tokenKeeper);
}