Package org.tuba.spatschorke.diploma.representation.ecoretoolsdiagram

Examples of org.tuba.spatschorke.diploma.representation.ecoretoolsdiagram.EcoreToolsGMFDiagramURI


    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);

    Assert.assertTrue(file.exists());
    Assert.assertTrue(file.getTotalSpace() > 0);
View Full Code Here


    if (representation == null
        || !EcoreToolsGMFDiagramURI.TYPE.equals(representation
            .getType()))
      return null;

    EcoreToolsGMFDiagramURI diagramURIRepresentation = (EcoreToolsGMFDiagramURI) representation;
    Diagram diagram = DiagramLoader.getDiagram(diagramURIRepresentation
        .getDiagramURI());
    return new EcoreToolsGMFDiagram(diagram);
  }
View Full Code Here

      return null;

    String fileName = model.getAbsolutePath()
        + ModelController.DIAGRAM_EXTENSION;

    return new EcoreToolsGMFDiagramURI(fileName);
  }
View Full Code Here

            domainElement, true, new NullProgressMonitor());
      }
    });

    new File(diagramURI.toFileString()).deleteOnExit();
    return new EcoreToolsGMFDiagramURI(diagramURI);
  }
View Full Code Here

TOP

Related Classes of org.tuba.spatschorke.diploma.representation.ecoretoolsdiagram.EcoreToolsGMFDiagramURI

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.