mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
GP-4555 set accessible names for components
This commit is contained in:
@@ -79,7 +79,7 @@ public class SetFormatDialogComponentProvider extends DialogComponentProvider {
|
||||
listingPanel.showHeader(true);
|
||||
|
||||
container.add(listingPanel);
|
||||
|
||||
container.getAccessibleContext().setAccessibleName("Set Format");
|
||||
return container;
|
||||
}
|
||||
|
||||
@@ -87,6 +87,7 @@ public class SetFormatDialogComponentProvider extends DialogComponentProvider {
|
||||
FormatManager formatManagerCopy = currentFormatManager.createClone();
|
||||
ListingPanel panel = new ListingPanel(formatManagerCopy, program);
|
||||
panel.setView(view);
|
||||
panel.getAccessibleContext().setAccessibleName("Listing");
|
||||
return panel;
|
||||
}
|
||||
|
||||
|
||||
@@ -87,8 +87,10 @@ public class XRefChooserDialog extends DialogComponentProvider {
|
||||
});
|
||||
|
||||
filterPanel = new GhidraTableFilterPanel<>(table, model);
|
||||
filterPanel.getAccessibleContext().setAccessibleName("Filter");
|
||||
workPanel.add(new JScrollPane(table), BorderLayout.CENTER);
|
||||
workPanel.add(filterPanel, BorderLayout.SOUTH);
|
||||
workPanel.getAccessibleContext().setAccessibleName("External Reference Chooser");
|
||||
return workPanel;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user