Package org.kite9.diagram.builders.java

Examples of org.kite9.diagram.builders.java.DiagramBuilder


  }

  @Kite9Item
  @Test
  public void test_8_1_MapExample1() throws IOException {
     DiagramBuilder db = createBuilder();
     db.withClasses(Example1.class)
     .show(db.asConnectedGlyphs())
     .withFields(db.onlyAnnotated(), false)
     .show(db.asConnectedGlyphs())
     .withType(null)
     .show(db.asConnectedGlyphs());
     renderDiagram(db.getDiagram());
  }
View Full Code Here


  }

  @Kite9Item
  @Test
  public void test_8_2_MapExample2() throws IOException {
    DiagramBuilder db = createBuilder();
    db.withClasses(Example2.class).show(db.asConnectedGlyphs()).withFields(db.onlyAnnotated(), false).show(db.asConnectedGlyphs())
        .withType(null).show(db.asConnectedGlyphs());
    renderDiagram(db.getDiagram());
  }
View Full Code Here

  }

  @Test
  @Kite9Item
  public void test_8_3_MapExample3() throws IOException {
    DiagramBuilder db = createBuilder();
    db.withClasses(Example3.class).show(db.asConnectedGlyphs()).withFields(db.onlyAnnotated(), false).show(db.asConnectedGlyphs())
        .withType(null).show(db.asConnectedGlyphs());
    renderDiagram(db.getDiagram());
  }
View Full Code Here

  }

  @Test
  @Kite9Item
  public void test_8_4_MapExample4() throws IOException {
    DiagramBuilder db = createBuilder();
    db.withClasses(Example4.class).show(db.asConnectedGlyphs()).withFields(db.onlyAnnotated(), true).show(db.asConnectedGlyphs())
        .withType(null).show(db.asConnectedGlyphs());
    renderDiagram(db.getDiagram());
  }
View Full Code Here

  }
 
  @Test
  @Kite9Item
  public void test_8_5_MapExample5() throws IOException {
    DiagramBuilder db = createBuilder();
    db.withClasses(Example5.class).show(db.asConnectedGlyphs()).withFields(db.onlyAnnotated(), true).show(db.asConnectedGlyphs())
        .withType(null).show(db.asConnectedGlyphs());
    renderDiagram(db.getDiagram());
  }
View Full Code Here

  }
 
  @Test
  @Kite9Item
  public void test_8_6_MapExample4AsText() throws IOException {
    DiagramBuilder db = createBuilder();
    db.withClasses(Example4.class).show(db.asConnectedGlyphs()).withFields(db.onlyAnnotated(), true).show(db.asTextLines())
        .withType(null).show(db.asTextLines());
    renderDiagram(db.getDiagram());
  }
View Full Code Here

    }
   
    @Test
    @Kite9Item
    public void test_9_6_AnnotationText() throws IOException {
  DiagramBuilder db = createBuilder();
  db.withClasses(SomeClass.class)
    .show(db.asConnectedGlyphs())
    .withAnnotations(null).show(db.asConnectedGlyphs());
  renderDiagram(db.getDiagram());
    }
View Full Code Here

  Method m = StackHelp.getKite9Item();
  Properties p = new Properties();
  p.setProperty(SomeOtherClass.class.getSimpleName(), "aliased some_other");
  PropertyAliaser a = new PropertyAliaser();
  a.setProperties(p);
  DiagramBuilder db = new DiagramBuilder(a, m, pmi);
  db.withClasses(SomeOtherClass.class).show(db.asConnectedGlyphs());
  renderDiagram(db.getDiagram());
    }
View Full Code Here

    class SomeClassB {}
   
  @Test
  @Kite9Item
  public void test_10_1_StringGlyph() throws IOException {
      DiagramBuilder db = createBuilder();
      db.withObjects("a", "b", "c").show(db.asConnectedGlyphs());
      renderDiagram(db.getDiagram());
  }
View Full Code Here

  }
 
  @Test
  @Kite9Item
  public void test_10_1_StringContext() throws IOException {
      DiagramBuilder db = createBuilder();
      db.withObjects("m context")
        .show(db.asConnectedContexts())
        .withClasses(JavaRelationships.CLASS, SomeClassA.class)
          .show(db.asConnectedGlyphs());
      renderDiagram(db.getDiagram());
  }
View Full Code Here

TOP

Related Classes of org.kite9.diagram.builders.java.DiagramBuilder

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.