mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
GT-2698 - convert JCheckBox to GCheckBox
This commit is contained in:
parent
40daea1a56
commit
3c0484cae3
93 changed files with 487 additions and 460 deletions
|
@ -29,6 +29,7 @@ import javax.swing.event.ChangeEvent;
|
|||
import javax.swing.event.ChangeListener;
|
||||
|
||||
import docking.DialogComponentProvider;
|
||||
import docking.widgets.checkbox.GCheckBox;
|
||||
import docking.widgets.label.GLabel;
|
||||
import ghidra.app.plugin.core.format.ByteBlockSelection;
|
||||
import ghidra.app.plugin.core.format.DataFormatModel;
|
||||
|
@ -115,7 +116,7 @@ public class ByteViewerOptionsDialog extends DialogComponentProvider
|
|||
Set<String> currentViews = provider.getCurrentViews();
|
||||
List<String> dataModelNames = provider.getDataFormatNames();
|
||||
for (String formatName : dataModelNames) {
|
||||
JCheckBox checkBox = new JCheckBox(formatName);
|
||||
GCheckBox checkBox = new GCheckBox(formatName);
|
||||
checkBox.addActionListener(this);
|
||||
checkboxMap.put(formatName, checkBox);
|
||||
if (currentViews.contains(formatName)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue