src/share/classes/com/sun/tools/doclets/formats/html/PackageIndexFrameWriter.java
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
*** old/src/share/classes/com/sun/tools/doclets/formats/html/PackageIndexFrameWriter.java Fri Jan 18 02:47:32 2013
--- new/src/share/classes/com/sun/tools/doclets/formats/html/PackageIndexFrameWriter.java Fri Jan 18 02:47:31 2013
*** 1,7 ****
--- 1,7 ----
/*
! * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved.
! * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 143,159 ****
--- 143,172 ----
/**
* Adds "All Classes" link for the top of the left-hand frame page to the
* documentation tree.
*
! * @param body the Content object to which the all classes link should be added
! * @param div the Content object to which the all classes link should be added
*/
! protected void addAllClassesLink(Content body) {
! protected void addAllClassesLink(Content div) {
Content linkContent = getHyperLink(DocPaths.ALLCLASSES_FRAME,
allclassesLabel, "", "packageFrame");
! Content div = HtmlTree.DIV(HtmlStyle.indexHeader, linkContent);
! body.addContent(div);
! Content span = HtmlTree.SPAN(linkContent);
! div.addContent(span);
+ }
+
+ /**
+ * Adds "All Profiles" link for the top of the left-hand frame page to the
+ * documentation tree.
+ *
+ * @param div the Content object to which the all profiles link should be added
+ */
+ protected void addAllProfilesLink(Content div) {
+ Content linkContent = getHyperLink(DocPaths.PROFILE_OVERVIEW_FRAME,
+ allprofilesLabel, "", "profileListFrame");
+ Content span = HtmlTree.SPAN(linkContent);
+ div.addContent(span);
}
/**
* {@inheritDoc}
*/
src/share/classes/com/sun/tools/doclets/formats/html/PackageIndexFrameWriter.java
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File