Java Code Examples for org.eclipse.xtext.ui.editor.IXtextEditorCallback#NullImpl
The following examples show how to use
org.eclipse.xtext.ui.editor.IXtextEditorCallback#NullImpl .
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: GamlUiModule.java From gama with GNU General Public License v3.0 | 5 votes |
@Override public Class<? extends org.eclipse.xtext.ui.editor.IXtextEditorCallback> bindIXtextEditorCallback() { // TODO Verify this as it is only needed, normally, for languages that // do not use the builder infrastructure // (see http://www.eclipse.org/forums/index.php/mv/msg/167666/532239/) // not correct for 2.7: return GamlEditorCallback.class; return IXtextEditorCallback.NullImpl.class; }
Example 2
Source File: FoldingTestLanguageUiModule.java From xtext-eclipse with Eclipse Public License 2.0 | 4 votes |
@Override public Class<? extends IXtextEditorCallback> bindIXtextEditorCallback() { return IXtextEditorCallback.NullImpl.class; }
Example 3
Source File: CheckCfgUiModule.java From dsl-devkit with Eclipse Public License 1.0 | 2 votes |
/** * When the user opens a Check Configuration editor on a source coming from the ice project, we should not show the prompt for adding the Xtext nature to the * ice project. * * @return IXtextEditorCallback.NullImpl */ @Override public Class<? extends IXtextEditorCallback> bindIXtextEditorCallback() { return IXtextEditorCallback.NullImpl.class; }