Examples of NoLayoutSequenceDiagramWizard


Examples of org.kite9.diagram.builders.wizards.sequence.NoLayoutSequenceDiagramWizard

  @Kite9Item
  public Diagram example_1_11_MethodCallDiagramMethods(DiagramBuilder db) throws Exception {
    Method m = LibraryFacade.class.getDeclaredMethod("borrow", int.class, int.class);
    final String packageLimit = Book.class.getPackage().getName();
    MethodBasedSequenceDiagramDataProvider mbsddp = createMethodProvider(db, m, packageLimit);
    NoLayoutSequenceDiagramWizard format = new NoLayoutSequenceDiagramWizard(db);
    format.write(mbsddp, db.getDiagram());
    return db.getDiagram();
  }
View Full Code Here

Examples of org.kite9.diagram.builders.wizards.sequence.NoLayoutSequenceDiagramWizard

  @Kite9Item
  public Diagram example_1_12_MethodCallDiagramClasses(DiagramBuilder db) throws Exception {
    Method m = LibraryFacade.class.getDeclaredMethod("borrow", int.class, int.class);
    final String packageLimit = Book.class.getPackage().getName();
    ClassBasedSequenceDiagramDataProvider mbsddp = createClassProvider(db, m, packageLimit);
    NoLayoutSequenceDiagramWizard format = new NoLayoutSequenceDiagramWizard(db);
    format.write(mbsddp, db.getDiagram());
    db.withKeyText("BorrowBook", "Exception routes are ommitted for clarity");
    return db.getDiagram();
  }
View Full Code Here

Examples of org.kite9.diagram.builders.wizards.sequence.NoLayoutSequenceDiagramWizard

  public void test_16_3_CreateUnformattedSequenceDiagram() throws Exception {
    DiagramBuilder db = createBuilder();
    Context c = (Context) db.getInsertionInterface().returnContext(db.getDiagram(), db.getNounFactory().createNoun("Some context"), null, true, null);
    Method m = this.getClass().getDeclaredMethod("someMethod1");
    MethodBasedSequenceDiagramDataProvider mbsddp = new MethodBasedSequenceDiagramDataProvider(db, m);
    NoLayoutSequenceDiagramWizard format = new NoLayoutSequenceDiagramWizard(db);
    format.write(mbsddp, c);
    renderDiagram(db.getDiagram());
  }
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.