src/share/classes/com/sun/tools/doclets/formats/html/FrameOutputWriter.java

changeset 1635
e0ef84e33167
parent 1568
5f0731e4e5e6
child 1740
ce4f0769b4b2
     1.1 --- a/src/share/classes/com/sun/tools/doclets/formats/html/FrameOutputWriter.java	Wed Mar 13 22:03:09 2013 +0100
     1.2 +++ b/src/share/classes/com/sun/tools/doclets/formats/html/FrameOutputWriter.java	Wed Mar 13 14:47:15 2013 -0700
     1.3 @@ -135,13 +135,7 @@
     1.4      protected Content getFrameDetails() {
     1.5          HtmlTree frameset = HtmlTree.FRAMESET("20%,80%", null, "Documentation frame",
     1.6                  "top.loadFrames()");
     1.7 -        if (configuration.showProfiles) {
     1.8 -            HtmlTree leftFrameset = HtmlTree.FRAMESET(null, "30%,70%", "Left frames",
     1.9 -                "top.loadFrames()");
    1.10 -            addAllProfilesFrameTag(leftFrameset);
    1.11 -            addAllClassesFrameTag(leftFrameset);
    1.12 -            frameset.addContent(leftFrameset);
    1.13 -        } else if (noOfPackages <= 1) {
    1.14 +        if (noOfPackages <= 1) {
    1.15              addAllClassesFrameTag(frameset);
    1.16          } else if (noOfPackages > 1) {
    1.17              HtmlTree leftFrameset = HtmlTree.FRAMESET(null, "30%,70%", "Left frames",
    1.18 @@ -156,17 +150,6 @@
    1.19      }
    1.20  
    1.21      /**
    1.22 -     * Add the FRAME tag for the frame that lists all profiles.
    1.23 -     *
    1.24 -     * @param contentTree the content tree to which the information will be added
    1.25 -     */
    1.26 -    private void addAllProfilesFrameTag(Content contentTree) {
    1.27 -        HtmlTree frame = HtmlTree.FRAME(DocPaths.PROFILE_OVERVIEW_FRAME.getPath(),
    1.28 -                "profileListFrame", configuration.getText("doclet.All_Profiles"));
    1.29 -        contentTree.addContent(frame);
    1.30 -    }
    1.31 -
    1.32 -    /**
    1.33       * Add the FRAME tag for the frame that lists all packages.
    1.34       *
    1.35       * @param contentTree the content tree to which the information will be added

mercurial