org.eclipse.xtext.ui.editor.contentassist.antlr.DelegatingContentAssistContextFactory Java Examples

The following examples show how to use org.eclipse.xtext.ui.editor.contentassist.antlr.DelegatingContentAssistContextFactory. 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: JSDocContentAssistProcessor.java    From n4js with Eclipse Public License 1.0 5 votes vote down vote up
/**
 * Returns the context factory setting an execution pool. Actually this is a dirty hack...
 */
public DelegatingContentAssistContextFactory.StatefulFactory getContextFactory() {

	// TODO IDE-2446: Suggested improvement of the following situation
	// kept the original comment for easy spotting

	// TODO hack. I have no clue why this is needed and how pool should be set.
	ExecutorService pool = Executors.newFixedThreadPool(3);
	contentAssistContextFactory.setPool(pool);

	return contentAssistContextFactory;
}
 
Example #2
Source File: AbstractBug348427TestLanguageUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends ContentAssistContext.Factory> bindContentAssistContext$Factory() {
	return DelegatingContentAssistContextFactory.class;
}
 
Example #3
Source File: AbstractStatemachineUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends ContentAssistContext.Factory> bindContentAssistContext$Factory() {
	return DelegatingContentAssistContextFactory.class;
}
 
Example #4
Source File: AbstractBug462047LangUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends ContentAssistContext.Factory> bindContentAssistContext$Factory() {
	return DelegatingContentAssistContextFactory.class;
}
 
Example #5
Source File: AbstractXImportSectionTestLangUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends ContentAssistContext.Factory> bindContentAssistContext$Factory() {
	return DelegatingContentAssistContextFactory.class;
}
 
Example #6
Source File: AbstractPureXbaseUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends ContentAssistContext.Factory> bindContentAssistContext$Factory() {
	return DelegatingContentAssistContextFactory.class;
}
 
Example #7
Source File: AbstractXbaseUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends ContentAssistContext.Factory> bindContentAssistContext$Factory() {
	return DelegatingContentAssistContextFactory.class;
}
 
Example #8
Source File: AbstractBuilderTestLanguageUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends ContentAssistContext.Factory> bindContentAssistContext$Factory() {
	return DelegatingContentAssistContextFactory.class;
}
 
Example #9
Source File: AbstractArithmeticsUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends ContentAssistContext.Factory> bindContentAssistContext$Factory() {
	return DelegatingContentAssistContextFactory.class;
}
 
Example #10
Source File: AbstractRuleEngineUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends ContentAssistContext.Factory> bindContentAssistContext$Factory() {
	return DelegatingContentAssistContextFactory.class;
}
 
Example #11
Source File: AbstractXtypeUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends ContentAssistContext.Factory> bindContentAssistContext$Factory() {
	return DelegatingContentAssistContextFactory.class;
}
 
Example #12
Source File: AbstractReferringTestLanguageUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends ContentAssistContext.Factory> bindContentAssistContext$Factory() {
	return DelegatingContentAssistContextFactory.class;
}
 
Example #13
Source File: AbstractRefactoringTestLanguageUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends ContentAssistContext.Factory> bindContentAssistContext$Factory() {
	return DelegatingContentAssistContextFactory.class;
}
 
Example #14
Source File: AbstractEncodingUiTestLanguageUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends ContentAssistContext.Factory> bindContentAssistContext$Factory() {
	return DelegatingContentAssistContextFactory.class;
}
 
Example #15
Source File: AbstractBmTestLanguageUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends ContentAssistContext.Factory> bindContentAssistContext$Factory() {
	return DelegatingContentAssistContextFactory.class;
}
 
Example #16
Source File: AbstractBug304681TestLanguageUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends ContentAssistContext.Factory> bindContentAssistContext$Factory() {
	return DelegatingContentAssistContextFactory.class;
}
 
Example #17
Source File: AbstractCodetemplatesUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends ContentAssistContext.Factory> bindContentAssistContext$Factory() {
	return DelegatingContentAssistContextFactory.class;
}
 
Example #18
Source File: AbstractParametersTestLanguageUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends ContentAssistContext.Factory> bindContentAssistContext$Factory() {
	return DelegatingContentAssistContextFactory.class;
}
 
Example #19
Source File: AbstractBug347012TestLanguageUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends ContentAssistContext.Factory> bindContentAssistContext$Factory() {
	return DelegatingContentAssistContextFactory.class;
}
 
Example #20
Source File: AbstractBug360834TestLanguageUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends ContentAssistContext.Factory> bindContentAssistContext$Factory() {
	return DelegatingContentAssistContextFactory.class;
}
 
Example #21
Source File: AbstractBug377311TestLanguageUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends ContentAssistContext.Factory> bindContentAssistContext$Factory() {
	return DelegatingContentAssistContextFactory.class;
}
 
Example #22
Source File: AbstractContentAssistCustomizingTestLanguageUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends ContentAssistContext.Factory> bindContentAssistContext$Factory() {
	return DelegatingContentAssistContextFactory.class;
}
 
Example #23
Source File: AbstractParametersTestLanguageExUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends ContentAssistContext.Factory> bindContentAssistContext$Factory() {
	return DelegatingContentAssistContextFactory.class;
}
 
Example #24
Source File: AbstractBug291022TestLanguageUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends ContentAssistContext.Factory> bindContentAssistContext$Factory() {
	return DelegatingContentAssistContextFactory.class;
}
 
Example #25
Source File: AbstractBug287941TestLanguageUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends ContentAssistContext.Factory> bindContentAssistContext$Factory() {
	return DelegatingContentAssistContextFactory.class;
}
 
Example #26
Source File: AbstractContentAssistNoTerminalExtensionTestLanguageUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends ContentAssistContext.Factory> bindContentAssistContext$Factory() {
	return DelegatingContentAssistContextFactory.class;
}
 
Example #27
Source File: AbstractTwoParametersTestLanguageUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends ContentAssistContext.Factory> bindContentAssistContext$Factory() {
	return DelegatingContentAssistContextFactory.class;
}
 
Example #28
Source File: AbstractBug288760TestLanguageUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends ContentAssistContext.Factory> bindContentAssistContext$Factory() {
	return DelegatingContentAssistContextFactory.class;
}
 
Example #29
Source File: AbstractDatatypeRuleTestLanguageUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends ContentAssistContext.Factory> bindContentAssistContext$Factory() {
	return DelegatingContentAssistContextFactory.class;
}
 
Example #30
Source File: AbstractBug348199TestLanguageUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends ContentAssistContext.Factory> bindContentAssistContext$Factory() {
	return DelegatingContentAssistContextFactory.class;
}