public MergerToken getToken(int rowIndex) {
return tokens.get(rowIndex);
}
public Object getValueAt(int rowIndex, int columnIndex) {
MergerToken token = getToken(rowIndex);
switch (columnIndex) {
case COL_SELECT:
return Boolean.valueOf(getController().isSelected(token));
case COL_NAME:
return token.getTokenName();
case COL_DIRECTION:
return token.getDirection();
case COL_VALUE:
return token.getTokenValue();
}
return null;
}