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/event TargetSelectionEvent.java
Date Thu, 09 Nov 2000 23:14:19 GMT
metasim     00/11/09 15:14:19

  Modified:    src/antidote/org/apache/tools/ant/gui/event
                        TargetSelectionEvent.java
  Log:
  Started work on the Ant Construction Set classes (ACS), which will map directly
  to DOM elements allowing easier manipulation of the XML and better editing of
  Ant projects. NB: The code currently requires the Sun JAXP library (which Ant
  needs anyway).
  
  Revision  Changes    Path
  1.2       +5 -4      jakarta-ant/src/antidote/org/apache/tools/ant/gui/event/TargetSelectionEvent.java
  
  Index: TargetSelectionEvent.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/antidote/org/apache/tools/ant/gui/event/TargetSelectionEvent.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TargetSelectionEvent.java	2000/11/07 14:22:38	1.1
  +++ TargetSelectionEvent.java	2000/11/09 23:14:19	1.2
  @@ -52,7 +52,7 @@
    * <http://www.apache.org/>.
    */
   package org.apache.tools.ant.gui.event;
  -import org.apache.tools.ant.Target;
  +import org.apache.tools.ant.gui.acs.ACSTargetElement;
   import org.apache.tools.ant.gui.command.Command;
   import org.apache.tools.ant.gui.command.NoOpCmd;
   import org.apache.tools.ant.gui.AppContext;
  @@ -60,20 +60,21 @@
   /**
    * Event indicating that the current set of selected targets has changed.
    * 
  - * @version $Revision: 1.1 $ 
  + * @version $Revision: 1.2 $ 
    * @author Simeon Fitch 
    */
   public class TargetSelectionEvent extends AntEvent {
   
       /** New set of selected targets. */
  -    private Target[] _selectedTargets = null;
  +    private ACSTargetElement[] _selectedTargets = null;
   
   	/** 
   	 * Standard ctor.
   	 * 
   	 * @param context application context.
   	 */
  -    public TargetSelectionEvent(AppContext context, Target[] selectedTargets) {
  +    public TargetSelectionEvent(AppContext context, 
  +                                ACSTargetElement[] selectedTargets) {
           super(context);
           _selectedTargets = selectedTargets;
       }
  @@ -83,7 +84,7 @@
   	 * 
        * @return selected target set.
   	 */
  -    public Target[] getSelectedTargets() {
  +    public ACSTargetElement[] getSelectedTargets() {
           return _selectedTargets;
       }
   
  
  
  

Mime
View raw message