Package jmt.gui.common.definitions

Examples of jmt.gui.common.definitions.CommonModel


            failureMotivation = FAIL_UNKNOWN;
            return FAILURE;
        }
      } else if (defaultFilter == JMVA) {
        // Handles loading of JMVA models
        CommonModel tmp = new CommonModel();
        switch (getXmlFileType(file.getAbsolutePath())) {
          case XML_SIM:
            XMLReader.loadModel(file, tmp);
            warnings.addAll(ModelConverter.convertJSIMtoJMVA(tmp, (ExactModel) modelData));
            fileFormat = CommonConstants.SIMENGINE;
View Full Code Here


    } catch (IOException e1) {
      logger.error("I/O error opening input JMVA model: " + e1.getMessage());
      return null;
    }
    logger.debug("Input model opened correctly...");
    CommonModel simModel = new CommonModel();
    List<String> warnings = ModelConverter.convertJMVAtoJSIM(exact, simModel);
    // Last element of warning is transform matrix
    for (int i = 0; i < warnings.size(); i++) {
      logger.warn("Warning during conversion: " + warnings.get(i));
    }
View Full Code Here

TOP

Related Classes of jmt.gui.common.definitions.CommonModel

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.