IDEA-120609: Help pages available for 'library dialogs'
authornik <Nikolay.Chashnikov@jetbrains.com>
Fri, 14 Feb 2014 17:57:36 +0000 (21:57 +0400)
committernik <Nikolay.Chashnikov@jetbrains.com>
Mon, 17 Feb 2014 08:37:11 +0000 (12:37 +0400)
java/idea-ui/src/com/intellij/facet/impl/ui/libraries/EditLibraryDialog.java
java/idea-ui/src/com/intellij/openapi/roots/ui/configuration/libraryEditor/CreateNewLibraryDialog.java
java/idea-ui/src/com/intellij/openapi/roots/ui/configuration/libraryEditor/EditExistingLibraryDialog.java

index a205e452b28a67fea4cc9f49faf87695ca4db6a8..dd9079ebf8722b27bfe1db003b4c8e3ca93eb570 100644 (file)
@@ -22,6 +22,7 @@ import com.intellij.openapi.roots.ui.configuration.libraryEditor.NewLibraryEdito
 import com.intellij.openapi.ui.DialogWrapper;
 import com.intellij.openapi.util.Disposer;
 import com.intellij.util.ui.FormBuilder;
+import org.jetbrains.annotations.Nullable;
 
 import javax.swing.*;
 import java.awt.*;
@@ -74,4 +75,10 @@ public class EditLibraryDialog extends DialogWrapper {
     }
     super.doOKAction();
   }
+
+  @Nullable
+  @Override
+  protected String getHelpId() {
+    return "Edit_Library_dialog";
+  }
 }
index c7d85704b95d5c1716e044adedeb7dd8843793a8..33445bdda9bc83bea285920ecedf809c943d2dbd 100644 (file)
@@ -27,6 +27,7 @@ import com.intellij.openapi.roots.ui.configuration.projectRoot.StructureConfigur
 import com.intellij.openapi.ui.ComboBox;
 import com.intellij.util.ui.FormBuilder;
 import org.jetbrains.annotations.NotNull;
+import org.jetbrains.annotations.Nullable;
 
 import javax.swing.*;
 import java.util.List;
@@ -92,4 +93,10 @@ public class CreateNewLibraryDialog extends LibraryEditorDialogBase {
   protected boolean shouldCheckName(String newName) {
     return true;
   }
+
+  @Nullable
+  @Override
+  protected String getHelpId() {
+    return "Create_Library_dialog";
+  }
 }
index 57239382c2103994c92217af2152dff6ffadc65f..040ad01f562d84648343c8e3aa593493506ffe90 100644 (file)
@@ -98,6 +98,12 @@ public class EditExistingLibraryDialog extends LibraryEditorDialogBase {
     return myTableModifiableModel;
   }
 
+  @Nullable
+  @Override
+  protected String getHelpId() {
+    return "Configure_Library_Dialog";
+  }
+
   @Override
   protected boolean shouldCheckName(String newName) {
     return !Comparing.equal(newName, getLibraryRootsComponent().getLibraryEditor().getName());