org.eclipse.xtext.validation.IDiagnosticConverter Java Examples
The following examples show how to use
org.eclipse.xtext.validation.IDiagnosticConverter.
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: SCTXtextIntegrationModule.java From statecharts with Eclipse Public License 1.0 | 6 votes |
@Override public void configure(Binder binder) { binder.bind(IResourceValidator.class).to(SCTResourceValidatorImpl.class); binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("sct"); binder.bind(IEncodingProvider.class).to(IEncodingProvider.Runtime.class); binder.bind(IQualifiedNameProvider.class).to(StextNameProvider.class); binder.bind(org.eclipse.jface.viewers.ILabelProvider.class) .annotatedWith(org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider.class) .to(DefaultDescriptionLabelProvider.class); binder.bind(IDefaultResourceDescriptionStrategy.class).to(SCTResourceDescriptionStrategy.class); binder.bind(MarkerCreator.class).to(SCTMarkerCreator.class); binder.bind(MarkerTypeProvider.class).to(SCTMarkerTypeProvider.class); binder.bind(IDiagnosticConverter.class).to(SCTDiagnosticConverterImpl.class); binder.bind(IURIEditorOpener.class).annotatedWith(LanguageSpecific.class).to(SCTFileEditorOpener.class); binder.bind(IMarkerContributor.class).to(TaskMarkerContributor.class); binder.bind(ITaskFinder.class).to(DomainSpecificTaskFinder.class); binder.bind(TaskMarkerCreator.class).to(SCTTaskMarkerCreator.class); binder.bind(TaskMarkerTypeProvider.class).to(SCTTaskMarkerTypeProvider.class); }
Example #2
Source File: N4JSInjectorProviderWithIssueSuppression.java From n4js with Eclipse Public License 1.0 | 4 votes |
/** */ @Override public Class<? extends IDiagnosticConverter> bindDiagnosticConverter() { return FilteringDiagnosticConverter.class; }
Example #3
Source File: N4JSStandaloneTestsModule.java From n4js with Eclipse Public License 1.0 | 4 votes |
/** */ public Class<? extends IDiagnosticConverter> bindDiagnosticConverter() { return ExceptionAwareDiagnosticConverter.class; }
Example #4
Source File: N4JSIdeModule.java From n4js with Eclipse Public License 1.0 | 4 votes |
public Class<? extends IDiagnosticConverter> bindIDiagnosticConverter() { return N4JSDiagnosticConverter.class; }
Example #5
Source File: XtextRuntimeModule.java From xtext-core with Eclipse Public License 2.0 | 4 votes |
public Class<? extends IDiagnosticConverter> bindIDiagnosticConverter() { return XtextDiagnosticConverter.class; }
Example #6
Source File: GenericEditorModule.java From statecharts with Eclipse Public License 1.0 | 4 votes |
public Class<? extends IDiagnosticConverter> bindIDiagnosticConverter() { return SCTDiagnosticConverterImpl.class; }