org.eclipse.xtext.ui.editor.IXtextEditorCallback Java Examples

The following examples show how to use org.eclipse.xtext.ui.editor.IXtextEditorCallback. 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 vote down vote up
@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: AbstractXImportSectionTestLangUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IXtextEditorCallback> bindIXtextEditorCallback() {
	return NatureAddingEditorCallback.class;
}
 
Example #3
Source File: AbstractN4JSUiModule.java    From n4js with Eclipse Public License 1.0 4 votes vote down vote up
public Class<? extends IXtextEditorCallback> bindIXtextEditorCallback() {
	return NatureAddingEditorCallback.class;
}
 
Example #4
Source File: AbstractEcore2XtextTestUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IXtextEditorCallback> bindIXtextEditorCallback() {
	return NatureAddingEditorCallback.class;
}
 
Example #5
Source File: AbstractDomainmodelUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IXtextEditorCallback> bindIXtextEditorCallback() {
	return NatureAddingEditorCallback.class;
}
 
Example #6
Source File: AbstractStatemachineUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IXtextEditorCallback> bindIXtextEditorCallback() {
	return NatureAddingEditorCallback.class;
}
 
Example #7
Source File: AbstractRuleEngineUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IXtextEditorCallback> bindIXtextEditorCallback() {
	return NatureAddingEditorCallback.class;
}
 
Example #8
Source File: AbstractArithmeticsUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IXtextEditorCallback> bindIXtextEditorCallback() {
	return NatureAddingEditorCallback.class;
}
 
Example #9
Source File: AbstractBuilderTestLanguageUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IXtextEditorCallback> bindIXtextEditorCallback() {
	return NatureAddingEditorCallback.class;
}
 
Example #10
Source File: DefaultUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public void configureXtextEditorErrorTickUpdater(com.google.inject.Binder binder) {
	binder.bind(IXtextEditorCallback.class).annotatedWith(Names.named("IXtextEditorCallBack")).to( //$NON-NLS-1$
			XtextEditorErrorTickUpdater.class);
}
 
Example #11
Source File: AbstractXbaseUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IXtextEditorCallback> bindIXtextEditorCallback() {
	return NatureAddingEditorCallback.class;
}
 
Example #12
Source File: AbstractXbaseWithAnnotationsUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IXtextEditorCallback> bindIXtextEditorCallback() {
	return NatureAddingEditorCallback.class;
}
 
Example #13
Source File: AbstractPureXbaseUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IXtextEditorCallback> bindIXtextEditorCallback() {
	return NatureAddingEditorCallback.class;
}
 
Example #14
Source File: AbstractBug462047LangUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IXtextEditorCallback> bindIXtextEditorCallback() {
	return NatureAddingEditorCallback.class;
}
 
Example #15
Source File: XtextUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IXtextEditorCallback> bindIXtextEditorCallback() {
	return org.eclipse.xtext.builder.nature.NatureAddingEditorCallback.class;
}
 
Example #16
Source File: AbstractContentAssistFragmentTestLangUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IXtextEditorCallback> bindIXtextEditorCallback() {
	return NatureAddingEditorCallback.class;
}
 
Example #17
Source File: AbstractXtendUiModule.java    From xtext-xtend with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IXtextEditorCallback> bindIXtextEditorCallback() {
	return NatureAddingEditorCallback.class;
}
 
Example #18
Source File: XtendUiModule.java    From xtext-xtend with Eclipse Public License 2.0 4 votes vote down vote up
public void configureOverrideIndicatorSupport(Binder binder) {
	binder.bind(IXtextEditorCallback.class).annotatedWith(Names.named("OverrideIndicatorModelListener")). // $NON-NLS-1$
	to(OverrideIndicatorModelListener.class);
	binder.bind(IActionContributor.class).annotatedWith(Names.named("OverrideIndicatorRulerAction")).to( // $NON-NLS-1$
	OverrideIndicatorRulerAction.class);
}
 
