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; }
public Class<? extends IXtextEditorCallback> bindIXtextEditorCallback() { return NatureAddingEditorCallback.class; }
/** * Bind a callback that always add the nature silently. */ @Override public Class<? extends IXtextEditorCallback> bindIXtextEditorCallback() { return AlwaysAddNatureCallback.class; }
@Override public void configureXtextEditorErrorTickUpdater(com.google.inject.Binder binder) { binder.bind(IXtextEditorCallback.class).annotatedWith(Names.named("IXtextEditorCallBack")).to( //$NON-NLS-1$ N4JSEditorErrorTickUpdater.class); }
@Override public Class<? extends IXtextEditorCallback> bindIXtextEditorCallback() { return null; }
public void configureXtextEditorErrorTickUpdater(com.google.inject.Binder binder) { binder.bind(IXtextEditorCallback.class).annotatedWith(Names.named("IXtextEditorCallBack")).to( //$NON-NLS-1$ XtextEditorErrorTickUpdater.class); }
@Override public void configureXtextEditorErrorTickUpdater(final com.google.inject.Binder binder) { binder.bind(IXtextEditorCallback.class).annotatedWith(Names.named("IXtextEditorCallBack")).to( //$NON-NLS-1$ GamlEditorTickUpdater.class); }
@Override public Class<? extends IXtextEditorCallback> bindIXtextEditorCallback() { return SadlEditorCallback.class; }
@Override public Class<? extends IXtextEditorCallback> bindIXtextEditorCallback() { return Antlr4NatureCallback.class; }
/** * 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; }