Package de.itemis.tooling.xturtle.xturtle

Examples of de.itemis.tooling.xturtle.xturtle.Resource.eIsProxy()


  public boolean createReferenceDescriptions(final EObject from,
      URI exportedContainerURI, IAcceptor<IReferenceDescription> acceptor) {
    if(from instanceof ResourceRef){
      //add to the index pointers to ALL external subjects that have the given qualified name
      Resource ref = ((ResourceRef) from).getRef();
      if(ref !=null && !ref.eIsProxy()){
        URI fromUri=from.eResource().getURI();
        URI containerUri = getExportedSubjectUri(from);
        QualifiedName name = getQualifiedNameProvider().getFullyQualifiedName(ref);
        IResourceDescriptions index = resourceDescriptionsProvider.getResourceDescriptions(from.eResource().getResourceSet());
        Iterable<IEObjectDescription> matches = index.getExportedObjectsByType(XturtlePackage.Literals.RESOURCE);//, name, false);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.