+ (tableInsertRequest.isBefore() ? 0 : 1);
if (tableInsertRequest.isRow()) {
return new TableInsertRowCommand(viewer, table, index,
tableInsertRequest.isBefore());
}
return new TableInsertColumnCommand(viewer, table, index);
} else if (request instanceof TableRowColumnDeleteRequest) {
TableRowColumnDeleteRequest deleteReq = (TableRowColumnDeleteRequest) request;
if (deleteReq.isRow()) {
return new TableDeleteRowCommand(viewer, table, deleteReq
.getIndex());