mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-04-25 17:25:17 +02:00
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:
@@ -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();
|
||||
|
||||
@@ -53,11 +53,11 @@ if (file("flatRepo").isDirectory()) {
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
File f = new File("ghidra.repos.config");
|
||||
else {
|
||||
File f = file("ghidra.repos.config")
|
||||
if (!f.exists()) {
|
||||
throw new GradleException("\n\nUnable to find the local maven repo." +
|
||||
" Ensure you have created the ${f.getName()} file.\n\n");
|
||||
throw new GradleException("\n\n\n\tUnable to find the local maven repo." +
|
||||
" Ensure you have created the ${f.getName()} file.\n\n\n");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user