From a669738f6d0c701d7d211eb7b386ddc7b17038f0 Mon Sep 17 00:00:00 2001 From: bpatel Date: Tue, 15 Mar 2011 14:19:00 -0700 Subject: [PATCH] 4743537: Help doesn't say what "All Classes" and other links really mean Reviewed-by: jjg --- .../doclets/formats/html/HelpWriter.java | 21 +++++++++++++------ .../html/resources/standard.properties | 7 ++++--- 2 files changed, 19 insertions(+), 9 deletions(-) diff --git a/src/share/classes/com/sun/tools/doclets/formats/html/HelpWriter.java b/src/share/classes/com/sun/tools/doclets/formats/html/HelpWriter.java index e162075a..ba6f921e 100644 --- a/src/share/classes/com/sun/tools/doclets/formats/html/HelpWriter.java +++ b/src/share/classes/com/sun/tools/doclets/formats/html/HelpWriter.java @@ -283,23 +283,32 @@ public class HelpWriter extends HtmlDocletWriter { Content framePara = HtmlTree.P(line26); liFrame.addContent(framePara); ul.addContent(liFrame); + Content allclassesHead = HtmlTree.HEADING(HtmlConstants.CONTENT_HEADING, + getResource("doclet.All_Classes")); + Content liAllClasses = HtmlTree.LI(HtmlStyle.blockList, allclassesHead); + Content line27 = getResource("doclet.Help_line_27", + getHyperLinkString("allclasses-noframe.html", + configuration.getText("doclet.All_Classes"))); + Content allclassesPara = HtmlTree.P(line27); + liAllClasses.addContent(allclassesPara); + ul.addContent(liAllClasses); Content sHead = HtmlTree.HEADING(HtmlConstants.CONTENT_HEADING, getResource("doclet.Serialized_Form")); Content liSerial = HtmlTree.LI(HtmlStyle.blockList, sHead); - Content line27 = getResource("doclet.Help_line_27"); - Content serialPara = HtmlTree.P(line27); + Content line28 = getResource("doclet.Help_line_28"); + Content serialPara = HtmlTree.P(line28); liSerial.addContent(serialPara); ul.addContent(liSerial); Content constHead = HtmlTree.HEADING(HtmlConstants.CONTENT_HEADING, getResource("doclet.Constants_Summary")); Content liConst = HtmlTree.LI(HtmlStyle.blockList, constHead); - Content line28 = getResource("doclet.Help_line_28"); - Content constPara = HtmlTree.P(line28); + Content line29 = getResource("doclet.Help_line_29"); + Content constPara = HtmlTree.P(line29); liConst.addContent(constPara); ul.addContent(liConst); Content divContent = HtmlTree.DIV(HtmlStyle.contentContainer, ul); - Content line29 = HtmlTree.EM(getResource("doclet.Help_line_29")); - divContent.addContent(line29); + Content line30 = HtmlTree.EM(getResource("doclet.Help_line_30")); + divContent.addContent(line30); contentTree.addContent(divContent); } diff --git a/src/share/classes/com/sun/tools/doclets/formats/html/resources/standard.properties b/src/share/classes/com/sun/tools/doclets/formats/html/resources/standard.properties index f06c0ccd..d85481fc 100644 --- a/src/share/classes/com/sun/tools/doclets/formats/html/resources/standard.properties +++ b/src/share/classes/com/sun/tools/doclets/formats/html/resources/standard.properties @@ -164,9 +164,10 @@ doclet.Help_line_23=Prev/Next doclet.Help_line_24=These links take you to the next or previous class, interface, package, or related page. doclet.Help_line_25=Frames/No Frames doclet.Help_line_26=These links show and hide the HTML frames. All pages are available with or without frames. -doclet.Help_line_27=Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description. -doclet.Help_line_28=The Constant Field Values page lists the static final fields and their values. -doclet.Help_line_29=This help file applies to API documentation generated using the standard doclet. +doclet.Help_line_27=The {0} link shows all classes and interfaces except non-static nested types. +doclet.Help_line_28=Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description. +doclet.Help_line_29=The Constant Field Values page lists the static final fields and their values. +doclet.Help_line_30=This help file applies to API documentation generated using the standard doclet. doclet.Help_enum_line_1=Each enum has its own separate page with the following sections: doclet.Help_enum_line_2=Enum declaration doclet.Help_enum_line_3=Enum description -- GitLab