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

21 lines
655 B
Java

package _VisualDVM.Passes.All;
import Common.Utils.Utils_;
import _VisualDVM.ComponentsServer.BugReport.Json.RecipientsJson;
import _VisualDVM.Global;
public class SaveBugReportRecipients extends UpdateBugReportField {
@Override
public String getIconPath() {
return "/Common/icons/Save.png";
}
@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())));
}
}