mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 06:50:54 +07:00
ui: clarify 'Set Background Image' dialog actions behavior
GitOrigin-RevId: 4aee8cf64ad61c5b2f5314192a354567c7307067
This commit is contained in:
committed by
intellij-monorepo-bot
parent
8650ff0b12
commit
a466f0b37f
@@ -120,6 +120,9 @@ public class BackgroundImageDialog extends DialogWrapper {
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Called by UI Designer
|
||||
*/
|
||||
private void createUIComponents() {
|
||||
ComboBox<String> comboBox = new ComboBox<>(new CollectionComboBoxModel<>(), 100);
|
||||
myPathField = new ComboboxWithBrowseButton(comboBox);
|
||||
@@ -311,6 +314,8 @@ public class BackgroundImageDialog extends DialogWrapper {
|
||||
myEditorPreview.updateView();
|
||||
}
|
||||
updatePreview();
|
||||
setOKButtonText(EDITOR.equals(myPreviewTarget) ? IdeBundle.message("set.action.editor.and.tools")
|
||||
: IdeBundle.message("set.action.empty.frame"));
|
||||
}
|
||||
|
||||
public void setSelectedPath(@NlsSafe String path) {
|
||||
|
||||
@@ -1704,6 +1704,8 @@ button.clear.and.close=Clear and Close
|
||||
dialog.title.background.image=Background Image
|
||||
toggle.editor.and.tools=Editor and Tools
|
||||
toggle.empty.frame=Empty Frame
|
||||
set.action.editor.and.tools=Set for Editor and Tools
|
||||
set.action.empty.frame=Set for Empty Frame
|
||||
label.text.image=Image:
|
||||
label.text.opacity=Opacity:
|
||||
checkbox.text.this.project.only=This project only
|
||||
|
||||
Reference in New Issue
Block a user