Files
VisualSapfor/src/_VisualDVM/Passes/All/AppendBugReportComment.java
2025-03-13 00:32:20 +03:00

19 lines
701 B
Java

package _VisualDVM.Passes.All;
import _VisualDVM.Global;
public class AppendBugReportComment extends AppendBugReportField {
@Override
protected boolean canStart(Object... args) throws Exception {
return super.canStart("comment",
Global.mainModule.getUI().getMainWindow().getCallbackWindow().getBugReportCommentAdditionText());
}
@Override
protected void performDone() throws Exception {
super.performDone();
Global.mainModule.getUI().getMainWindow().getCallbackWindow().ClearBugReportCommentAdditionText();
}
@Override
protected boolean canUpdate() {
return target.canAppend(Global.mainModule.getAccount(), Log);
}
}