Example #19
Source File: XtendUiModule.java    From xtext-xtend with Eclipse Public License 2.0 4 votes vote down vote up
@Override
public Class<? extends IXtextEditorCallback> bindIXtextEditorCallback() {
	return XtendNatureAddingEditorCallback.class;
}
 
Example #20
Source File: XtendUiModule.java    From xtext-xtend with Eclipse Public License 2.0 4 votes vote down vote up
@Override
public void configureXtextEditorErrorTickUpdater(Binder binder) {
	binder.bind(IXtextEditorCallback.class).annotatedWith(Names.named("IXtextEditorCallBack")).to(
		XtendEditorErrorTickUpdater.class);
}
 
Example #21
Source File: AbstractHelloWorldUiModule.java    From dsl-devkit with Eclipse Public License 1.0 4 votes vote down vote up
public Class<? extends IXtextEditorCallback> bindIXtextEditorCallback() {
	return NatureAddingEditorCallback.class;
}
 
Example #22
Source File: AbstractGamlUiModule.java    From gama with GNU General Public License v3.0 4 votes vote down vote up
public Class<? extends IXtextEditorCallback> bindIXtextEditorCallback() {
	return NatureAddingEditorCallback.class;
}
 
Example #23
Source File: GamlUiModule.java    From gama with GNU General Public License v3.0 4 votes vote down vote up
@Override
public void configureXtextEditorErrorTickUpdater(final com.google.inject.Binder binder) {
	binder.bind(IXtextEditorCallback.class).annotatedWith(Names.named("IXtextEditorCallBack")).to( //$NON-NLS-1$
			GamlEditorTickUpdater.class);
}
 
Example #24
Source File: AbstractSARLUiModule.java    From sarl with Apache License 2.0 4 votes vote down vote up
public Class<? extends IXtextEditorCallback> bindIXtextEditorCallback() {
	return SARLNatureAddingEditorCallback.class;
}
 
Example #25
Source File: AbstractSARLUiModule.java    From sarl with Apache License 2.0 4 votes vote down vote up
public void configureXtextEditorErrorTickUpdater(Binder binder) {
	binder.bind(IXtextEditorCallback.class).annotatedWith(Names.named("IXtextEditorCallBack")).to(SARLEditorErrorTickUpdater.class);
}
 
Example #26
Source File: AbstractSARLUiModule.java    From sarl with Apache License 2.0 4 votes vote down vote up
public void configureOverrideIndicatorModelListener(Binder binder) {
	binder.bind(IXtextEditorCallback.class).annotatedWith(Names.named("OverrideIndicatorModelListener")).to(OverrideIndicatorModelListener.class);
}
 
Example #27
Source File: AbstractNestedRefsTestLanguageUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IXtextEditorCallback> bindIXtextEditorCallback() {
	return NatureAddingEditorCallback.class;
}
 
Example #28
Source File: N4JSUiModule.java    From n4js with Eclipse Public License 1.0 4 votes vote down vote up
/**
 * Bind a callback that always add the nature silently.
 */
@Override
public Class<? extends IXtextEditorCallback> bindIXtextEditorCallback() {
	return AlwaysAddNatureCallback.class;
}
 
Example #29
Source File: N4JSUiModule.java    From n4js with Eclipse Public License 1.0 4 votes vote down vote up
@Override
public void configureXtextEditorErrorTickUpdater(com.google.inject.Binder binder) {
	binder.bind(IXtextEditorCallback.class).annotatedWith(Names.named("IXtextEditorCallBack")).to( //$NON-NLS-1$
			N4JSEditorErrorTickUpdater.class);
}
 
Example #30
Source File: AbstractRegularExpressionUiModule.java    From n4js with Eclipse Public License 1.0 4 votes vote down vote up
public Class<? extends IXtextEditorCallback> bindIXtextEditorCallback() {
	return NatureAddingEditorCallback.class;
}