Examples of addLookupPath()


Examples of org.sintef.umt.transformer.XMLUtility.addLookupPath()

            hutntext.setStyledInput(String.valueOf(data), "XMI-Light representation");
          } catch (Exception ex){
            output.addLine ("Error reading file: " + _inputFile.getAbsolutePath() + " - " + ex.getMessage ());
          }   
          XMLUtility util = new XMLUtility (output)
          util.addLookupPath(UMTMain.resource_dir);
          if (!UMTMain.environmentIsEmbedded())
            util.doSAXParseValidate(hutntext.getReader());
          hutneditor.setLoading(false);       
      } else if (name.equalsIgnoreCase("openXmiLightString")) {
          hutneditor.setLoading(true);
View Full Code Here

Examples of org.sintef.umt.transformer.XMLUtility.addLookupPath()

          hutneditor.setLoading(true);
          Reader r = new StringReader (_buffer);
          hutneditor.openHutnReader(r, "");
          hutntext.setStyledInput(_buffer, "Reversed XMI Light")
          XMLUtility util = new XMLUtility (output)
          util.addLookupPath(UMTMain.resource_dir);
          if (!UMTMain.environmentIsEmbedded())
            util.doSAXParseValidate(hutntext.getReader());
          hutneditor.setLoading(false);         
      }
      setPositionForTextView(0);     
View Full Code Here

Examples of org.sintef.umt.transformer.XMLUtility.addLookupPath()

      else
        xsltfile = new File (uml2xmi2xmilight);
      // TODO : remove copyResourcesToTarget
      // copyResourcesToTarget (xmisource);   
      XMLUtility xmlutility = new XMLUtility(output);
      xmlutility.addLookupPath(UMTMain.resource_dir);     
      hutn = xmlutility.transform(xmisource, xsltfile)
//      if (!UMTMain.environmentIsEmbedded())
      xmlutility.doSAXParseValidate(new StringReader(hutn));
      xmlutility = null;
      xsltfile = null;
View Full Code Here

Examples of org.sintef.umt.transformer.XMLUtility.addLookupPath()

  public String xmiTransform (Reader xmisource) {
    String hutn = null;   
    try {
      File xsltfile = new File (xmi2xmilight);
      XMLUtility xmlutility = new XMLUtility(output);
      xmlutility.addLookupPath(UMTMain.resource_dir);
      if (xsltfile.getParentFile() != null)
        xmlutility.addLookupPath(xsltfile.getParentFile().getAbsolutePath());
      Reader xsltreader = null;
      try {
        xsltreader = new FileReader (xsltfile);
View Full Code Here

Examples of org.sintef.umt.transformer.XMLUtility.addLookupPath()

    try {
      File xsltfile = new File (xmi2xmilight);
      XMLUtility xmlutility = new XMLUtility(output);
      xmlutility.addLookupPath(UMTMain.resource_dir);
      if (xsltfile.getParentFile() != null)
        xmlutility.addLookupPath(xsltfile.getParentFile().getAbsolutePath());
      Reader xsltreader = null;
      try {
        xsltreader = new FileReader (xsltfile);
      } catch (IOException ioex) {
      }
View Full Code Here

Examples of org.sintef.umt.transformer.XMLUtility.addLookupPath()

      }     
      hutntext.setHutnInput (nonxml, "'PIM' Representation");
    } else if (source.getActionCommand().equalsIgnoreCase("validate")) {
      output.clear();
      XMLUtility xmlutility = new XMLUtility (output);
      xmlutility.addLookupPath(UMTMain.resource_dir);     
      xmlutility.doSAXParseValidate(hutntext.getReader());
    } else if (source.getActionCommand().equalsIgnoreCase("increaseFont")){
      hutntext.increaseFont();
    } else if (source.getActionCommand().equalsIgnoreCase("decreaseFont")) {
      hutntext.decreaseFont();
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.