o Unallow the nav bean to count children. Turns out it was simpler to do it in jelly.
o Add new style for img.handle (no border, little bit of right padding) o Update the templates to draw handles I'm still not 100% on drawing an expanded handle on an uncollapsible node. I think we could do to remove the little - in front of every item too. PR: MAVEN-579 git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113659 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
6ba41dd168
commit
48e967375d
5 files changed
+7
-33
No files matched your search
@@ -64,7 +64,7 @@ import org.dom4j.tree.DefaultElement;
|
||||
|
||||
/**
|
||||
* @author <a href="bwalding@jakarta.org">Ben Walding</a>
|
||||
* @version $Id: NavBean.java,v 1.5 2003/07/17 09:33:12 bwalding Exp $
|
||||
* @version $Id: NavBean.java,v 1.6 2003/07/17 10:44:05 bwalding Exp $
|
||||
*/
|
||||
public class NavBean
|
||||
{
|
||||
@@ -96,16 +96,6 @@ public class NavBean
|
||||
return getAttribute(elem, "href", null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Assumes that the node is visible.
|
||||
* @param o
|
||||
* @return the number of children for this node
|
||||
*/
|
||||
public int countChildren(DefaultElement elem) {
|
||||
List l = elem.selectNodes("./item");
|
||||
return l.size();
|
||||
}
|
||||
|
||||
/**
|
||||
* Determines if the given node is collapsed. If a parent of this node is
|
||||
* collapsed, this will give spurious results.
|
||||
|
||||
Reference in new issue
Block a user