org.eclipse.xtext.resource.containers.StateBasedContainerManager Java Examples

The following examples show how to use org.eclipse.xtext.resource.containers.StateBasedContainerManager. 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: BuilderIntegrationFragment.java    From xtext-extras with Eclipse Public License 2.0 6 votes vote down vote up
@Override
public Set<Binding> getGuiceBindingsRt(Grammar grammar) {
	return new BindFactory()
	.addTypeToType(IContainer.Manager.class.getName(), StateBasedContainerManager.class.getName())
	.addTypeToType(IAllContainersState.Provider.class.getName(),
			org.eclipse.xtext.resource.containers.ResourceSetBasedAllContainersStateProvider.class.getName())
	.addConfiguredBinding(
				IResourceDescriptions.class.getName(),
				"binder.bind(" + IResourceDescriptions.class.getName() + ".class"
						+ ").to("
						+ ResourceSetBasedResourceDescriptions.class.getName() + ".class)")
		.addConfiguredBinding(
				IResourceDescriptions.class.getName() + "Persisted",
				"binder.bind("+ IResourceDescriptions.class.getName() + ".class"
						+ ").annotatedWith(com.google.inject.name.Names.named("
						+ "org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.PERSISTED_DESCRIPTIONS)).to("
						+ ResourceSetBasedResourceDescriptions.class.getName() + ".class)")
		.getBindings();
}
 
Example #2
Source File: AbstractBeeLangTestLanguageRuntimeModule.java    From xtext-core with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IContainer.Manager> bindIContainer$Manager() {
	return StateBasedContainerManager.class;
}
 
Example #3
Source File: AbstractRuleEngineRuntimeModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IContainer.Manager> bindIContainer$Manager() {
	return StateBasedContainerManager.class;
}
 
Example #4
Source File: AbstractArithmeticsRuntimeModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IContainer.Manager> bindIContainer$Manager() {
	return StateBasedContainerManager.class;
}
 
Example #5
Source File: AbstractBuilderTestLanguageRuntimeModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IContainer.Manager> bindIContainer$Manager() {
	return StateBasedContainerManager.class;
}
 
Example #6
Source File: AbstractXtendRuntimeModule.java    From xtext-xtend with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IContainer.Manager> bindIContainer$Manager() {
	return StateBasedContainerManager.class;
}
 
Example #7
Source File: AbstractPartialContentAssistTestLanguageRuntimeModule.java    From xtext-core with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IContainer.Manager> bindIContainer$Manager() {
	return StateBasedContainerManager.class;
}
 
Example #8
Source File: AbstractPartialSerializationTestLanguageRuntimeModule.java    From xtext-core with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IContainer.Manager> bindIContainer$Manager() {
	return StateBasedContainerManager.class;
}
 
Example #9
Source File: AbstractIndentationAwareUiTestLanguageRuntimeModule.java    From xtext-core with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IContainer.Manager> bindIContainer$Manager() {
	return StateBasedContainerManager.class;
}
 
Example #10
Source File: AbstractRenameTestLanguageRuntimeModule.java    From xtext-core with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IContainer.Manager> bindIContainer$Manager() {
	return StateBasedContainerManager.class;
}
 
Example #11
Source File: AbstractTestLanguageRuntimeModule.java    From xtext-core with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IContainer.Manager> bindIContainer$Manager() {
	return StateBasedContainerManager.class;
}
 
Example #12
Source File: AbstractFileAwareTestLanguageRuntimeModule.java    From xtext-core with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IContainer.Manager> bindIContainer$Manager() {
	return StateBasedContainerManager.class;
}
 
Example #13
Source File: AbstractSimpleBeeLangTestLanguageRuntimeModule.java    From xtext-core with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IContainer.Manager> bindIContainer$Manager() {
	return StateBasedContainerManager.class;
}
 
Example #14
Source File: AbstractDomainmodelRuntimeModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IContainer.Manager> bindIContainer$Manager() {
	return StateBasedContainerManager.class;
}
 
Example #15
Source File: AbstractExBeeLangTestLanguageRuntimeModule.java    From xtext-core with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IContainer.Manager> bindIContainer$Manager() {
	return StateBasedContainerManager.class;
}
 
Example #16
Source File: AbstractXtextGrammarTestLanguageRuntimeModule.java    From xtext-core with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IContainer.Manager> bindIContainer$Manager() {
	return StateBasedContainerManager.class;
}
 
Example #17
Source File: AbstractNoJdtTestLanguageRuntimeModule.java    From xtext-core with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IContainer.Manager> bindIContainer$Manager() {
	return StateBasedContainerManager.class;
}
 
Example #18
Source File: AbstractNestedRefsTestLanguageRuntimeModule.java    From xtext-core with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IContainer.Manager> bindIContainer$Manager() {
	return StateBasedContainerManager.class;
}
 
Example #19
Source File: AbstractLiveContainerBuilderIntegerationTestLanguageRuntimeModule.java    From xtext-core with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IContainer.Manager> bindIContainer$Manager() {
	return StateBasedContainerManager.class;
}
 
Example #20
Source File: AbstractIndexTestLanguageRuntimeModule.java    From xtext-core with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IContainer.Manager> bindIContainer$Manager() {
	return StateBasedContainerManager.class;
}
 
Example #21
Source File: AbstractHelloWorldRuntimeModule.java    From dsl-devkit with Eclipse Public License 1.0 4 votes vote down vote up
public Class<? extends IContainer.Manager> bindIContainer$Manager() {
	return StateBasedContainerManager.class;
}
 
Example #22
Source File: AbstractGamlRuntimeModule.java    From gama with GNU General Public License v3.0 4 votes vote down vote up
public Class<? extends IContainer.Manager> bindIContainer$Manager() {
	return StateBasedContainerManager.class;
}
 
Example #23
Source File: AbstractSARLRuntimeModule.java    From sarl with Apache License 2.0 4 votes vote down vote up
public Class<? extends IContainer.Manager> bindIContainer$Manager() {
	return StateBasedContainerManager.class;
}
 
Example #24
Source File: AbstractFoldingTestLanguageRuntimeModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IContainer.Manager> bindIContainer$Manager() {
	return StateBasedContainerManager.class;
}
 
Example #25
Source File: AbstractN4JSRuntimeModule.java    From n4js with Eclipse Public License 1.0 4 votes vote down vote up
public Class<? extends IContainer.Manager> bindIContainer$Manager() {
	return StateBasedContainerManager.class;
}
 
Example #26
Source File: AbstractPureXbaseRuntimeModule.java    From xtext-extras with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IContainer.Manager> bindIContainer$Manager() {
	return StateBasedContainerManager.class;
}
 
Example #27
Source File: AbstractXbaseRuntimeModule.java    From xtext-extras with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IContainer.Manager> bindIContainer$Manager() {
	return StateBasedContainerManager.class;
}
 
Example #28
Source File: AbstractXbaseWithAnnotationsRuntimeModule.java    From xtext-extras with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IContainer.Manager> bindIContainer$Manager() {
	return StateBasedContainerManager.class;
}
 
Example #29
Source File: AbstractBuilderTestLanguageRuntimeModule.java    From xtext-extras with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IContainer.Manager> bindIContainer$Manager() {
	return StateBasedContainerManager.class;
}
 
Example #30
Source File: AbstractBug462047LangRuntimeModule.java    From xtext-extras with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IContainer.Manager> bindIContainer$Manager() {
	return StateBasedContainerManager.class;
}