Package nz.ac.waikato.modeljunit.command

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


    addRow(3);
  }
 
  public void delRow(int row)
  {
    DeleteRowCommand drc = new DeleteRowCommand(mSUT.getStoryTestInterface(), row);
    mSUT.getUndoInterface().execute(drc);
    while (mDepth < mCommands.size()) {
      mCommands.remove(mDepth);
    }
    mCommands.add(new int[] {1, 2, row});
View Full Code Here


         row = row == -1 ? mCalc.columns() : row;
         row--;
         row--;
         row = row < 0 ? 0 : row;
         if (row == -1) {System.out.println("can't delete header"); return;}
         Command command = new DeleteRowCommand(mCalc, row);
         getUndoInterface().execute(command);
         if (srow != -1 && scol != -1) {
            mTable.changeSelection(srow, scol, false, false);
         }
      }
View Full Code Here

TOP

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

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.