Package nz.ac.waikato.modeljunit.command

Examples of nz.ac.waikato.modeljunit.command.SetValueCommand


  }
 
  public void setValue(int column, int row, int alt)
  {
    String value = alt == 1 ? mAltColumns.get(column).get(row) : mColumns.get(column).get(row);
    SetValueCommand svc = new SetValueCommand(mSUT.getStoryTestInterface(), row, column, value);
    mSUT.getUndoInterface().execute(svc);
    while (mDepth < mCommands.size()) {
      mCommands.remove(mDepth);
    }
    mCommands.add(new int[] {3, alt, column, row});
View Full Code Here


          } catch (ParseException pe) {
            JOptionPane.showMessageDialog(CalcTablePanel.this, pe);
            return null;
          }
        } else {
          command = new SetValueCommand(mCalc, mRow - 2, mColumn,
                                        mComponent.getText(),
                                        mPrevious);
        }
        getUndoInterface().execute(command);
        return mComponent.getText();
View Full Code Here

TOP

Related Classes of nz.ac.waikato.modeljunit.command.SetValueCommand

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.