Package jSimMacs.data

Examples of jSimMacs.data.CommandStep


    data.setRemovePBC(removePBC.isSelected());
    data.setViewOutput(viewOutput.isSelected());
  }

  public void updateData() {
    CommandStep prevData = project.getType().getCommandData().get(pos - 1);
    // if (prevData instanceof Pdb2gmxData) {
    // Pdb2gmxData pdb2gmxData = (Pdb2gmxData) prevData;
    //     
    // }
    inputField.setText(prevData.getOutput());
  }
View Full Code Here


  public void setUpWizard(JSimRunWizard wizard, Project project) {
    wizard.setProject(project);
    ProjectType type = project.getType();

    for (int i = 0; i < type.getCommandData().size(); ++i) {
      CommandStep cmdStep = type.getCommandData().get(i);
      if (cmdStep instanceof Pdb2gmxData) {
        wizard.addTab(type.getCommandData().get(i).getName(),
            new Pdb2gmxPanel(project, i));
      }
      if (cmdStep instanceof EditconfData) {
View Full Code Here

    data.setShell(Double.parseDouble(shellField.getText()));
    data.setAdditionalCommand(textCommandPanel.getTextCommandField());
  }

  public void updateData() {
    CommandStep prevData = project.getType().getCommandData().get(pos - 1);
//    if (prevData instanceof EditconfData) {
//      EditconfData editconfData = (EditconfData) prevData;
//     
//    }
    inputField.setText(prevData.getOutput());
    inputTopolField.setText(project.getType().getTopologyFile());

  }
View Full Code Here

    data.setSort(sort.isSelected());
    data.setVerbose(verbose.isSelected());
  }

  public void updateData() {
    CommandStep prevData = project.getType().getCommandData().get(pos - 1);
    if (prevData instanceof SimStepData) {
      SimStepData simStepData = (SimStepData) prevData;
      MdrunData mdrunData = simStepData.getMdrunData();
      inputField.setText(mdrunData.getOutputStructure());
    }
    else{
      inputField.setText(prevData.getOutput());
    }
    inputTopolField.setText(project.getType().getTopologyFile());
  }
View Full Code Here

TOP

Related Classes of jSimMacs.data.CommandStep

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.