Java 类org.eclipse.xtext.linking.impl.LinkingHelper 实例源码

项目:xtext-core    文件:PartialLinkingTest.java   
protected void replaceLinker(XtextResource resource) {
    Linker linker = new Linker();
    DefaultLinkingService linkingService = new DefaultLinkingService();
    getInjector().injectMembers(linkingService);
    linkingService.setScopeProvider(this);
    linker.setLinkingService(linkingService);
    linker.setDiagnosticMessageProvider(new LinkingDiagnosticMessageProvider());
    linker.setLinkingHelper(getInjector().getInstance(LinkingHelper.class));
    resource.setLinker(linker);
}
项目:xtext-core    文件:LazyLinkingResource.java   
protected DiagnosticMessageContext(Triple<EObject, EReference, INode> triple, LinkingHelper helper) {
    this.triple = triple;
    this.linkingHelper = helper;
}
项目:xtext-core    文件:LazyLinkingResource.java   
public LinkingHelper getLinkingHelper() {
    return linkingHelper;
}
项目:xtext-core    文件:LazyLinkingResource.java   
public void setLinkingHelper(LinkingHelper linkingHelper) {
    this.linkingHelper = linkingHelper;
}
项目:statecharts    文件:AbstractSCTResource.java   
protected DiagnosticMessageContext(Triple<EObject, EReference, INode> triple, LinkingHelper helper) {
    this.triple = triple;
    this.linkingHelper = helper;
}