Merge remote-tracking branch 'origin/GP-4545_ghidragon_data_tree_dialo_focus_issue--SQUASHED'

This commit is contained in:
Ryan Kurtz
2024-04-25 09:39:33 -04:00
5 changed files with 84 additions and 147 deletions

View File

@@ -1190,12 +1190,7 @@ public class DebuggerModulesProvider extends ComponentProviderAdapter {
DomainFileFilter filter = df -> Program.class.isAssignableFrom(df.getDomainObjectClass());
// TODO regarding the hack note below, I believe it's fixed, but not sure how to test
return new DataTreeDialog(null, "Map Module to Program", DataTreeDialog.OPEN, filter) {
{ // TODO/HACK: I get an NPE setting the default selection if I don't fake this.
dialogShown();
}
};
return new DataTreeDialog(null, "Map Module to Program", DataTreeDialog.OPEN, filter);
}
public DomainFile askProgram(Program program) {

View File

@@ -430,12 +430,7 @@ public class DebuggerTraceManagerServicePlugin extends Plugin
}
};
// TODO regarding the hack note below, I believe this issue ahs been fixed, but not sure how to test
return new DataTreeDialog(null, OpenTraceAction.NAME, DataTreeDialog.OPEN, filter) {
{ // TODO/HACK: Why the NPE if I don't do this?
dialogShown();
}
};
return new DataTreeDialog(null, OpenTraceAction.NAME, DataTreeDialog.OPEN, filter);
}
public DomainFile askTrace(Trace trace) {