2023-11-19 01:53:56 +03:00
|
|
|
package Common.Passes.All;
|
2023-09-17 22:13:42 +03:00
|
|
|
import Common.Current;
|
|
|
|
|
import Common.UI.UI;
|
|
|
|
|
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 Current.getAccount().ExtendedCheckAccessRights(target, Log);
|
|
|
|
|
}
|
|
|
|
|
}
|