ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From meta...@locus.apache.org
Subject cvs commit: jakarta-ant/src/antidote/org/apache/tools/ant/gui/acs ACSNamedElement.java ACSProjectElement.java ACSPropertyElement.java ACSTargetElement.java
Date Sat, 25 Nov 2000 04:29:38 GMT
metasim     00/11/24 20:29:38

  Modified:    src/antidote/org/apache/tools/ant/gui/acs
                        ACSNamedElement.java ACSProjectElement.java
                        ACSPropertyElement.java ACSTargetElement.java
  Log:
  Changed display name determination.
  
  Revision  Changes    Path
  1.2       +1 -2      jakarta-ant/src/antidote/org/apache/tools/ant/gui/acs/ACSNamedElement.java
  
  Index: ACSNamedElement.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/antidote/org/apache/tools/ant/gui/acs/ACSNamedElement.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ACSNamedElement.java	2000/11/10 20:41:12	1.1
  +++ ACSNamedElement.java	2000/11/25 04:29:36	1.2
  @@ -59,7 +59,7 @@
   /**
    * Class representing an element with a name and description.
    * 
  - * @version $Revision: 1.1 $ 
  + * @version $Revision: 1.2 $ 
    * @author Simeon Fitch 
    */
   public class ACSNamedElement extends ACSTreeNodeElement {
  @@ -122,8 +122,7 @@
   	 * @return Display name.
   	 */
       public String getDisplayName() {
  -        return getTagName() + ": " + getName();
  +        return getName();
       }
  -
   
   }
  
  
  
  1.4       +1 -10     jakarta-ant/src/antidote/org/apache/tools/ant/gui/acs/ACSProjectElement.java
  
  Index: ACSProjectElement.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/antidote/org/apache/tools/ant/gui/acs/ACSProjectElement.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ACSProjectElement.java	2000/11/11 04:52:20	1.3
  +++ ACSProjectElement.java	2000/11/25 04:29:37	1.4
  @@ -58,7 +58,7 @@
   /**
    * Class representing a project element in the build file.
    * 
  - * @version $Revision: 1.3 $ 
  + * @version $Revision: 1.4 $ 
    * @author Simeon Fitch 
    */
   public class ACSProjectElement extends ACSNamedElement {
  @@ -82,15 +82,6 @@
   	 */
       public Class getType() {
           return ACSProjectElement.class;
  -    }
  -
  -	/** 
  -	 * Get the display name.
  -	 * 
  -	 * @return Display name.
  -	 */
  -    public String getDisplayName() {
  -        return getTagName() + ": " + getName();
       }
   
   	/** 
  
  
  
  1.3       +3 -3      jakarta-ant/src/antidote/org/apache/tools/ant/gui/acs/ACSPropertyElement.java
  
  Index: ACSPropertyElement.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/antidote/org/apache/tools/ant/gui/acs/ACSPropertyElement.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ACSPropertyElement.java	2000/11/16 22:38:40	1.2
  +++ ACSPropertyElement.java	2000/11/25 04:29:37	1.3
  @@ -58,7 +58,7 @@
   /**
    * Element containing a property definition.
    * 
  - * @version $Revision: 1.2 $ 
  + * @version $Revision: 1.3 $ 
    * @author Simeon Fitch 
    */
   public class ACSPropertyElement extends ACSTreeNodeElement {
  @@ -85,10 +85,10 @@
           String file = getFile();
   
           if(file == null || file.trim().length() == 0) {
  -            return "property: " + getName();
  +            return getName();
           }
           else {
  -            return "property file: " + file;
  +            return "file: " + file;
           }
       }
   
  
  
  
  1.4       +1 -10     jakarta-ant/src/antidote/org/apache/tools/ant/gui/acs/ACSTargetElement.java
  
  Index: ACSTargetElement.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/antidote/org/apache/tools/ant/gui/acs/ACSTargetElement.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ACSTargetElement.java	2000/11/11 04:52:20	1.3
  +++ ACSTargetElement.java	2000/11/25 04:29:37	1.4
  @@ -59,7 +59,7 @@
   /**
    * Class representing a build target.
    * 
  - * @version $Revision: 1.3 $ 
  + * @version $Revision: 1.4 $ 
    * @author Simeon Fitch 
    */
   public class ACSTargetElement extends ACSNamedElement {
  @@ -77,15 +77,6 @@
   	 */
       public ACSTargetElement() {
   
  -    }
  -
  -	/** 
  -	 * Get the display name.
  -	 * 
  -	 * @return Display name.
  -	 */
  -    public String getDisplayName() {
  -        return getTagName() + ": " + getName();
       }
   
   	/** 
  
  
  

Mime
View raw message