mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-28 17:39:36 +08:00
GP-2631 - Updated the Instruction Info window to allow copying from the
table
This commit is contained in:
+1
-2
@@ -34,7 +34,7 @@ import ghidra.util.HelpLocation;
|
|||||||
import ghidra.util.table.GhidraTable;
|
import ghidra.util.table.GhidraTable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Component provider to show the instruction info.
|
* Component provider to show the instruction info.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
class InstructionInfoProvider extends ComponentProviderAdapter implements DomainObjectListener {
|
class InstructionInfoProvider extends ComponentProviderAdapter implements DomainObjectListener {
|
||||||
@@ -109,7 +109,6 @@ class InstructionInfoProvider extends ComponentProviderAdapter implements Domain
|
|||||||
opTable.setFont(fixedWidthFont);
|
opTable.setFont(fixedWidthFont);
|
||||||
opTable.setPreferredScrollableViewportSize(new Dimension(425, 105));
|
opTable.setPreferredScrollableViewportSize(new Dimension(425, 105));
|
||||||
//opTable.setAutoResizeMode(JTable.AUTO_RESIZE_ALL_COLUMNS);
|
//opTable.setAutoResizeMode(JTable.AUTO_RESIZE_ALL_COLUMNS);
|
||||||
opTable.setRowSelectionAllowed(false);
|
|
||||||
|
|
||||||
pane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, new JScrollPane(instructionText),
|
pane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, new JScrollPane(instructionText),
|
||||||
new JScrollPane(opTable));
|
new JScrollPane(opTable));
|
||||||
|
|||||||
Reference in New Issue
Block a user