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

19 lines
701 B
Java
Raw Normal View History

2024-10-14 12:14:01 +03:00
package _VisualDVM.Passes.All;
import _VisualDVM.Global;
2023-09-17 22:13:42 +03:00
public class AppendBugReportComment extends AppendBugReportField {
@Override
protected boolean canStart(Object... args) throws Exception {
return super.canStart("comment",
Global.mainModule.getUI().getMainWindow().getCallbackWindow().getBugReportCommentAdditionText());
2023-09-17 22:13:42 +03:00
}
@Override
protected void performDone() throws Exception {
super.performDone();
Global.mainModule.getUI().getMainWindow().getCallbackWindow().ClearBugReportCommentAdditionText();
2023-09-17 22:13:42 +03:00
}
@Override
protected boolean canUpdate() {
2025-03-13 00:32:20 +03:00
return target.canAppend(Global.mainModule.getAccount(), Log);
2023-09-17 22:13:42 +03:00
}
}