当前位置: 首页>>代码示例>>Java>>正文


Java ITransientValueService类代码示例

本文整理汇总了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");
}
 
开发者ID:eclipse,项目名称:xtext-core,代码行数:23,代码来源:EObjectConsumer.java

示例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;
}
 
开发者ID:occiware,项目名称:OCCI-Studio,代码行数:5,代码来源:OCCIRuntimeModule.java

示例4: bindITransientValueServiceOld

import org.eclipse.xtext.parsetree.reconstr.ITransientValueService; //导入依赖的package包/类
public Class<? extends org.eclipse.xtext.serializer.sequencer.ITransientValueService> bindITransientValueServiceOld() {
  return OCCICustomLegacyTransientValueService.class;
}
 
开发者ID:occiware,项目名称:OCCI-Studio,代码行数:4,代码来源:OCCIRuntimeModule.java

示例5: bindITransientValueService

import org.eclipse.xtext.parsetree.reconstr.ITransientValueService; //导入依赖的package包/类
public Class<? extends ITransientValueService> bindITransientValueService() {
	return DefaultTransientValueService.class;
}
 
开发者ID:eclipse,项目名称:xtext-core,代码行数:4,代码来源:DefaultRuntimeModule.java

示例6: bindITransientValueService

import org.eclipse.xtext.parsetree.reconstr.ITransientValueService; //导入依赖的package包/类
@Override
public Class<? extends ITransientValueService> bindITransientValueService() {
	return XtextTransientValueService.class;
}
 
开发者ID:eclipse,项目名称:xtext-core,代码行数:5,代码来源:XtextRuntimeModule.java

示例7: bindITransientValueService2

import org.eclipse.xtext.parsetree.reconstr.ITransientValueService; //导入依赖的package包/类
public Class<? extends org.eclipse.xtext.serializer.sequencer.ITransientValueService> bindITransientValueService2() {
	return XtextTransientValueService2.class;
}
 
开发者ID:eclipse,项目名称:xtext-core,代码行数:4,代码来源:XtextRuntimeModule.java

示例8: bindITransientValueService

import org.eclipse.xtext.parsetree.reconstr.ITransientValueService; //导入依赖的package包/类
@Override
public Class<? extends ITransientValueService> bindITransientValueService() {
	return TransientHandlerPTC.class;
}
 
开发者ID:eclipse,项目名称:xtext-core,代码行数:5,代码来源:TransientValuesTestRuntimeModule.java

示例9: bindTransientHandlerSerializer

import org.eclipse.xtext.parsetree.reconstr.ITransientValueService; //导入依赖的package包/类
public Class<? extends org.eclipse.xtext.serializer.sequencer.ITransientValueService> bindTransientHandlerSerializer() {
	return TransientHandlerSerializer.class;
}
 
开发者ID:eclipse,项目名称:xtext-core,代码行数:4,代码来源:TransientValuesTestRuntimeModule.java

示例10: getTransientValueService

import org.eclipse.xtext.parsetree.reconstr.ITransientValueService; //导入依赖的package包/类
protected ITransientValueService getTransientValueService() {
	return transientValueService;
}
 
开发者ID:cplutte,项目名称:bts,代码行数:4,代码来源:DefaultReferenceUpdater.java

示例11: bindITransientValueService

import org.eclipse.xtext.parsetree.reconstr.ITransientValueService; //导入依赖的package包/类
@Override
public Class<? extends ITransientValueService> bindITransientValueService() {
	return STextTransientValueService.class;
}
 
开发者ID:Yakindu,项目名称:statecharts,代码行数:5,代码来源:STextRuntimeModule.java

示例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;
}
 
开发者ID:jesusc,项目名称:eclectic,代码行数:4,代码来源:EclecticRuntimeModule.java

示例15: bindITransientValueService

import org.eclipse.xtext.parsetree.reconstr.ITransientValueService; //导入依赖的package包/类
@Override
public Class<? extends ITransientValueService> bindITransientValueService() {
	return TextRAMTransientValueService.class;
}
 
开发者ID:mjorod,项目名称:textram,代码行数:5,代码来源:TextRAMRuntimeModule.java


注:本文中的org.eclipse.xtext.parsetree.reconstr.ITransientValueService类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。