User: ko5tik  
  Date: 02/04/12 10:01:17

  Modified:    src/java/xtags TagParameter.java
  Log:
  created GUI for tag parameter editor.
  works at most, but setting / validation
  will require tweaking on xtags
  
  Revision  Changes    Path
  1.3       +8 -10     xdocletgui/src/java/xtags/TagParameter.java
  
  Index: TagParameter.java
  ===================================================================
  RCS file: /cvsroot/xdoclet/xdocletgui/src/java/xtags/TagParameter.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -w -r1.2 -r1.3
  --- TagParameter.java 22 Feb 2002 18:28:09 -0000      1.2
  +++ TagParameter.java 12 Apr 2002 17:01:17 -0000      1.3
  @@ -95,7 +95,7 @@
        private static org.apache.log4j.Category _log = 
org.apache.log4j.Category.getInstance(TagParameter.class.getName());
   
        /**
  -      * @todo-javadoc Describe the field
  +      * mapping between primitibe types and value classes
         */
        private static Properties _types = new Properties();
   
  @@ -154,9 +154,9 @@
   
   
        /**
  -      * Gets the Usage attribute of the TagParameter object
  +      * usage descritption of this parameter
         *
  -      * @return The Usage value
  +      * @return usage descritption of this parameter
         */
        public String getUsage() {
                return _usage;
  @@ -164,9 +164,9 @@
   
   
        /**
  -      * Gets the Mandatory attribute of the TagParameter object
  +      * whether this parameter is mandatory
         *
  -      * @return The Mandatory value
  +      * @return whether this tag is mandatory
         */
        public boolean isMandatory() {
                return _mandatory;
  @@ -210,14 +210,11 @@
   
   
        /**
  -      * Describe what the method does
  +      * whether this tag parameter can be applied for given program element
         *
         * @param xprogramelement Describe what the parameter does
  -      * @return Describe the return value
  -      * @todo-javadoc Write javadocs for method parameter
  -      * @todo-javadoc Write javadocs for method
  +      * @return applicability to given program element
         * @todo-javadoc Write javadocs for method parameter
  -      * @todo-javadoc Write javadocs for return value
         */
        public boolean supports(XProgramElement xprogramelement) {
                if (_condition != null) {
  @@ -253,6 +250,7 @@
                        throw new IllegalArgumentException("BAD CLASS:" + 
value.getClass().getName() + ", should have been " + _valueClass.getName());
                }
        }
  +
        static {
                _types.setProperty("int", "java.lang.Integer");
                _types.setProperty("text", "java.lang.String");
  
  
  

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

Reply via email to