mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
GT-3226 - Symbol Table - Performance improvements - disable filtering on
some columns; turn on 'Name Only' filtering by default; disable sorting by default; remove use of column mapping where not needed; fixed caching for name column
This commit is contained in:
parent
665a83d6c0
commit
fc67c6aaeb
26 changed files with 687 additions and 403 deletions
|
@ -96,7 +96,7 @@ public class SymbolTablePluginScreenShots extends GhidraScreenShotGenerator {
|
|||
ComponentProvider provider = getProvider("Symbol Table");
|
||||
tool.showComponentProvider(provider, true);
|
||||
|
||||
moveProviderToItsOwnWindow(provider, 950, 750);
|
||||
moveProviderToItsOwnWindow(provider, 950, 400);
|
||||
GTable table = getTable(provider);
|
||||
setColumnSizes(table);
|
||||
|
||||
|
@ -172,13 +172,28 @@ public class SymbolTablePluginScreenShots extends GhidraScreenShotGenerator {
|
|||
TableColumn column = columnModel.getColumn(i);
|
||||
Object headerValue = column.getHeaderValue();
|
||||
if ("Name".equals(headerValue)) {
|
||||
column.setPreferredWidth(175);
|
||||
column.setPreferredWidth(300);
|
||||
}
|
||||
else if ("Reference Count".equals(headerValue)) {
|
||||
column.setPreferredWidth(15);
|
||||
column.setPreferredWidth(25);
|
||||
}
|
||||
else if ("Offcut Ref Count".equals(headerValue)) {
|
||||
column.setPreferredWidth(15);
|
||||
column.setPreferredWidth(25);
|
||||
}
|
||||
else if ("Namespace".equals(headerValue)) {
|
||||
column.setPreferredWidth(160);
|
||||
}
|
||||
else if ("Location".equals(headerValue)) {
|
||||
column.setPreferredWidth(170);
|
||||
}
|
||||
else if ("Namespace".equals(headerValue)) {
|
||||
column.setPreferredWidth(170);
|
||||
}
|
||||
else if ("Source".equals(headerValue)) {
|
||||
column.setPreferredWidth(170);
|
||||
}
|
||||
else if ("Type".equals(headerValue)) {
|
||||
column.setPreferredWidth(170);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue