Package nz.ac.waikato.modeljunit.command

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


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


         super.actionPerformed(e);
         int srow = mTable.getSelectedRow();
         int scol = mTable.getSelectedColumn();
         int column = scol == -1 ? mColumn : scol;
         column = column == -1 ? mCalc.columns() : column;
         Command command = new DeleteColumnCommand(mCalc, column);
         getUndoInterface().execute(command);
         if (srow != -1 && scol != -1) {
            mTable.changeSelection(srow, scol + 1, false, false);
         }
      }
View Full Code Here

TOP

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

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.