Package org.openiaml.model.model.visual

Examples of org.openiaml.model.model.visual.Button


    // we need to reverse 'empty' into Function 'not empty'
    ActivityPredicate notEmpty = assertHasActivityPredicate(instance, "not empty");
    assertGenerated(notEmpty);

    Button first = assertHasButton(form, "First");

    Event onClick = first.getOnClick();
    assertGenerated(onClick);

    ECARule run = assertHasRunAction(root, onClick, ireset);
    assertGenerated(run);
View Full Code Here


    // we need to reverse 'empty' into Function 'not empty'
    ActivityPredicate notEmpty = assertHasActivityPredicate(instance, "not empty");
    assertGenerated(notEmpty);

    // we need to convert 'results' into a jump target (results-1)
    Button last = assertHasButton(form, "Last");

    Event onClick = last.getOnClick();
    assertGenerated(onClick);

    ECARule run = assertHasRunAction(root, onClick, ijump);
    assertGenerated(run);
View Full Code Here

    // we need to reverse 'empty' into Function 'not empty'
    ActivityPredicate notEmpty = assertHasActivityPredicate(instance, "not empty");
    assertGenerated(notEmpty);

    // we need to convert 'results' into a jump target (results-1)
    Button last = assertHasButton(form, "Last");

    Event onClick = last.getOnClick();

    ActivityOperation op = assertHasActivityOperation(last, "update target");
    assertGenerated(op);

    ECARule update = assertHasRunAction(root, onClick, op);
View Full Code Here

    Frame home = assertHasFrame(root, "Home");
    InputForm form = assertHasInputForm(home, "view news");
    DomainIterator instance = assertHasDomainIterator(home, "view news");
    Value results = instance.getResults();

    Button last = assertHasButton(form, "Last");
    ActivityOperation op = assertHasActivityOperation(last, "update target");
    Value target = assertHasValue(last, "target");

    StartNode start = assertHasStartNode(op);
    FinishNode finish = assertHasFinishNode(op);
View Full Code Here

      // the form should have an 'email' and 'password' field
      InputTextField email = assertHasInputTextField(loginForm, "email");
      InputTextField password = assertHasInputTextField(loginForm, "password");

      // and a login button
      Button button = assertHasButton(loginForm, "Login");

      // calls 'do login'
      Operation doLogin = assertHasOperation(loginSession, "do login");
      ECARule call = assertHasECARule(root, button, doLogin, "onClick");
View Full Code Here

   */
  public void testInitial() throws Exception {

    Frame home = assertHasFrame(root, "Home");

    Button target = assertHasButton(home, "target");
    Button set = assertHasButton(home, "set visibility");

    // they have properties
    assertHasValue(target, "visible");
    assertHasValue(set, "visible");

View Full Code Here

   */
  public void testSetVisibleOperationGenerated() throws Exception {

    Frame home = assertHasFrame(root, "Home");

    Button set = assertHasButton(home, "set visibility");

    // they have properties
    assertHasValue(set, "visible");

    // no operation generated for 'set visibility' button yet
View Full Code Here

    InputForm source = assertHasInputForm(home, "source");

    // test contents
    InputTextField a = assertHasInputTextField(source, "a");
    InputTextField b = assertHasInputTextField(source, "b");
    Button c = assertHasButton(source, "c");
    Label d = assertHasLabel(source, "d");
    InputTextField e = assertHasInputTextField(source, "e");
    assertNotGenerated(a, b, c, d, e);

    InputForm sync1 = assertHasInputForm(home, "sync target");
View Full Code Here

    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);

    Event onClick = link.getOnClick();
    assertGenerated(onClick);

    ECARule edge = assertHasECARule(root, onClick, target);
    assertGenerated(link);
View Full Code Here

    // with a "login key" property
    InputTextField field = assertHasInputTextField(form, "login key");
    assertGenerated(field);

    // there should be a login button
    Button button = assertHasButton(form, "Login");
    assertGenerated(button);

    // a generated operation will handle the login
    Operation op = assertHasOperation(loginSession, "do login");
    assertGenerated(op);
View Full Code Here

TOP

Related Classes of org.openiaml.model.model.visual.Button

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.