InsertHeaderFooterRequest hfRequest = (InsertHeaderFooterRequest) request;
return new TableInsertHeaderFooterCommand(viewer, table,
hfRequest.isHeader());
} else if (request instanceof DeleteHeaderFooterRequest) {
DeleteHeaderFooterRequest hfRequest = (DeleteHeaderFooterRequest) request;
return new TableDeleteHeaderFooterCommand(viewer, table,
hfRequest.isHeader());
}
return super.getCommand(request);
}