Package org.tinyuml.ui.diagram

Examples of org.tinyuml.ui.diagram.StructureDiagramEditor


  public EditorPanel openNewStructureEditor(UmlModel umlModel) {
    GeneralDiagram diagram = new StructureDiagram(umlModel);
    diagram.setLabelText(ApplicationResources.getInstance().getString(
      "stdcaption.structurediagram") + " " + (structureCounter++));
    umlModel.addDiagram(diagram);
    return createEditorPanel(new StructureDiagramEditor(
      shell.getShellComponent(), diagram),
      new StaticStructureEditorToolbarManager());
  }
View Full Code Here


   * Opens a structure editor for an existing diagram.
   * @param diagram the diagram
   * @return the editor panel
   */
  public EditorPanel openStructureEditor(GeneralDiagram diagram) {
    return createEditorPanel(new StructureDiagramEditor(
      shell.getShellComponent(), diagram),
      new StaticStructureEditorToolbarManager());
  }
View Full Code Here

TOP

Related Classes of org.tinyuml.ui.diagram.StructureDiagramEditor

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.