Package org.eclipse.xtext.xdoc.xdoc

Examples of org.eclipse.xtext.xdoc.xdoc.Document.eResource()


  @Override
  protected Document initDocFromFile(String string, String filename)
      throws Exception {
    Document doc = super.initDocFromFile(string, HTML_SRC + filename);
    URI uri = doc.eResource().getURI();
    URI appendSegment = uri.trimSegments(1).appendSegment(string+".xdoc");
    doc.eResource().setURI(appendSegment);
    return doc;
  }
View Full Code Here


  protected Document initDocFromFile(String string, String filename)
      throws Exception {
    Document doc = super.initDocFromFile(string, HTML_SRC + filename);
    URI uri = doc.eResource().getURI();
    URI appendSegment = uri.trimSegments(1).appendSegment(string+".xdoc");
    doc.eResource().setURI(appendSegment);
    return doc;
  }

  @Override
  protected void generate(EObject eObject) {
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.