mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 01:39:21 +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:
parent
01c43efb2c
commit
fac5b0e13b
2 changed files with 6 additions and 10 deletions
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue