Package nz.ac.waikato.modeljunit.command

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


  }
 
  public void setColumnHeader(int column, int alt)
  {
    String value = alt == 1 ? mAltHeaders.get(column) : mHeaders.get(column);
    SetColumnNameCommand shc = new SetColumnNameCommand(mSUT.getStoryTestInterface(), column, value);
    mSUT.getUndoInterface().execute(shc);
    while (mDepth < mCommands.size()) {
      mCommands.remove(mDepth);
    }
    mCommands.add(new int[] {2, alt, column});
View Full Code Here


     public Object getCellEditorValue() {
        if (mPrevious.equals(mComponent.getText())) {return mPrevious;}
        // System.out.println("DEBUG: getCellEditorValue " + mComponent.getText());
        Command command;
        if (mRow == 0) {
          command = new SetColumnNameCommand(mCalc, mColumn,
                                             mComponent.getText(),
                                             mPrevious);
        } else if (mRow == 1) {
          try {
            if (!mComponent.getText().startsWith("=")) {
View Full Code Here

TOP

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

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.