Files
VisualSapfor/src/_VisualDVM/Passes/All/SaveBugReportRecipients.java

21 lines
655 B
Java
Raw Normal View History

2024-10-14 12:14:01 +03:00
package _VisualDVM.Passes.All;
import Common.Utils.Utils_;
2025-02-18 16:21:20 +03:00
import _VisualDVM.ComponentsServer.BugReport.Json.RecipientsJson;
import _VisualDVM.Global;
2023-09-17 22:13:42 +03:00
public class SaveBugReportRecipients extends UpdateBugReportField {
@Override
public String getIconPath() {
return "/Common/icons/Save.png";
2023-09-17 22:13:42 +03:00
}
@Override
public String getButtonText() {
return "";
}
@Override
protected boolean canStart(Object... args) throws Exception {
return super.canStart("packedRecipientsJson",
Utils_.gson.toJson(new RecipientsJson(Global.componentsServer.db.recipients.getUI().getSelectedItems())));
2023-09-17 22:13:42 +03:00
}
}