Files
VisualSapfor/src/_VisualDVM/Passes/All/AppendBugReportComment.java
2024-10-15 13:35:33 +03:00

19 lines
717 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 Global.mainModule.getAccount().ExtendedCheckAccessRights(target, Log);
}
}