Package org.molgenis.framework.ui.html

Examples of org.molgenis.framework.ui.html.ActionInput


  @Override
  public List<ActionInput> getActions()
  {
    List<ActionInput> inputs = new ArrayList<ActionInput>();

    ActionInput submit = new ActionInput("Add", ActionInput.Type.SAVE);
    submit.setValue("upload_csv");
    submit.setIcon("generated-res/img/save.png");
    submit.setDescription("Store the data");
    inputs.add(submit);

    ActionInput cancel = new ActionInput("Cancel", ActionInput.Type.CLOSE);
    cancel.setIcon("generated-res/img/cancel.png");
    cancel.setDescription("Cancel adding data");
    inputs.add(cancel);

    return inputs;
  }
View Full Code Here


  @Override
  public List<ActionInput> getActions()
  {
    List<ActionInput> inputs = new ArrayList<ActionInput>();

    ActionInput submit = new ActionInput("Update", ActionInput.Type.SAVE);
    submit.setValue(this.getName());
    submit.setIcon("generated-res/img/save.png");
    submit.setDescription("Save the changes.");
    inputs.add(submit);

    ActionInput cancel = new ActionInput("Cancel", ActionInput.Type.CLOSE);
    cancel.setIcon("generated-res/img/cancel.png");
    submit.setDescription("Cancel the changes.");
    inputs.add(cancel);

    return inputs;
  }
View Full Code Here

    List<ActionInput> inputs = new ArrayList<ActionInput>();

    // HiddenInput inDialog = new HiddenInput("__indialog","add");
    // inputs.add(inDialog);

    ActionInput submit = new ActionInput("add", ActionInput.Type.NEXT);
    submit.setIcon("generated-res/img/save.png");
    inputs.add(submit);

    ActionInput cancel = new ActionInput("", ActionInput.Type.CLOSE);
    cancel.setIcon("generated-res/img/cancel.png");
    inputs.add(cancel);

    return inputs;
  }
View Full Code Here

    List<ActionInput> inputs = new ArrayList<ActionInput>();

    // HiddenInput inDialog = new HiddenInput("__indialog","add");
    // inputs.add(inDialog);

    ActionInput submit = new ActionInput("Add", ActionInput.Type.SAVE);
    submit.setValue("edit_new");
    submit.setIcon("generated-res/img/save.png");
    inputs.add(submit);

    ActionInput cancel = new ActionInput("cancel", ActionInput.Type.CLOSE);
    cancel.setIcon("generated-res/img/cancel.png");
    inputs.add(cancel);

    return inputs;
  }
View Full Code Here

  @Override
  public List<ActionInput> getActions()
  {
    List<ActionInput> inputs = new ArrayList<ActionInput>();

    ActionInput submit = new ActionInput("Add", ActionInput.Type.SAVE);
    submit.setValue("upload_csvfile");
    submit.setIcon("generated-res/img/save.png");
    submit.setDescription("Store the data from the CSV file");
    inputs.add(submit);

    ActionInput cancel = new ActionInput("Cancel", ActionInput.Type.CLOSE);
    cancel.setIcon("generated-res/img/cancel.png");
    submit.setDescription("Cancel the CSV upload");
    inputs.add(cancel);

    return inputs;
  }
View Full Code Here

TOP

Related Classes of org.molgenis.framework.ui.html.ActionInput

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.