GP-307 - Graph - Add ability to disable tootlips; better tooltip behavior

This commit is contained in:
dragonmacher 2020-10-29 16:00:30 -04:00
parent ba80c729ec
commit c5087c7ef0
8 changed files with 633 additions and 264 deletions

View file

@ -1091,8 +1091,9 @@ class FGActionManager {
AddressSet subtraction = provider.getCurrentProgramSelection().subtract(functionBody);
ProgramSelection programSelectionWithoutGraphBody = new ProgramSelection(subtraction);
plugin.getTool().firePluginEvent(new ProgramSelectionPluginEvent("Spoof!",
programSelectionWithoutGraphBody, provider.getCurrentProgram()));
plugin.getTool()
.firePluginEvent(new ProgramSelectionPluginEvent("Spoof!",
programSelectionWithoutGraphBody, provider.getCurrentProgram()));
}
private Set<FGVertex> getAllVertices() {
@ -1161,8 +1162,10 @@ class FGActionManager {
private void makeSelectionFromAddresses(AddressSet addresses) {
ProgramSelection selection = new ProgramSelection(addresses);
plugin.getTool().firePluginEvent(
new ProgramSelectionPluginEvent("Spoof!", selection, provider.getCurrentProgram()));
plugin.getTool()
.firePluginEvent(
new ProgramSelectionPluginEvent("Spoof!", selection,
provider.getCurrentProgram()));
}
private void ungroupVertices(Set<GroupedFunctionGraphVertex> groupVertices) {