本文整理汇总了Java中org.eclipse.xtext.parsetree.reconstr.ITransientValueService类的典型用法代码示例。如果您正苦于以下问题:Java ITransientValueService类的具体用法?Java ITransientValueService怎么用?Java ITransientValueService使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ITransientValueService类属于org.eclipse.xtext.parsetree.reconstr包,在下文中一共展示了ITransientValueService类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: EObjectConsumer
import org.eclipse.xtext.parsetree.reconstr.ITransientValueService; //导入依赖的package包/类
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");
}
示例2: registerGuiceBindingsRt
import org.eclipse.xtext.parsetree.reconstr.ITransientValueService; //导入依赖的package包/类
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");
}
开发者ID:Cooperate-Project,项目名称:CooperateModelingEnvironment,代码行数:35,代码来源:DerivedStateCalculationFragment2.java
示例3: bindITransientValueService
import org.eclipse.xtext.parsetree.reconstr.ITransientValueService; //导入依赖的package包/类
@Override
public Class<? extends ITransientValueService> bindITransientValueService() {
return OCCITransientValueService.class;
}
示例4: bindITransientValueServiceOld
import org.eclipse.xtext.parsetree.reconstr.ITransientValueService; //导入依赖的package包/类
public Class<? extends org.eclipse.xtext.serializer.sequencer.ITransientValueService> bindITransientValueServiceOld() {
return OCCICustomLegacyTransientValueService.class;
}
示例5: bindITransientValueService
import org.eclipse.xtext.parsetree.reconstr.ITransientValueService; //导入依赖的package包/类
public Class<? extends ITransientValueService> bindITransientValueService() {
return DefaultTransientValueService.class;
}
示例6: bindITransientValueService
import org.eclipse.xtext.parsetree.reconstr.ITransientValueService; //导入依赖的package包/类
@Override
public Class<? extends ITransientValueService> bindITransientValueService() {
return XtextTransientValueService.class;
}
示例7: bindITransientValueService2
import org.eclipse.xtext.parsetree.reconstr.ITransientValueService; //导入依赖的package包/类
public Class<? extends org.eclipse.xtext.serializer.sequencer.ITransientValueService> bindITransientValueService2() {
return XtextTransientValueService2.class;
}
示例8: bindITransientValueService
import org.eclipse.xtext.parsetree.reconstr.ITransientValueService; //导入依赖的package包/类
@Override
public Class<? extends ITransientValueService> bindITransientValueService() {
return TransientHandlerPTC.class;
}
示例9: bindTransientHandlerSerializer
import org.eclipse.xtext.parsetree.reconstr.ITransientValueService; //导入依赖的package包/类
public Class<? extends org.eclipse.xtext.serializer.sequencer.ITransientValueService> bindTransientHandlerSerializer() {
return TransientHandlerSerializer.class;
}
示例10: getTransientValueService
import org.eclipse.xtext.parsetree.reconstr.ITransientValueService; //导入依赖的package包/类
protected ITransientValueService getTransientValueService() {
return transientValueService;
}
示例11: bindITransientValueService
import org.eclipse.xtext.parsetree.reconstr.ITransientValueService; //导入依赖的package包/类
@Override
public Class<? extends ITransientValueService> bindITransientValueService() {
return STextTransientValueService.class;
}
示例12: bindITransientValueService
import org.eclipse.xtext.parsetree.reconstr.ITransientValueService; //导入依赖的package包/类
public Class<? extends ITransientValueService> bindITransientValueService() {
return BasicCooperateTransientValueService.class;
}
开发者ID:Cooperate-Project,项目名称:CooperateModelingEnvironment,代码行数:4,代码来源:AbstractComponentRuntimeModule.java
示例13: configureITransientValueService
import org.eclipse.xtext.parsetree.reconstr.ITransientValueService; //导入依赖的package包/类
public void configureITransientValueService(Binder binder) {
binder.bind(org.eclipse.xtext.serializer.sequencer.ITransientValueService.class).to(de.cooperateproject.modeling.textual.common.services.BasicCooperateTransientValueService.class);
}
开发者ID:Cooperate-Project,项目名称:CooperateModelingEnvironment,代码行数:4,代码来源:AbstractComponentRuntimeModule.java
示例14: bindITransientValueService
import org.eclipse.xtext.parsetree.reconstr.ITransientValueService; //导入依赖的package包/类
public Class<? extends ITransientValueService> bindITransientValueService() {
return EclecticTransientValueService.class;
}
示例15: bindITransientValueService
import org.eclipse.xtext.parsetree.reconstr.ITransientValueService; //导入依赖的package包/类
@Override
public Class<? extends ITransientValueService> bindITransientValueService() {
return TextRAMTransientValueService.class;
}