Package org.kite9.diagram.builders.java

Examples of org.kite9.diagram.builders.java.DiagramBuilder.asConnectedGlyphs()


    @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());
    }
   
    @Test
    @Kite9Item
View Full Code Here


  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());
    }
   
    @Before
    public void setUpModel() {
View Full Code Here

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

  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());
  }
 
  @Test
  @Kite9Item
View Full Code Here

  @Test
  @Kite9Item
  public void test_10_3_Note() throws IOException {
      DiagramBuilder db = createBuilder();
      db.withClasses(SomeClassA.class, SomeClassB.class)
        .show(db.asConnectedGlyphs())
        .withObjects(new Relationship("observes"), "The 10 second rule")
        .show(db.asConnectedGlyphs("note"));
      renderDiagram(db.getDiagram());
  }
}
View Full Code Here

  public void test_10_3_Note() throws IOException {
      DiagramBuilder db = createBuilder();
      db.withClasses(SomeClassA.class, SomeClassB.class)
        .show(db.asConnectedGlyphs())
        .withObjects(new Relationship("observes"), "The 10 second rule")
        .show(db.asConnectedGlyphs("note"));
      renderDiagram(db.getDiagram());
  }
}
View Full Code Here

  @Test
  @Kite9Item
  public void test_6_5_ClassCalledMethodRelationship() throws IOException {
    DiagramBuilder db = createBuilder();
    db.withClasses(A.class).show(db.asConnectedGlyphs()).withCalledMethods(null, true).show(db.asConnectedGlyphs());

    renderDiagram(db.getDiagram());
  }

  @Test
View Full Code Here

  @Test
  @Kite9Item
  public void test_6_5_ClassCalledMethodRelationship() throws IOException {
    DiagramBuilder db = createBuilder();
    db.withClasses(A.class).show(db.asConnectedGlyphs()).withCalledMethods(null, true).show(db.asConnectedGlyphs());

    renderDiagram(db.getDiagram());
  }

  @Test
View Full Code Here

  @Test
  @Kite9Item
  public void test_6_6_ClassCallerMethodRelationship() throws IOException {
    DiagramBuilder db = createBuilder();
    db.withClasses(B.class).show(db.asConnectedGlyphs()).withCallingMethods(null, true).show(db.asConnectedGlyphs());

    renderDiagram(db.getDiagram());
  }

  @Test
View Full Code Here

  @Test
  @Kite9Item
  public void test_6_6_ClassCallerMethodRelationship() throws IOException {
    DiagramBuilder db = createBuilder();
    db.withClasses(B.class).show(db.asConnectedGlyphs()).withCallingMethods(null, true).show(db.asConnectedGlyphs());

    renderDiagram(db.getDiagram());
  }

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