org.eclipse.xtext.ui.editor.contentassist.ITemplateProposalProvider Java Examples
The following examples show how to use
org.eclipse.xtext.ui.editor.contentassist.ITemplateProposalProvider.
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: ContentAssistCustomizingTest.java From xtext-eclipse with Eclipse Public License 2.0 | 6 votes |
public ISetup doGetSetup() { return new ContentAssistCustomizingTestLanguageStandaloneSetup() { @Override public Injector createInjector() { return Guice.createInjector(Modules2.mixin( new ContentAssistCustomizingTestLanguageRuntimeModule(), new ContentAssistCustomizingTestLanguageUiModule(TestsActivator.getInstance()) { @Override public Class<? extends IContentProposalProvider> bindIContentProposalProvider() { return TestableProposalProvider.class; } @SuppressWarnings("unused") public ContentAssistCustomizingTest bindTestClass() { return ContentAssistCustomizingTest.this; } @Override public Class<? extends ITemplateProposalProvider> bindITemplateProposalProvider() { return TestableTemplateProposalProvider.class; } }, new SharedStateModule())); } }; }
Example #2
Source File: DefaultUiModule.java From xtext-eclipse with Eclipse Public License 2.0 | 4 votes |
public Class<? extends ITemplateProposalProvider> bindITemplateProposalProvider() { return DefaultTemplateProposalProvider.class; }
Example #3
Source File: DotUiModule.java From gef with Eclipse Public License 2.0 | 4 votes |
@Override public Class<? extends ITemplateProposalProvider> bindITemplateProposalProvider() { return DotTemplateProposalProvider.class; }
Example #4
Source File: XtendUiModule.java From xtext-xtend with Eclipse Public License 2.0 | 4 votes |
@Override public Class<? extends ITemplateProposalProvider> bindITemplateProposalProvider() { return TemplateProposalProvider.class; }
Example #5
Source File: CheckCfgUiModule.java From dsl-devkit with Eclipse Public License 1.0 | 4 votes |
/** Binds a proposal provider for check configuration templates. {@inheritDoc} */ @Override public Class<? extends ITemplateProposalProvider> bindITemplateProposalProvider() { return CheckCfgTemplateProposalProvider.class; }
Example #6
Source File: GamlUiModule.java From gama with GNU General Public License v3.0 | 4 votes |
@Override public Class<? extends ITemplateProposalProvider> bindITemplateProposalProvider() { return GamlTemplateProposalProvider.class; }
Example #7
Source File: AbstractSARLUiModule.java From sarl with Apache License 2.0 | 4 votes |
public Class<? extends ITemplateProposalProvider> bindITemplateProposalProvider() { return SARLTemplateProposalProvider.class; }
Example #8
Source File: CheckUiModule.java From dsl-devkit with Eclipse Public License 1.0 | 2 votes |
/** * Provides support for custom template proposals. * <p> * {@inheritDoc} */ @Override public Class<? extends ITemplateProposalProvider> bindITemplateProposalProvider() { return CheckTemplateProposalProvider.class; }