Review Tool - 3.1.1 - updated comments table to use column filters;

fixed build to not error when building the review tool
This commit is contained in:
dragonmacher 2019-08-21 18:38:18 -04:00
parent 01c43efb2c
commit fac5b0e13b
2 changed files with 6 additions and 10 deletions

View file

@ -203,10 +203,10 @@ public class GTableFilterPanel<ROW_OBJECT> extends JPanel {
transformer = new DefaultRowFilterTransformer<>(tableModel, table.getColumnModel());
buildPanel(filterLabel);
textFilterModel = installTableModel(tableModel);
buildPanel(filterLabel);
TableColumnModel columnModel = table.getColumnModel();
columnModel.addColumnModelListener(columnModelListener);
@ -390,15 +390,11 @@ public class GTableFilterPanel<ROW_OBJECT> extends JPanel {
}
private boolean isTableColumnFilterableModel() {
return table.getModel() instanceof RowObjectFilterModel;
}
@SuppressWarnings("unchecked")
private JComponent buildColumnFilterStateButton() {
if (!isTableColumnFilterableModel()) {
return null;
}
RowObjectFilterModel<ROW_OBJECT> tableModel =
(RowObjectFilterModel<ROW_OBJECT>) table.getModel();