Package org.tinyuml.umldraw.structure

Examples of org.tinyuml.umldraw.structure.UmlDiagram


  /**
   * Creates a new model.
   */
  private void newModel() {
    umlModel.reset();
    UmlDiagram diagram = new UmlDiagram(elementFactory);
    diagram.setLabelText("Class diagram 1");
    tabbedPane.removeAll();
    createEditor(diagram);
  }
View Full Code Here


      int targetShapeId = Integer.valueOf(attributes.getValue("target"));
      currentConnection.setNode1(shapeMap.get(sourceShapeId));
      currentConnection.setNode2(shapeMap.get(targetShapeId));
      diagram.addChild(currentConnection);
    } else if ("diagram".equals(qName)) {
      diagram = new UmlDiagram(elementFactory);
      diagrams.add(diagram);
    }
  }
View Full Code Here

TOP

Related Classes of org.tinyuml.umldraw.structure.UmlDiagram

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.