Skip to content

Commit

Permalink
Show binary ID in analysis status popup
Browse files Browse the repository at this point in the history
  • Loading branch information
fmagin committed Jul 29, 2024
1 parent b2bca35 commit dbde9ea
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,11 @@ private void setupActions() {
.withContext(ProgramActionContext.class)
.enabledWhen(context -> context.getProgram() != null && apiService.isKnownProgram(context.getProgram()))
.onAction(context -> {
AnalysisStatus status = apiService.status(context.getProgram());
var binID = apiService.getBinaryIDFor(context.getProgram()).orElseThrow();
AnalysisStatus status = apiService.status(binID);
loggingService.info("Check Status: " + status);
Msg.showInfo(this, null, ReaiPluginPackage.WINDOW_PREFIX + "Check Analysis Status",
"Status: " + status);
"Status of " + binID + ": " + status);
})
.menuPath(new String[] { ReaiPluginPackage.MENU_GROUP_NAME, "Check Analysis Status" })
// .popupMenuPath(new String[] { "Check Analysis Status" })
Expand Down

0 comments on commit dbde9ea

Please sign in to comment.