Package jSimMacs.data

Examples of jSimMacs.data.SimStepData


  private ProjectType createEmptyProjectType() {
    ProjectType type = new ProjectType(JSimConstants.EMPTYPROJECTSTRING);
    type.getCommandData().add(new Pdb2gmxData());
    type.getCommandData().add(new EditconfData());
    type.getCommandData().add(new GenboxData());
    type.getCommandData().add(new SimStepData());
    return type;
  }
View Full Code Here


      if (attributes.getValue(XMLConstants.COMMANDOPTIONS) != null) {
        genboxData.setAdditionalCommand(attributes
            .getValue(XMLConstants.COMMANDOPTIONS));
      }
    } else if (name.equalsIgnoreCase(XMLConstants.SIMSTEP)) {
      simStepData = new SimStepData();
      simStepData.setShortName(attributes
          .getValue(XMLConstants.SHORTNAMEOFTAB));
      simStepData.setName(attributes.getValue(XMLConstants.NAMEOFTAB));
    } else if (name.equalsIgnoreCase(XMLConstants.GROMPP)) {
      processGrompp = true;
View Full Code Here

   
   
  }

  private void initData() {
    SimStepData simData = (SimStepData) project.getType().getCommandData()
        .get(pos);
    if(simData.getShortName() != null && simData.getShortName().length() != 0)
      nameConvention = simData.getShortName();
    data = simData.getGromppData();
    inputField.setText(data.getInputStructure());
    inputEnergyField.setText(data.getInputEnergy());
    inputFreeEnergyField.setText(data.getInputCoordB());
    inputGromppField.setText(data.getInputGrompp());
    inputIndexField.setText(data.getInputIndex());
View Full Code Here

  }

  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());
    }
View Full Code Here

TOP

Related Classes of jSimMacs.data.SimStepData

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.