Examples of IModelingProject


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
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.