Package eu.irmosproject.ascd.transformation

Examples of eu.irmosproject.ascd.transformation.MOFScriptTransformer


    //MOFScriptExecutor exec = new MOFScriptExecutor(ecoreFile, transformationPath);
//    MOFScriptTransformer exec = new MOFScriptTransformer(new File ("/transformations/ApplicationInstance2ASLA.m2t"));
//    MOFScriptTransformer exec = new MOFScriptTransformer(new File ("ApplicationInstance2ASLA.m2t"));
    // MOFScriptTransformer exec = new MOFScriptTransformer(new File ("C:/Papyrus-1.11.0/workspace/runtime-EclipseApplication/test/ApplicationInstance2ASLA.m2t"));
   
    MOFScriptTransformer exec = new MOFScriptTransformer(new File ("C:/MOD/IRMOS/Papyrus-1.11.0/workspace/ASCD_Examples/ELearningScenario/ApplicationInstance2ASLA.m2t"));
   
   
   
  //  outputDir = ecoreFile.substring(0, ecoreFile.lastIndexOf("\\"));
  //  outputDir = outputDir + "\\ASCD\\";
   
    //exec.execute(outputDir);
    File f = new File(fileURI.toFileString());
    exec.executeTransformation(f, "c:/temp");
   
    try{
      _selectedFile.getParent().refreshLocal(IResource.DEPTH_INFINITE, null);
    } catch (CoreException e) {
      e.printStackTrace();
View Full Code Here

TOP

Related Classes of eu.irmosproject.ascd.transformation.MOFScriptTransformer

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.