langtools/src/share/classes/com/sun/tools/doclets/formats/html/ProfilePackageFrameWriter.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
89 profpackgen = new ProfilePackageFrameWriter(configuration, packageDoc, |
89 profpackgen = new ProfilePackageFrameWriter(configuration, packageDoc, |
90 profileName); |
90 profileName); |
91 StringBuilder winTitle = new StringBuilder(profileName); |
91 StringBuilder winTitle = new StringBuilder(profileName); |
92 String sep = " - "; |
92 String sep = " - "; |
93 winTitle.append(sep); |
93 winTitle.append(sep); |
94 String pkgName = Util.getPackageName(packageDoc); |
94 String pkgName = configuration.utils.getPackageName(packageDoc); |
95 winTitle.append(pkgName); |
95 winTitle.append(pkgName); |
96 Content body = profpackgen.getBody(false, |
96 Content body = profpackgen.getBody(false, |
97 profpackgen.getWindowTitle(winTitle.toString())); |
97 profpackgen.getWindowTitle(winTitle.toString())); |
98 Content profName = new StringContent(profileName); |
98 Content profName = new StringContent(profileName); |
99 Content sepContent = new StringContent(sep); |
99 Content sepContent = new StringContent(sep); |
161 ul.setTitle(labelContent); |
161 ul.setTitle(labelContent); |
162 for (ClassDoc classDoc : arr) { |
162 for (ClassDoc classDoc : arr) { |
163 if (!isTypeInProfile(classDoc, profileValue)) { |
163 if (!isTypeInProfile(classDoc, profileValue)) { |
164 continue; |
164 continue; |
165 } |
165 } |
166 if (!Util.isCoreClass(classDoc) || ! |
166 if (!utils.isCoreClass(classDoc) || ! |
167 configuration.isGeneratedDoc(classDoc)) { |
167 configuration.isGeneratedDoc(classDoc)) { |
168 continue; |
168 continue; |
169 } |
169 } |
170 if (!printedHeader) { |
170 if (!printedHeader) { |
171 Content heading = HtmlTree.HEADING(HtmlConstants.CONTENT_HEADING, |
171 Content heading = HtmlTree.HEADING(HtmlConstants.CONTENT_HEADING, |