Java 类org.eclipse.xtext.linking.ILinkingService 实例源码

项目:dsl-devkit    文件:ScopingFragment.java   
/** {@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();
}
项目:Saturn    文件:KronusRuntimeModule.java   
@Override
public Class<? extends ILinkingService> bindILinkingService() {
    return KronusLinkingService.class;
}
项目:xtext-extras    文件:AbstractXtextTests.java   
protected ILinkingService getLinkingService() {
    return getInjector().getInstance(ILinkingService.class);
}
项目:xtext-core    文件:DefaultRuntimeModule.java   
public Class<? extends ILinkingService> bindILinkingService() {
    return DefaultLinkingService.class;
}
项目:xtext-core    文件:LazyLinkingResource.java   
public void setLinkingService(ILinkingService linkingService) {
    this.linkingService = linkingService;
}
项目:xtext-core    文件:LazyLinkingResource.java   
public ILinkingService getLinkingService() {
    return linkingService;
}
项目:xtext-core    文件:Linker.java   
public ILinkingService getLinkingService() {
    return linkingService;
}
项目:xtext-core    文件:Linker.java   
public void setLinkingService(ILinkingService linkingService) {
    this.linkingService = linkingService;
}
项目:xtext-core    文件:XtextRuntimeModule.java   
@Override
public Class<? extends ILinkingService> bindILinkingService() {
    return XtextLinkingService.class;
}
项目:xtext-core    文件:XtextTerminalsTestLanguageRuntimeModule.java   
@Override
public Class<? extends ILinkingService> bindILinkingService() {
    return XtextLinkingService.class;
}
项目:xtext-core    文件:AbstractXtextTests.java   
protected ILinkingService getLinkingService() {
    return getInjector().getInstance(ILinkingService.class);
}
项目:dsl-devkit    文件:ScopeRuntimeModule.java   
@Override
public Class<? extends ILinkingService> bindILinkingService() {
  return ScopeLinkingService.class;
}
项目:dsl-devkit    文件:FormatRuntimeModule.java   
/** {@inheritDoc} */
@Override
public Class<? extends ILinkingService> bindILinkingService() {
  return FormatLinkingService.class;
}
项目:dsl-devkit    文件:CheckRuntimeModule.java   
@Override
public Class<? extends ILinkingService> bindILinkingService() {
  return CheckLinkingService.class;
}
项目:gama    文件:GamlRuntimeModule.java   
@Override
public Class<? extends ILinkingService> bindILinkingService() {
    return GamlLinkingService.class;
}
项目:smaccm    文件:AgreeAnnexLinkingService.java   
protected ILinkingService getLinkingService() {
    if (linkingService == null) {
        linkingService = injector.getInstance(AgreeLinkingService.class);
    }
    return linkingService;
}
项目:n4js    文件:N4JSRuntimeModule.java   
/**
 * Customized to add linking diagnostics to EObjectDescriptions that are specially marked.
 *
 * @return Class<{@link ErrorAwareLinkingService}>
 */
@Override
public Class<? extends ILinkingService> bindILinkingService() {
    return ErrorAwareLinkingService.class;
}