diff --git a/platform/lang-impl/src/com/intellij/refactoring/changeSignature/ParameterTableModelBase.java b/platform/lang-impl/src/com/intellij/refactoring/changeSignature/ParameterTableModelBase.java index 21b1a41b8d6f..b1fd7f19fe38 100644 --- a/platform/lang-impl/src/com/intellij/refactoring/changeSignature/ParameterTableModelBase.java +++ b/platform/lang-impl/src/com/intellij/refactoring/changeSignature/ParameterTableModelBase.java @@ -64,13 +64,7 @@ public abstract class ParameterTableModelBase

, Aspect> diff --git a/platform/util/src/com/intellij/util/ui/ListTableModel.java b/platform/util/src/com/intellij/util/ui/ListTableModel.java index bdd04ec399ac..28386e00e89e 100644 --- a/platform/util/src/com/intellij/util/ui/ListTableModel.java +++ b/platform/util/src/com/intellij/util/ui/ListTableModel.java @@ -113,10 +113,23 @@ public class ListTableModel extends TableViewModel implements Editab @Override public void setValueAt(Object aValue, int rowIndex, int columnIndex) { + setValueAt(aValue, rowIndex, columnIndex, true); + } + + /** + * Sets the value in the cell at {@code columnIndex} and {@code rowIndex} to {@code aValue}. + * This method allows to choose will the model listeners notified or not. + * + * @param aValue the new value + * @param rowIndex the row whose value is to be changed + * @param columnIndex the column whose value is to be changed + * @param notifyListeners indicates whether the model listeners are notified + */ + public void setValueAt(Object aValue, int rowIndex, int columnIndex, boolean notifyListeners) { if (rowIndex < myItems.size()) { myColumnInfos[columnIndex].setValue(getItem(rowIndex), aValue); } - fireTableCellUpdated(rowIndex, columnIndex); + if (notifyListeners) fireTableCellUpdated(rowIndex, columnIndex); } /**