mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
Merge branch 'GP-0_ryanmkurtz_PR-7875_XeR_memory-map'
This commit is contained in:
commit
66ac37b368
1 changed files with 33 additions and 19 deletions
|
@ -497,41 +497,55 @@ class MemoryMapProvider extends ComponentProviderAdapter {
|
|||
TableColumn column = table.getColumn(MemoryMapModel.READ_COL);
|
||||
int width = 25;
|
||||
int maxWidth = resizable ? Integer.MAX_VALUE : width;
|
||||
column.setMaxWidth(maxWidth);
|
||||
column.setMinWidth(width);
|
||||
column.setResizable(resizable);
|
||||
if (column != null) {
|
||||
column.setMaxWidth(maxWidth);
|
||||
column.setMinWidth(width);
|
||||
column.setResizable(resizable);
|
||||
}
|
||||
|
||||
column = table.getColumn(MemoryMapModel.WRITE_COL);
|
||||
column.setMaxWidth(maxWidth);
|
||||
column.setMinWidth(width);
|
||||
column.setResizable(resizable);
|
||||
if (column != null) {
|
||||
column.setMaxWidth(maxWidth);
|
||||
column.setMinWidth(width);
|
||||
column.setResizable(resizable);
|
||||
}
|
||||
|
||||
column = table.getColumn(MemoryMapModel.EXECUTE_COL);
|
||||
column.setMaxWidth(maxWidth);
|
||||
column.setMinWidth(width);
|
||||
column.setResizable(resizable);
|
||||
if (column != null) {
|
||||
column.setMaxWidth(maxWidth);
|
||||
column.setMinWidth(width);
|
||||
column.setResizable(resizable);
|
||||
}
|
||||
|
||||
column = table.getColumn(MemoryMapModel.VOLATILE_COL);
|
||||
width = 65;
|
||||
maxWidth = resizable ? Integer.MAX_VALUE : width;
|
||||
column.setMaxWidth(maxWidth);
|
||||
column.setMinWidth(width);
|
||||
column.setResizable(resizable);
|
||||
if (column != null) {
|
||||
column.setMaxWidth(maxWidth);
|
||||
column.setMinWidth(width);
|
||||
column.setResizable(resizable);
|
||||
}
|
||||
|
||||
column = table.getColumn(MemoryMapModel.ARTIFICIAL_COL);
|
||||
column.setMaxWidth(maxWidth);
|
||||
column.setMinWidth(width);
|
||||
column.setResizable(resizable);
|
||||
if (column != null) {
|
||||
column.setMaxWidth(maxWidth);
|
||||
column.setMinWidth(width);
|
||||
column.setResizable(resizable);
|
||||
}
|
||||
|
||||
column = table.getColumn(MemoryMapModel.BLOCK_TYPE_COL);
|
||||
width = 25;
|
||||
maxWidth = resizable ? Integer.MAX_VALUE : width;
|
||||
column.setMinWidth(width);
|
||||
if (column != null) {
|
||||
column.setMinWidth(width);
|
||||
}
|
||||
|
||||
column = table.getColumn(MemoryMapModel.INIT_COL);
|
||||
column.setMaxWidth(maxWidth);
|
||||
column.setMinWidth(width);
|
||||
column.setResizable(resizable);
|
||||
if (column != null) {
|
||||
column.setMaxWidth(maxWidth);
|
||||
column.setMinWidth(width);
|
||||
column.setResizable(resizable);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue