org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider Java Examples
The following examples show how to use
org.eclipse.xtext.ui.resource.ResourceServiceDescriptionLabelProvider.
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: LabelProviderInjectionTest.java From xtext-eclipse with Eclipse Public License 2.0 | 5 votes |
@org.junit.Test public void testLabelProviderInjection() throws Exception { Module module = new Module() { @Override public void configure(Binder binder) { binder.bind(ILabelProvider.class).annotatedWith(ResourceServiceDescriptionLabelProvider.class).to(LabelProvider.class); } }; Injector injector = Guice.createInjector(module); Test instance = injector.getInstance(Test.class); assertTrue(instance.labelProvider instanceof LabelProvider); }
Example #2
Source File: AbstractSingleCodetemplateUiModule.java From xtext-eclipse with Eclipse Public License 2.0 | 4 votes |
public void configureResourceUIServiceLabelProvider(Binder binder) { binder.bind(ILabelProvider.class).annotatedWith(ResourceServiceDescriptionLabelProvider.class).to(SingleCodetemplateDescriptionLabelProvider.class); }
Example #3
Source File: AbstractSARLUiModule.java From sarl with Apache License 2.0 | 4 votes |
public void configureResourceUIServiceLabelProvider(Binder binder) { binder.bind(ILabelProvider.class).annotatedWith(ResourceServiceDescriptionLabelProvider.class).to(SARLDescriptionLabelProvider.class); }
Example #4
Source File: AbstractGamlUiModule.java From gama with GNU General Public License v3.0 | 4 votes |
public void configureResourceUIServiceLabelProvider(Binder binder) { binder.bind(ILabelProvider.class).annotatedWith(ResourceServiceDescriptionLabelProvider.class).to(GamlDescriptionLabelProvider.class); }
Example #5
Source File: AbstractHelloWorldUiModule.java From dsl-devkit with Eclipse Public License 1.0 | 4 votes |
public void configureResourceUIServiceLabelProvider(Binder binder) { binder.bind(ILabelProvider.class).annotatedWith(ResourceServiceDescriptionLabelProvider.class).to(HelloWorldDescriptionLabelProvider.class); }
Example #6
Source File: AbstractXtendUiModule.java From xtext-xtend with Eclipse Public License 2.0 | 4 votes |
public void configureResourceUIServiceLabelProvider(Binder binder) { binder.bind(ILabelProvider.class).annotatedWith(ResourceServiceDescriptionLabelProvider.class).to(XbaseDescriptionLabelProvider.class); }
Example #7
Source File: AbstractPureXbaseUiModule.java From xtext-eclipse with Eclipse Public License 2.0 | 4 votes |
public void configureResourceUIServiceLabelProvider(Binder binder) { binder.bind(ILabelProvider.class).annotatedWith(ResourceServiceDescriptionLabelProvider.class).to(PureXbaseDescriptionLabelProvider.class); }
Example #8
Source File: XbaseUiModule.java From xtext-eclipse with Eclipse Public License 2.0 | 4 votes |
@Override public void configureResourceUIServiceLabelProvider(Binder binder) { binder.bind(ILabelProvider.class).annotatedWith(ResourceServiceDescriptionLabelProvider.class).to( XbaseDescriptionLabelProvider.class); }
Example #9
Source File: AbstractXbaseWithAnnotationsUiModule.java From xtext-eclipse with Eclipse Public License 2.0 | 4 votes |
public void configureResourceUIServiceLabelProvider(Binder binder) { binder.bind(ILabelProvider.class).annotatedWith(ResourceServiceDescriptionLabelProvider.class).to(XbaseDescriptionLabelProvider.class); }
Example #10
Source File: AbstractXbaseUiModule.java From xtext-eclipse with Eclipse Public License 2.0 | 4 votes |
public void configureResourceUIServiceLabelProvider(Binder binder) { binder.bind(ILabelProvider.class).annotatedWith(ResourceServiceDescriptionLabelProvider.class).to(XbaseDescriptionLabelProvider.class); }
Example #11
Source File: AbstractArithmeticsUiModule.java From xtext-eclipse with Eclipse Public License 2.0 | 4 votes |
public void configureResourceUIServiceLabelProvider(Binder binder) { binder.bind(ILabelProvider.class).annotatedWith(ResourceServiceDescriptionLabelProvider.class).to(ArithmeticsDescriptionLabelProvider.class); }
Example #12
Source File: AbstractRuleEngineUiModule.java From xtext-eclipse with Eclipse Public License 2.0 | 4 votes |
public void configureResourceUIServiceLabelProvider(Binder binder) { binder.bind(ILabelProvider.class).annotatedWith(ResourceServiceDescriptionLabelProvider.class).to(RuleEngineDescriptionLabelProvider.class); }
Example #13
Source File: AbstractStatemachineUiModule.java From xtext-eclipse with Eclipse Public License 2.0 | 4 votes |
public void configureResourceUIServiceLabelProvider(Binder binder) { binder.bind(ILabelProvider.class).annotatedWith(ResourceServiceDescriptionLabelProvider.class).to(StatemachineDescriptionLabelProvider.class); }
Example #14
Source File: AbstractDomainmodelUiModule.java From xtext-eclipse with Eclipse Public License 2.0 | 4 votes |
public void configureResourceUIServiceLabelProvider(Binder binder) { binder.bind(ILabelProvider.class).annotatedWith(ResourceServiceDescriptionLabelProvider.class).to(DomainmodelDescriptionLabelProvider.class); }
Example #15
Source File: AbstractXtextUiModule.java From xtext-eclipse with Eclipse Public License 2.0 | 4 votes |
public void configureResourceUIServiceLabelProvider(Binder binder) { binder.bind(ILabelProvider.class).annotatedWith(ResourceServiceDescriptionLabelProvider.class).to(XtextDescriptionLabelProvider.class); }
Example #16
Source File: AbstractN4JSUiModule.java From n4js with Eclipse Public License 1.0 | 4 votes |
public void configureResourceUIServiceLabelProvider(Binder binder) { binder.bind(ILabelProvider.class).annotatedWith(ResourceServiceDescriptionLabelProvider.class).to(N4JSDescriptionLabelProvider.class); }
Example #17
Source File: AbstractCodetemplatesUiModule.java From xtext-eclipse with Eclipse Public License 2.0 | 4 votes |
public void configureResourceUIServiceLabelProvider(Binder binder) { binder.bind(ILabelProvider.class).annotatedWith(ResourceServiceDescriptionLabelProvider.class).to(CodetemplatesDescriptionLabelProvider.class); }
Example #18
Source File: AbstractNestedRefsTestLanguageUiModule.java From xtext-eclipse with Eclipse Public License 2.0 | 4 votes |
public void configureResourceUIServiceLabelProvider(Binder binder) { binder.bind(ILabelProvider.class).annotatedWith(ResourceServiceDescriptionLabelProvider.class).to(NestedRefsTestLanguageDescriptionLabelProvider.class); }
Example #19
Source File: AbstractNoJdtTestLanguageUiModule.java From xtext-eclipse with Eclipse Public License 2.0 | 4 votes |
public void configureResourceUIServiceLabelProvider(Binder binder) { binder.bind(ILabelProvider.class).annotatedWith(ResourceServiceDescriptionLabelProvider.class).to(NoJdtTestLanguageDescriptionLabelProvider.class); }
Example #20
Source File: AbstractBeeLangTestLanguageUiModule.java From xtext-eclipse with Eclipse Public License 2.0 | 4 votes |
public void configureResourceUIServiceLabelProvider(Binder binder) { binder.bind(ILabelProvider.class).annotatedWith(ResourceServiceDescriptionLabelProvider.class).to(BeeLangTestLanguageDescriptionLabelProvider.class); }
Example #21
Source File: AbstractSimpleBeeLangTestLanguageUiModule.java From xtext-eclipse with Eclipse Public License 2.0 | 4 votes |
public void configureResourceUIServiceLabelProvider(Binder binder) { binder.bind(ILabelProvider.class).annotatedWith(ResourceServiceDescriptionLabelProvider.class).to(SimpleBeeLangTestLanguageDescriptionLabelProvider.class); }
Example #22
Source File: AbstractExBeeLangTestLanguageUiModule.java From xtext-eclipse with Eclipse Public License 2.0 | 4 votes |
public void configureResourceUIServiceLabelProvider(Binder binder) { binder.bind(ILabelProvider.class).annotatedWith(ResourceServiceDescriptionLabelProvider.class).to(ExBeeLangTestLanguageDescriptionLabelProvider.class); }
Example #23
Source File: AbstractFileAwareTestLanguageUiModule.java From xtext-eclipse with Eclipse Public License 2.0 | 4 votes |
public void configureResourceUIServiceLabelProvider(Binder binder) { binder.bind(ILabelProvider.class).annotatedWith(ResourceServiceDescriptionLabelProvider.class).to(FileAwareTestLanguageDescriptionLabelProvider.class); }
Example #24
Source File: AbstractMyDslUiModule.java From M2Doc with Eclipse Public License 1.0 | 4 votes |
public void configureResourceUIServiceLabelProvider(Binder binder) { binder.bind(ILabelProvider.class).annotatedWith(ResourceServiceDescriptionLabelProvider.class).to(MyDslDescriptionLabelProvider.class); }
Example #25
Source File: AbstractBromiumUiModule.java From bromium with MIT License | 4 votes |
public void configureResourceUIServiceLabelProvider(Binder binder) { binder.bind(ILabelProvider.class).annotatedWith(ResourceServiceDescriptionLabelProvider.class).to(BromiumDescriptionLabelProvider.class); }
Example #26
Source File: AbstractTypesUiModule.java From n4js with Eclipse Public License 1.0 | 4 votes |
public void configureResourceUIServiceLabelProvider(Binder binder) { binder.bind(ILabelProvider.class).annotatedWith(ResourceServiceDescriptionLabelProvider.class).to(TypesDescriptionLabelProvider.class); }
Example #27
Source File: AbstractJSONUiModule.java From n4js with Eclipse Public License 1.0 | 4 votes |
public void configureResourceUIServiceLabelProvider(Binder binder) { binder.bind(ILabelProvider.class).annotatedWith(ResourceServiceDescriptionLabelProvider.class).to(JSONDescriptionLabelProvider.class); }
Example #28
Source File: AbstractRegularExpressionUiModule.java From n4js with Eclipse Public License 1.0 | 4 votes |
public void configureResourceUIServiceLabelProvider(Binder binder) { binder.bind(ILabelProvider.class).annotatedWith(ResourceServiceDescriptionLabelProvider.class).to(RegularExpressionDescriptionLabelProvider.class); }