Merge remote-tracking branch 'origin/GT-3044-dragonmacher-table-popup-cleanup'

This commit is contained in:
Ryan Kurtz 2019-08-09 08:15:26 -04:00
commit 351cf56e6e
93 changed files with 1424 additions and 1103 deletions

View file

@ -122,7 +122,7 @@ public class SetFormatDialogComponentProvider extends DialogComponentProvider {
FieldHeader headerPanel = listingPanel.getFieldHeader();
if (headerPanel != null && headerPanel.isAncestorOf(event.getComponent())) {
FieldHeaderLocation fhLoc = headerPanel.getFieldHeaderLocation(event.getPoint());
return new ActionContext(null, fhLoc);
return new ActionContext().setContextObject(fhLoc);
}
return null;
}

View file

@ -619,7 +619,7 @@ public abstract class AbstractFunctionGraphTest extends AbstractGhidraHeadedInte
assertNotNull(action);
FieldHeaderLocation fhLoc = createFieldHeaderLocation(provider);
ActionContext context = new ActionContext(null, fhLoc);
ActionContext context = createContext(fhLoc);
performAction(action, context, true);
waitForConditionWithoutFailing(() -> fieldIsVisible(provider, actionName));
@ -723,7 +723,7 @@ public abstract class AbstractFunctionGraphTest extends AbstractGhidraHeadedInte
assertNotNull(action);
FieldHeaderLocation fhLoc = createFieldHeaderLocation(provider);
ActionContext context = new ActionContext(null, fhLoc);
ActionContext context = createContext(fhLoc);
performAction(action, context, false);
Window dialog = waitForWindow("Reset All Formats?");