// Stop editing so that the current edit value will be recorded in
// the undo history.
_cellEditor.stopCellEditing();
}
TransformationRule transformer = (TransformationRule) getModel();
CompositeActorMatcher replacement = transformer.getReplacement();
List<ComponentEntity> entities = new LinkedList<ComponentEntity>();
boolean needRefresh = false;
for (int i = 0; i < rows.length; i++) {
String replacementName = _getCellEditorValue((JPanel) _tableModel
.getValueAt(rows[i], 2));
ComponentEntity entity = replacement.getEntity(replacementName);
if (entity == null) {
needRefresh = true;
} else {
entities.add(entity);
}