User: ko5tik  
  Date: 02/04/11 09:21:42

  Modified:    src/xjavadoc XDoc.java
  Log:
   added methods for tag addition and removal from xdoc.
  
  Necessary for GUI ( we got to add and remove them somehow... )
  
  Revision  Changes    Path
  1.32      +866 -841  xjavadoc/src/xjavadoc/XDoc.java
  
  Index: XDoc.java
  ===================================================================
  RCS file: /cvsroot/xdoclet/xjavadoc/src/xjavadoc/XDoc.java,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -w -r1.31 -r1.32
  --- XDoc.java 8 Apr 2002 22:28:00 -0000       1.31
  +++ XDoc.java 11 Apr 2002 16:21:42 -0000      1.32
  @@ -628,6 +628,31 @@
   
   
        /**
  +      * add xtag to this doc
  +      *
  +      * @param tag tag to be added
  +      * @return tag value
  +      */
  +     public XTag addTag(XTag tag) {
  +             _allTags.add(tag);
  +             fireDocChanged();
  +             return tag;
  +     }
  +
  +
  +     /**
  +      * remove tag in question from doc. do nothing if it does not belong there
  +      *
  +      * @param tag Describe what the parameter does
  +      * @todo-javadoc Write javadocs for method parameter
  +      */
  +     public void removeTag(XTag tag) {
  +             _allTags.remove(tag);
  +             fireDocChanged();
  +     }
  +
  +
  +     /**
         * Returns the doc in the superclass if any.
         *
         * @return Describe the return value
  
  
  

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

Reply via email to