Platform: help topic for 'Non-project file edit' dialog (IDEA-121829) + clarified options' test

IDEA-133451 Default action for return key unlocks framework headers
This commit is contained in:
Anton Makeev
2015-01-14 12:45:20 +01:00
parent 3f2212a179
commit 1854a24555
2 changed files with 7 additions and 3 deletions
@@ -22,7 +22,7 @@
</constraints>
<properties>
<selected value="true"/>
<text value="Unlock files"/>
<text value="I want to edit these files anyway"/>
</properties>
</component>
<component id="592c9" class="javax.swing.JRadioButton" binding="myUnlockAllButton" default-binding="true">
@@ -30,7 +30,7 @@
<grid row="1" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text value="Unlock all non-project files in current session"/>
<text value="I want to edit any non-project file in the current session"/>
</properties>
</component>
</children>
@@ -38,9 +38,13 @@ public class NonProjectFileWritingAccessDialog extends DialogWrapper {
myFileList.setCellRenderer(new FileListRenderer());
myFileList.setModel(new CollectionListModel<VirtualFile>(nonProjectFiles));
getOKAction().putValue(DEFAULT_ACTION, null);
getCancelAction().putValue(DEFAULT_ACTION, true);
init();
}
@Nullable
@Override
protected JComponent createCenterPanel() {
@@ -54,6 +58,6 @@ public class NonProjectFileWritingAccessDialog extends DialogWrapper {
}
protected String getHelpId() {
return "readOnlyHandler.nonProjectFilesDialog";
return "Non-Project_Files_Access_Dialog";
}
}