Examples of IteratorList


Examples of org.openiaml.model.model.visual.IteratorList

    setGeneratedBy(list, by);
    return list;
  }
 
  public IteratorList generatedIteratorList(GeneratesElements by, VisibleThing container) throws InferenceException {
    IteratorList list = (IteratorList) createElement( container, VisualPackage.eINSTANCE.getIteratorList(), ModelPackage.eINSTANCE.getVisibleThing_Children() );
    setGeneratedBy(list, by);
    return list;
  }
View Full Code Here

Examples of org.openiaml.model.model.visual.IteratorList

    DomainInstance instance = iterator.getCurrentInstance();
    assertGenerated(instance);
    InputForm containerForm = assertHasInputForm(home, "Select Contact");

    // same name as the iterator
    IteratorList list = assertHasIteratorList(containerForm, "Select Contact");
    assertGenerated(list);

    // connected by SetWire
    assertGenerated(assertHasSetWire(root, iterator, list));
View Full Code Here

Examples of org.openiaml.model.model.visual.IteratorList

    DomainType schema = assertHasDomainType(root, "Contacts");
    DomainAttribute aemail = assertHasDomainAttribute(schema, "email");
    Frame home = assertHasFrame(root, "Home");
    InputForm containerForm = assertHasInputForm(home, "Select Contact");
    IteratorList list = assertHasIteratorList(containerForm, "Select Contact");
    Label lname = assertHasLabel(list, "name");
    Label lemail = assertHasLabel(list, "email");

    // for 'name' label
    Label targetLabel = lname;
View Full Code Here

Examples of org.openiaml.model.model.visual.IteratorList

    DomainType schema = assertHasDomainType(root, "Contacts");
    DomainAttribute aemail = assertHasDomainAttribute(schema, "email");
    Frame home = assertHasFrame(root, "Home");
    InputForm containerForm = assertHasInputForm(home, "Select Contact");
    IteratorList list = assertHasIteratorList(containerForm, "Select Contact");
    Label lemail = assertHasLabel(list, "email");

    // for 'name' label
    Label targetLabel = lemail;
View Full Code Here

Examples of org.openiaml.model.model.visual.IteratorList

   */
  public void testFrameOnAccessHidesIteratorList() throws Exception {

    Frame home = assertHasFrame(root, "Home");
    InputForm containerForm = assertHasInputForm(home, "Select Contact");
    IteratorList list = assertHasIteratorList(containerForm, "Select Contact");
    InputTextField input = assertHasInputTextField(containerForm, "Search by name");

    Event onAccess = home.getOnAccess();
    assertGenerated(onAccess);

View Full Code Here

Examples of org.openiaml.model.model.visual.IteratorList

   * @throws Exception
   */
  public void testOnChangeShowsList() throws Exception {
    Frame home = assertHasFrame(root, "Home");
    InputForm containerForm = assertHasInputForm(home, "Select Contact");
    IteratorList list = assertHasIteratorList(containerForm, "Select Contact");
    InputTextField input = assertHasInputTextField(containerForm, "Search by name");

    Event onChange = input.getOnChange();

    // only if the input is empty
View Full Code Here

Examples of org.openiaml.model.model.visual.IteratorList

   * @throws Exception
   */
  public void testClickResetsFieldValue() throws Exception {
    Frame home = assertHasFrame(root, "Home");
    InputForm containerForm = assertHasInputForm(home, "Select Contact");
    IteratorList list = assertHasIteratorList(containerForm, "Select Contact");
    Label targetLabel = assertHasLabel(list, "email");
    Event onClick = targetLabel.getOnClick();

    InputTextField input = assertHasInputTextField(containerForm, "Search by name");

View Full Code Here

Examples of org.openiaml.model.model.visual.IteratorList

    Frame target = assertHasFrame(root, "Target Frame");

    DomainIterator iterator = assertHasDomainIterator(home, "Iterator");
    assertEquals(3, iterator.getLimit());

    IteratorList list = assertHasIteratorList(home, "List");
    assertHasSetWire(root, iterator, list);

    assertHasDetailWire(root, list, target);

    assertNotGenerated(home, schema, attr, target, iterator, list);
View Full Code Here

Examples of org.openiaml.model.model.visual.IteratorList

   * @throws Exception
   */
  public void testContentsOfList() throws Exception {

    Frame home = assertHasFrame(root, "Home");
    IteratorList list = assertHasIteratorList(home, "List");

    DomainType schema = assertHasDomainType(root, "schema");

    // a generated primary key
    assertHasDomainAttribute(schema, "generated primary key");
View Full Code Here

Examples of org.openiaml.model.model.visual.IteratorList

   */
  public void testLinkButtonOnList() throws Exception {

    Frame home = assertHasFrame(root, "Home");
    Frame target = assertHasFrame(root, "Target Frame");
    IteratorList list = assertHasIteratorList(home, "List");
    Label hpk = assertHasLabel(list, "generated primary key");

    Button link = assertHasButton(list, "link");
    assertGenerated(link);

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.