mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +02:00
GP-4296 - Fixed screen reader support of tooltips using html
This commit is contained in:
parent
dffb5fd859
commit
0b0356528d
43 changed files with 349 additions and 342 deletions
|
@ -52,7 +52,8 @@ import ghidra.graph.viewer.vertex.VertexClickListener;
|
|||
import ghidra.program.model.address.Address;
|
||||
import ghidra.program.model.listing.*;
|
||||
import ghidra.program.util.ProgramLocation;
|
||||
import ghidra.util.*;
|
||||
import ghidra.util.HelpLocation;
|
||||
import ghidra.util.SystemUtilities;
|
||||
import ghidra.util.exception.CancelledException;
|
||||
import ghidra.util.task.TaskMonitor;
|
||||
import resources.Icons;
|
||||
|
@ -172,9 +173,9 @@ public class FcgProvider
|
|||
if (!graphData.hasResults()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
// The graph component won't contain valid perspective information if it's not 'initialized'
|
||||
// (i.e. rendered or displayed to the user). It may happen if the graph has been kept minimized
|
||||
// (i.e. rendered or displayed to the user). It may happen if the graph has been kept minimized
|
||||
// in the separate tab. Related method: `GraphComponent::viewerInitialized`
|
||||
if (view.getGraphComponent().isUninitialized()) {
|
||||
return;
|
||||
|
@ -425,10 +426,10 @@ public class FcgProvider
|
|||
navigateIncomingToggleAction.setSelected(true);
|
||||
navigateIncomingToggleAction.setToolBarData(
|
||||
new ToolBarData(Icons.NAVIGATE_ON_INCOMING_EVENT_ICON, TOOLBAR_GROUP_A));
|
||||
navigateIncomingToggleAction.setDescription(HTMLUtilities.toHTML(
|
||||
"Incoming Navigation<br><br>Toggle <b>On</b> - change the graphed " +
|
||||
navigateIncomingToggleAction.setDescription(
|
||||
"<html>Incoming Navigation<br><br>Toggle <b>On</b> - change the graphed " +
|
||||
"function on Listing navigation events" +
|
||||
"<br>Toggled <b>Off</b> - don't change the graph on Listing navigation events"));
|
||||
"<br>Toggled <b>Off</b> - don't change the graph on Listing navigation events");
|
||||
navigateIncomingToggleAction.setHelpLocation(
|
||||
new HelpLocation(plugin.getName(), "Navigation_Incoming"));
|
||||
addLocalAction(navigateIncomingToggleAction);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue