Java 类org.eclipse.xtext.resource.DerivedStateAwareResourceDescriptionManager 实例源码

项目:CooperateModelingEnvironment    文件:DerivedStateCalculationFragment2.java   
private void registerGuiceBindingsRt() {
    new GuiceModuleAccess.BindingFactory()
            .addTypeToType(typeRef(IAtomicDerivedStateProcessorRegistry.class),
                    typeRef(AtomicDerivedStateProcessorRegistry.class))
            .addTypeToType(typeRef(IDerivedStateProcessor.class), typeRef(DerivedStateProcessor.class))
            .addTypeToType(typeRef(ICDOResourceStateHandler.class), typeRef(DerivedStateProcessor.class))
            .addTypeToType(typeRef(IDerivedStateComputer.class), typeRef(DefaultDerivedStateComputer.class))
            .addTypeToType(typeRef(IDerivedStateComputerSorter.class), getDerivedStateElementComparatorName())

            .addTypeToType(typeRef(ITransientStatusProvider.class),
                    typeRef(DelegatingTransientStatusProvider.class))
            .addTypeToType(typeRef(ITransientValueService.class),
                    typeRef(BasicCooperateTransientValueService.class))
            .addConfiguredBinding(ITransientValueService.class.getSimpleName(), new StringConcatenationClient() {
                @Override
                protected void appendTo(StringConcatenationClient.TargetStringConcatenation builder) {
                    builder.append("binder.bind(");
                    builder.append(org.eclipse.xtext.serializer.sequencer.ITransientValueService.class.getName());
                    builder.append(".class).to(");
                    builder.append(BasicCooperateTransientValueService.class.getName());
                    builder.append(".class);");
                }
            })

            .addTypeToType(typeRef(XtextResource.class), typeRef(InitializingStateAwareResource.class))
            .addTypeToType(typeRef(IResourceDescription.Manager.class),
                    typeRef(DerivedStateAwareResourceDescriptionManager.class))
            .contributeTo(getLanguage().getRuntimeGenModule());

    Set<String> requiredBundles = getProjectConfig().getRuntime().getManifest().getRequiredBundles();

    requiredBundles.add("de.cooperateproject.modeling.textual.xtext.runtime;visibility:=reexport");
    requiredBundles.add("de.cooperateproject.modeling.textual.common;visibility:=reexport");
}
项目:OCCI-Studio    文件:OCCIRuntimeModule.java   
public Class<? extends IResourceDescription.Manager> bindIResourceDescription$Manager() {
  return DerivedStateAwareResourceDescriptionManager.class;
}
项目:xtext-extras    文件:DefaultXbaseRuntimeModule.java   
public Class<? extends IResourceDescription.Manager> bindIResourceDescription$Manager() {
    return DerivedStateAwareResourceDescriptionManager.class;
}
项目:xtext-core    文件:XtextRuntimeModule.java   
/**
 * @since 2.2
 */
public Class<? extends IResourceDescription.Manager> bindIResourceDescriptionManager() {
    return DerivedStateAwareResourceDescriptionManager.class;
}
项目:CooperateModelingEnvironment    文件:AbstractComponentRuntimeModule.java   
public Class<? extends IResourceDescription.Manager> bindIResourceDescription$Manager() {
    return DerivedStateAwareResourceDescriptionManager.class;
}
项目:CooperateModelingEnvironment    文件:AbstractClsRuntimeModule.java   
public Class<? extends IResourceDescription.Manager> bindIResourceDescription$Manager() {
    return DerivedStateAwareResourceDescriptionManager.class;
}
项目:CooperateModelingEnvironment    文件:AbstractUsecaseRuntimeModule.java   
public Class<? extends IResourceDescription.Manager> bindIResourceDescription$Manager() {
    return DerivedStateAwareResourceDescriptionManager.class;
}