1 /* |
1 /* |
2 * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1998, 2013, 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 |
150 contentTree.addContent(" (implements "); |
150 contentTree.addContent(" (implements "); |
151 } |
151 } |
152 } else { |
152 } else { |
153 contentTree.addContent(", "); |
153 contentTree.addContent(", "); |
154 } |
154 } |
155 addPreQualifiedClassLink(LinkInfoImpl.CONTEXT_TREE, |
155 addPreQualifiedClassLink(LinkInfoImpl.Kind.TREE, |
156 interfaces[i], contentTree); |
156 interfaces[i], contentTree); |
157 counter++; |
157 counter++; |
158 } |
158 } |
159 } |
159 } |
160 if (counter > 0) { |
160 if (counter > 0) { |
168 * |
168 * |
169 * @param cd the class being documented |
169 * @param cd the class being documented |
170 * @param contentTree the content tree to which the information will be added |
170 * @param contentTree the content tree to which the information will be added |
171 */ |
171 */ |
172 protected void addPartialInfo(ClassDoc cd, Content contentTree) { |
172 protected void addPartialInfo(ClassDoc cd, Content contentTree) { |
173 addPreQualifiedStrongClassLink(LinkInfoImpl.CONTEXT_TREE, cd, contentTree); |
173 addPreQualifiedStrongClassLink(LinkInfoImpl.Kind.TREE, cd, contentTree); |
174 } |
174 } |
175 |
175 |
176 /** |
176 /** |
177 * Get the tree label for the navigation bar. |
177 * Get the tree label for the navigation bar. |
178 * |
178 * |