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

21 lines
732 B
Java
Raw Normal View History

package Visual_DVM_2021.Passes.All;
2024-10-09 22:01:19 +03:00
import _VisualDVM.Current;
import _VisualDVM.Global;
2024-10-09 22:01:19 +03:00
import _VisualDVM.Visual.UI;
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",
UI.getMainWindow().getCallbackWindow().getBugReportCommentAdditionText());
}
@Override
protected void performDone() throws Exception {
super.performDone();
UI.getMainWindow().getCallbackWindow().ClearBugReportCommentAdditionText();
}
@Override
protected boolean canUpdate() {
return Global.mainModule.getAccount().ExtendedCheckAccessRights(target, Log);
2023-09-17 22:13:42 +03:00
}
}