void () { TableUtil.stopEditing(myTable); selectRows(new int[]{modelRow}, true); if (Comparing.equal(editorValue, pair.second)) { // do nothing } else { int ret = clearSubdirectoriesOnDemandOrCancel(false, target); if (ret == Messages.CANCEL) { myModel.setValueAt(value, modelRow, column); } selectRows(new int[]{modelRow}, true); } }