package org.activityinfo.ui.client.component.importDialog.mapping;
import com.google.gwt.view.client.SelectionModel.AbstractSelectionModel;
import org.activityinfo.core.shared.importing.source.SourceRow;
/**
* Disables row selection. For the ColumnMappingGrid, we want the user to
* select columns.
*/
class NullRowSelectionModel extends AbstractSelectionModel<SourceRow> {
protected NullRowSelectionModel() {
super(null);
}
@Override
public boolean isSelected(SourceRow object) {
return false;
}
@Override
public void setSelected(SourceRow object, boolean selected) {
}
}