mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-06 06:21:16 +07:00
[i18n] API markup
GitOrigin-RevId: e81b77d1854b8d0b11f0a38323044166b0a552fa
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user