use of org.eclipse.xtext.example.domainmodel.ui.editor.hierarchy.AssociationHierarchyBuilder in project xtext-eclipse by eclipse.
the class OpenAssociationHierarchyHandler method createHierarchyBuilder.
@Override
protected IHierarchyBuilder createHierarchyBuilder(final EObject target) {
final AssociationHierarchyBuilder xtextCallHierarchyBuilder = this._iGlobalServiceProvider.<AssociationHierarchyBuilder>findService(target, AssociationHierarchyBuilder.class);
xtextCallHierarchyBuilder.setResourceAccess(this.resourceAccess);
xtextCallHierarchyBuilder.setIndexData(this._iGlobalServiceProvider.<IResourceDescriptions>findService(target, IResourceDescriptions.class));
final DeferredHierarchyBuilder deferredHierarchyBuilder = this._iGlobalServiceProvider.<DeferredHierarchyBuilder>findService(target, DeferredHierarchyBuilder.class);
deferredHierarchyBuilder.setHierarchyBuilder(xtextCallHierarchyBuilder);
return deferredHierarchyBuilder;
}
Aggregations