Package de.itemis.tooling.xturtle.xturtle

Examples of de.itemis.tooling.xturtle.xturtle.Subject


  //Using its URI in the reference description ensures that "find references" gives
  //a (more) meaningful label in the search result view
  private URI getExportedSubjectUri(EObject ref) {
    Triples triples = EcoreUtil2.getContainerOfType(ref, Triples.class);
    if(triples!=null){
      Subject subject = triples.getSubject();
      if(subject instanceof Resource){
        org.eclipse.emf.ecore.resource.Resource res = subject.eResource();
        return res.getURI().appendFragment(res.getURIFragment(subject));
      }
    }
    return null;
  }
View Full Code Here

TOP

Related Classes of de.itemis.tooling.xturtle.xturtle.Subject

Copyright © 2018 www.massapicom. 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.