本文整理汇总了Java中org.eclipse.xtext.linking.ILinkingService类的典型用法代码示例。如果您正苦于以下问题:Java ILinkingService类的具体用法?Java ILinkingService怎么用?Java ILinkingService使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ILinkingService类属于org.eclipse.xtext.linking包,在下文中一共展示了ILinkingService类的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: getGuiceBindingsRt
import org.eclipse.xtext.linking.ILinkingService; //导入依赖的package包/类
/** {@inheritDoc} */
@Override
public Set<Binding> getGuiceBindingsRt(final Grammar grammar) {
final BindFactory bindFactory = new BindFactory();
final String prefix = GrammarUtil.getNamespace(grammar) + ".scoping." + GrammarUtil.getName(grammar);
bindFactory.addTypeToType(IScopeProvider.class.getName(), prefix + "ScopeProvider");
bindFactory.addTypeToType(IScopeNameProvider.class.getName(), prefix + "ScopeNameProvider");
bindFactory.addTypeToType(ILinkingService.class.getName(), "com.avaloq.tools.ddk.xtext.linking.LinkingService");
return bindFactory.getBindings();
}
开发者ID:dsldevkit,项目名称:dsl-devkit,代码行数:13,代码来源:ScopingFragment.java
示例2: bindILinkingService
import org.eclipse.xtext.linking.ILinkingService; //导入依赖的package包/类
@Override
public Class<? extends ILinkingService> bindILinkingService() {
return KronusLinkingService.class;
}
开发者ID:Morgan-Stanley,项目名称:Saturn,代码行数:5,代码来源:KronusRuntimeModule.java
示例3: getLinkingService
import org.eclipse.xtext.linking.ILinkingService; //导入依赖的package包/类
protected ILinkingService getLinkingService() {
return getInjector().getInstance(ILinkingService.class);
}
开发者ID:eclipse,项目名称:xtext-extras,代码行数:4,代码来源:AbstractXtextTests.java
示例4: bindILinkingService
import org.eclipse.xtext.linking.ILinkingService; //导入依赖的package包/类
public Class<? extends ILinkingService> bindILinkingService() {
return DefaultLinkingService.class;
}
开发者ID:eclipse,项目名称:xtext-core,代码行数:4,代码来源:DefaultRuntimeModule.java
示例5: setLinkingService
import org.eclipse.xtext.linking.ILinkingService; //导入依赖的package包/类
public void setLinkingService(ILinkingService linkingService) {
this.linkingService = linkingService;
}
开发者ID:eclipse,项目名称:xtext-core,代码行数:4,代码来源:LazyLinkingResource.java
示例6: getLinkingService
import org.eclipse.xtext.linking.ILinkingService; //导入依赖的package包/类
public ILinkingService getLinkingService() {
return linkingService;
}
开发者ID:eclipse,项目名称:xtext-core,代码行数:4,代码来源:LazyLinkingResource.java
示例7: bindILinkingService
import org.eclipse.xtext.linking.ILinkingService; //导入依赖的package包/类
@Override
public Class<? extends ILinkingService> bindILinkingService() {
return XtextLinkingService.class;
}
开发者ID:eclipse,项目名称:xtext-core,代码行数:5,代码来源:XtextRuntimeModule.java
示例8: bindILinkingService
import org.eclipse.xtext.linking.ILinkingService; //导入依赖的package包/类
@Override
public Class<? extends ILinkingService> bindILinkingService() {
return ScopeLinkingService.class;
}
开发者ID:dsldevkit,项目名称:dsl-devkit,代码行数:5,代码来源:ScopeRuntimeModule.java
示例9: bindILinkingService
import org.eclipse.xtext.linking.ILinkingService; //导入依赖的package包/类
/** {@inheritDoc} */
@Override
public Class<? extends ILinkingService> bindILinkingService() {
return FormatLinkingService.class;
}
开发者ID:dsldevkit,项目名称:dsl-devkit,代码行数:6,代码来源:FormatRuntimeModule.java
示例10: bindILinkingService
import org.eclipse.xtext.linking.ILinkingService; //导入依赖的package包/类
@Override
public Class<? extends ILinkingService> bindILinkingService() {
return CheckLinkingService.class;
}
开发者ID:dsldevkit,项目名称:dsl-devkit,代码行数:5,代码来源:CheckRuntimeModule.java
示例11: bindILinkingService
import org.eclipse.xtext.linking.ILinkingService; //导入依赖的package包/类
@Override
public Class<? extends ILinkingService> bindILinkingService() {
return GamlLinkingService.class;
}
开发者ID:gama-platform,项目名称:gama,代码行数:5,代码来源:GamlRuntimeModule.java
示例12: getLinkingService
import org.eclipse.xtext.linking.ILinkingService; //导入依赖的package包/类
protected ILinkingService getLinkingService() {
if (linkingService == null) {
linkingService = injector.getInstance(AgreeLinkingService.class);
}
return linkingService;
}
开发者ID:smaccm,项目名称:smaccm,代码行数:7,代码来源:AgreeAnnexLinkingService.java
示例13: bindILinkingService
import org.eclipse.xtext.linking.ILinkingService; //导入依赖的package包/类
/**
* Customized to add linking diagnostics to EObjectDescriptions that are specially marked.
*
* @return Class<{@link ErrorAwareLinkingService}>
*/
@Override
public Class<? extends ILinkingService> bindILinkingService() {
return ErrorAwareLinkingService.class;
}
开发者ID:eclipse,项目名称:n4js,代码行数:10,代码来源:N4JSRuntimeModule.java
注:本文中的org.eclipse.xtext.linking.ILinkingService类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论