User: ko5tik  
  Date: 02/04/04 09:13:39

  Modified:    src/java/xtags Tag.java TagFamily.java
  Log:
  Now the tree shows everything down to the tags.
  Tooltips are also working
  
  Revision  Changes    Path
  1.3       +21 -1     xdocletgui/src/java/xtags/Tag.java
  
  Index: Tag.java
  ===================================================================
  RCS file: /cvsroot/xdoclet/xdocletgui/src/java/xtags/Tag.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -w -r1.2 -r1.3
  --- Tag.java  22 Feb 2002 18:28:09 -0000      1.2
  +++ Tag.java  4 Apr 2002 17:13:39 -0000       1.3
  @@ -64,7 +64,7 @@
        private final ArrayList _tagParameters = new ArrayList();
   
        /**
  -      * @todo-javadoc Describe the field
  +      * Conditions to be met for program element to be applicable to this tag
         */
        private final Or _or;
   
  @@ -115,6 +115,16 @@
   
   
        /**
  +      * Gets the Usage attribute of the Tag object
  +      *
  +      * @return The Usage value
  +      */
  +     public String getUsage() {
  +             return _tagUsage;
  +     }
  +
  +
  +     /**
         * Describe what the method does
         *
         * @return Describe the return value
  @@ -136,6 +146,16 @@
         */
        public boolean supports(XProgramElement xprogramelement) {
                return _or.eval(xprogramelement);
  +     }
  +
  +
  +     /**
  +      * return string representation of tag
  +      *
  +      * @return string representation of tag
  +      */
  +     public String toString() {
  +             return getName();
        }
   
   
  
  
  
  1.5       +4 -7      xdocletgui/src/java/xtags/TagFamily.java
  
  Index: TagFamily.java
  ===================================================================
  RCS file: /cvsroot/xdoclet/xdocletgui/src/java/xtags/TagFamily.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -w -r1.4 -r1.5
  --- TagFamily.java    4 Apr 2002 14:12:27 -0000       1.4
  +++ TagFamily.java    4 Apr 2002 17:13:39 -0000       1.5
  @@ -117,11 +117,10 @@
   
   
        /**
  -      * Gets the Tag attribute of the TagFamily object
  +      * gets tag with desired index
         *
  -      * @param i Describe what the parameter does
  +      * @param i index of desired tag
         * @return The Tag value
  -      * @todo-javadoc Write javadocs for method parameter
         */
        public Tag getTag(int i) {
                return (Tag)_tags.get(i);
  @@ -129,11 +128,9 @@
   
   
        /**
  -      * Describe what the method does
  +      * get amount of tags contained in the family
         *
  -      * @return Describe the return value
  -      * @todo-javadoc Write javadocs for method
  -      * @todo-javadoc Write javadocs for return value
  +      * @return amount of tags contained in the family
         */
        public int size() {
                return _tags.size();
  
  
  

_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to