Package q_impress.pmi.lib.project

Examples of q_impress.pmi.lib.project.IModelingProject


public class LoadSaveTests {

  @Test
  public void testSave() {
    IModelingProject project = new ModelingProject();
    project.setName("test-project");
    project.setConfigProperty("dummy-prop", "myvalue");
   
    UmlResource resource = new UmlResource();
    resource.setName("xmi.1");
    resource.setLocation("/home/goldivan/Documenti/poli/gallotti/Examples_Input/CaseStudyPolimi(ATOP).uml");
    resource.setConfigProperty("isXmiValid", "true");
    try {
      project.addResource(resource);
    } catch (ResourceException e) {
      e.printStackTrace();
      assertTrue(false);
    }
   
View Full Code Here

TOP

Related Classes of q_impress.pmi.lib.project.IModelingProject

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.