Package org.tuba.spatschorke.diploma.operation.ecoretools.generatediagram

Examples of org.tuba.spatschorke.diploma.operation.ecoretools.generatediagram.Operation.process()


    String curDir = System.getProperty("user.dir"); //$NON-NLS-1$
    String modelFile = curDir + "/test/CompositePattern.ecore"; //$NON-NLS-1$
    EcoreModelRepresentation model = new EcoreModelRepresentation(modelFile);

    Operation operation = new Operation();
    IArtefactRepresentation artefact = operation.process(model, null);
    Assert.assertNotNull(artefact);

    EcoreToolsGMFDiagramURI diagram = (EcoreToolsGMFDiagramURI) artefact;
    String fileName = diagram.getDiagramURI().toFileString();
    File file = new File(fileName);
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.