Java 类org.eclipse.xtext.parsetree.reconstr.ITransientValueService 实例源码

项目:xtext-core    文件:EObjectConsumer.java   
public EObjectConsumer(ITransientValueService transientValueService, EObject described) {
    this.described = described;
    this.transientValueService = transientValueService;
    EList<EStructuralFeature> features = described.eClass().getEAllStructuralFeatures();
    nextFeatureId = new int[features.size()];
    for (int featureId = 0; featureId < features.size(); featureId++) {
        EStructuralFeature feature = features.get(featureId);
        if (feature.isMany() && transientValueService.isCheckElementsIndividually(described, feature)) {
            if (multiFeatures == null)
                multiFeatures = new BitSet();
            multiFeatures.set(featureId);
            nextFeatureId[featureId] = firstID(feature);
        }
        else if (!transientValueService.isTransient(described, feature, -1)) {
            nextFeatureId[featureId] = firstID(feature);
        }
        else
            nextFeatureId[featureId] = -1;
        // System.out.println(id + ":" + f.getName() + " -> " + next[id]);
    }
    // System.out.println("x");
}
项目:xtext-core    文件:EObjectConsumer.java   
private EObjectConsumer(ITransientValueService tv, EObject described, int[] next, BitSet multi) {
    super();
    this.transientValueService = tv;
    this.described = described;
    this.nextFeatureId = next;
    this.multiFeatures = multi;
}
项目: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   
@Override
public Class<? extends ITransientValueService> bindITransientValueService() {
  return OCCITransientValueService.class;
}
项目:OCCI-Studio    文件:OCCIRuntimeModule.java   
public Class<? extends org.eclipse.xtext.serializer.sequencer.ITransientValueService> bindITransientValueServiceOld() {
  return OCCICustomLegacyTransientValueService.class;
}
项目:xtext-core    文件:DefaultRuntimeModule.java   
public Class<? extends ITransientValueService> bindITransientValueService() {
    return DefaultTransientValueService.class;
}
项目:xtext-core    文件:XtextRuntimeModule.java   
@Override
public Class<? extends ITransientValueService> bindITransientValueService() {
    return XtextTransientValueService.class;
}
项目:xtext-core    文件:XtextRuntimeModule.java   
public Class<? extends org.eclipse.xtext.serializer.sequencer.ITransientValueService> bindITransientValueService2() {
    return XtextTransientValueService2.class;
}
项目:xtext-core    文件:XtextTerminalsTestLanguageRuntimeModule.java   
@Override
public Class<? extends ITransientValueService> bindITransientValueService() {
    return XtextTransientValueService.class;
}
项目:xtext-core    文件:TransientValuesTestRuntimeModule.java   
@Override
public Class<? extends ITransientValueService> bindITransientValueService() {
    return TransientHandlerPTC.class;
}
项目:xtext-core    文件:TransientValuesTestRuntimeModule.java   
public Class<? extends org.eclipse.xtext.serializer.sequencer.ITransientValueService> bindTransientHandlerSerializer() {
    return TransientHandlerSerializer.class;
}
项目:bts    文件:DefaultReferenceUpdater.java   
protected ITransientValueService getTransientValueService() {
    return transientValueService;
}
项目:statecharts    文件:STextRuntimeModule.java   
@Override
public Class<? extends ITransientValueService> bindITransientValueService() {
    return STextTransientValueService.class;
}
项目:CooperateModelingEnvironment    文件:AbstractComponentRuntimeModule.java   
public Class<? extends ITransientValueService> bindITransientValueService() {
    return BasicCooperateTransientValueService.class;
}
项目:CooperateModelingEnvironment    文件:AbstractComponentRuntimeModule.java   
public void configureITransientValueService(Binder binder) {
    binder.bind(org.eclipse.xtext.serializer.sequencer.ITransientValueService.class).to(de.cooperateproject.modeling.textual.common.services.BasicCooperateTransientValueService.class);
}
项目:CooperateModelingEnvironment    文件:AbstractClsRuntimeModule.java   
public Class<? extends ITransientValueService> bindITransientValueService() {
    return BasicCooperateTransientValueService.class;
}
项目:CooperateModelingEnvironment    文件:AbstractClsRuntimeModule.java   
public void configureITransientValueService(Binder binder) {
    binder.bind(org.eclipse.xtext.serializer.sequencer.ITransientValueService.class).to(de.cooperateproject.modeling.textual.common.services.BasicCooperateTransientValueService.class);
}
项目:CooperateModelingEnvironment    文件:AbstractUsecaseRuntimeModule.java   
public Class<? extends ITransientValueService> bindITransientValueService() {
    return BasicCooperateTransientValueService.class;
}
项目:CooperateModelingEnvironment    文件:AbstractUsecaseRuntimeModule.java   
public void configureITransientValueService(Binder binder) {
    binder.bind(org.eclipse.xtext.serializer.sequencer.ITransientValueService.class).to(de.cooperateproject.modeling.textual.common.services.BasicCooperateTransientValueService.class);
}
项目:eclectic    文件:EclecticRuntimeModule.java   
public Class<? extends ITransientValueService> bindITransientValueService() {
    return EclecticTransientValueService.class;
}
项目:textram    文件:TextRAMRuntimeModule.java   
@Override
public Class<? extends ITransientValueService> bindITransientValueService() {
    return TextRAMTransientValueService.class;
}