mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +02:00
GP-4275 Set accessible names of focusable components in component providers
This commit is contained in:
parent
317a881488
commit
5bca2c75c7
62 changed files with 565 additions and 202 deletions
|
@ -522,16 +522,15 @@ public class FcgProvider
|
|||
}
|
||||
};
|
||||
resetGraphAction.setToolBarData(new ToolBarData(Icons.REFRESH_ICON));
|
||||
resetGraphAction.setDescription(
|
||||
"<html>Resets the graph--All positioning will be <b>lost</b>");
|
||||
resetGraphAction.setHelpLocation(
|
||||
new HelpLocation("FunctionCallGraphPlugin", "Relayout_Graph"));
|
||||
resetGraphAction
|
||||
.setDescription("<html>Resets the graph--All positioning will be <b>lost</b>");
|
||||
resetGraphAction
|
||||
.setHelpLocation(new HelpLocation("FunctionCallGraphPlugin", "Relayout_Graph"));
|
||||
|
||||
addLocalAction(resetGraphAction);
|
||||
|
||||
MultiStateDockingAction<LayoutProvider<FcgVertex, FcgEdge, FunctionCallGraph>> layoutAction =
|
||||
new MultiStateDockingAction<>(
|
||||
RELAYOUT_GRAPH_ACTION_NAME, plugin.getName()) {
|
||||
new MultiStateDockingAction<>(RELAYOUT_GRAPH_ACTION_NAME, plugin.getName()) {
|
||||
|
||||
@Override
|
||||
public void actionPerformed(ActionContext context) {
|
||||
|
@ -971,8 +970,11 @@ public class FcgProvider
|
|||
BowTieExpandVerticesJob job = new BowTieExpandVerticesJob(viewer, collection, true);
|
||||
VisualGraphViewUpdater<FcgVertex, FcgEdge> updater = view.getViewUpdater();
|
||||
updater.scheduleViewChangeJob(job);
|
||||
|
||||
updateTitle();
|
||||
|
||||
String viewName = "Function Call Graph";
|
||||
viewer.setName(viewName);
|
||||
viewer.getAccessibleContext().setAccessibleName(viewName);
|
||||
}
|
||||
|
||||
private void highlightExistingEdges(FcgExpandingVertexCollection collection) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue