[i18n] API markup

GitOrigin-RevId: e81b77d1854b8d0b11f0a38323044166b0a552fa
This commit is contained in:
Alexey Utkin
2020-08-18 11:38:53 +00:00
committed by intellij-monorepo-bot
parent 5d7c09eb58
commit 5c0edd4150
@@ -53,9 +53,9 @@ public class ProgressWindow extends ProgressIndicatorBase implements BlockingPro
@Nullable protected final Project myProject;
final boolean myShouldShowCancel;
String myCancelText;
@NlsContexts.Button String myCancelText;
private String myTitle;
@ProgressTitle private String myTitle;
private boolean myStoppedAlready;
protected boolean myBackgrounded;
@@ -334,11 +334,12 @@ public class ProgressWindow extends ProgressIndicatorBase implements BlockingPro
}
}
@ProgressTitle
public String getTitle() {
return myTitle;
}
public void setCancelButtonText(@NotNull String text) {
public void setCancelButtonText(@NlsContexts.Button @NotNull String text) {
if (myDialog != null) {
myDialog.changeCancelButtonText(text);
}