Package org.openiaml.model.diagram.part

Examples of org.openiaml.model.diagram.part.IamlDiagramEditor


    // if this is actually an ErrorEditPart, then an error has occured
    // (but it may not be obvious in the log what it is)
    assertTrue("active editor is our plugin, but is " + ep, ep instanceof IamlDiagramEditor);

    // find what elements are displayed
    IamlDiagramEditor editor = (IamlDiagramEditor) ep;

    // there should be four children
    assertEditorHasChildren(4, editor);

    // check the contents
View Full Code Here


    // if this is actually an ErrorEditPart, then an error has occured
    // (but it may not be obvious in the log what it is)
    assertEditorRoot(ep);

    // find what elements are displayed
    IamlDiagramEditor editor = (IamlDiagramEditor) ep;
    {
      InternetApplicationEditPart iep = (InternetApplicationEditPart) editor.getDiagramEditPart();
      assertNotNull(iep);
      assertEquals("InternetApplication", iep.getBreadcrumb()); // it has no name
    }

    // check the contents
View Full Code Here

TOP

Related Classes of org.openiaml.model.diagram.part.IamlDiagramEditor

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.