Package nz.ac.waikato.modeljunit.command

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


    mSUT.getUndoInterface().redo();
  }
 
  public void addRow(int row)
  {
    AddRowCommand arc = new AddRowCommand(mSUT.getStoryTestInterface(), row);
    mSUT.getUndoInterface().execute(arc);
    while (mDepth < mCommands.size()) {
      mCommands.remove(mDepth);
    }
    mCommands.add(new int[] {0, 2, row});
View Full Code Here


         int scol = mTable.getSelectedColumn();
         int row = srow == -1 ? mRow : srow;
         row = row == -1 ? mCalc.rows() : row;
         row--;
         row = row < 0 ? 0 : row;
         Command command = new AddRowCommand(mCalc, row);
         getUndoInterface().execute(command);
         if (srow != -1 && scol != -1) {
            mTable.changeSelection(srow + 1, scol, false, false);
         }
      }
View Full Code Here

TOP

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

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.