Browse Source

Major package reorganization.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268382 13f79535-47bb-0310-9956-ffa450edef68
master
metasim 25 years ago
parent
commit
d9dc37613d
58 changed files with 151 additions and 281 deletions
  1. +1
    -0
      src/antidote/org/apache/tools/ant/gui/About.java
  2. +1
    -1
      src/antidote/org/apache/tools/ant/gui/Antidote.java
  3. +2
    -0
      src/antidote/org/apache/tools/ant/gui/Main.java
  4. +0
    -94
      src/antidote/org/apache/tools/ant/gui/ProjectDocument.java
  5. +1
    -1
      src/antidote/org/apache/tools/ant/gui/acs/ACSBeanDescriptor.java
  6. +1
    -1
      src/antidote/org/apache/tools/ant/gui/acs/BaseBeanInfo.java
  7. +3
    -3
      src/antidote/org/apache/tools/ant/gui/acs/ElementTreeModel.java
  8. +3
    -3
      src/antidote/org/apache/tools/ant/gui/acs/ElementTreeSelectionModel.java
  9. +1
    -1
      src/antidote/org/apache/tools/ant/gui/command/AboutCmd.java
  10. +1
    -1
      src/antidote/org/apache/tools/ant/gui/command/AbstractCommand.java
  11. +2
    -2
      src/antidote/org/apache/tools/ant/gui/command/BuildCmd.java
  12. +2
    -2
      src/antidote/org/apache/tools/ant/gui/command/ChangeLookAndFeelCmd.java
  13. +1
    -1
      src/antidote/org/apache/tools/ant/gui/command/CloseCmd.java
  14. +1
    -1
      src/antidote/org/apache/tools/ant/gui/command/Command.java
  15. +1
    -1
      src/antidote/org/apache/tools/ant/gui/command/DisplayErrorCmd.java
  16. +1
    -1
      src/antidote/org/apache/tools/ant/gui/command/EmacsNotifyCmd.java
  17. +1
    -1
      src/antidote/org/apache/tools/ant/gui/command/ExitCmd.java
  18. +2
    -2
      src/antidote/org/apache/tools/ant/gui/command/LoadFileCmd.java
  19. +1
    -1
      src/antidote/org/apache/tools/ant/gui/command/NoOpCmd.java
  20. +2
    -2
      src/antidote/org/apache/tools/ant/gui/command/OpenCmd.java
  21. +3
    -3
      src/antidote/org/apache/tools/ant/gui/command/SaveAsCmd.java
  22. +1
    -1
      src/antidote/org/apache/tools/ant/gui/command/SaveCmd.java
  23. +1
    -48
      src/antidote/org/apache/tools/ant/gui/core/ActionManager.java
  24. +1
    -1
      src/antidote/org/apache/tools/ant/gui/core/AntAction.java
  25. +1
    -1
      src/antidote/org/apache/tools/ant/gui/core/AntModule.java
  26. +1
    -2
      src/antidote/org/apache/tools/ant/gui/core/AppContext.java
  27. +2
    -1
      src/antidote/org/apache/tools/ant/gui/core/BuildEventForwarder.java
  28. +2
    -2
      src/antidote/org/apache/tools/ant/gui/core/EventResponder.java
  29. +5
    -7
      src/antidote/org/apache/tools/ant/gui/core/EventToActionMapper.java
  30. +8
    -5
      src/antidote/org/apache/tools/ant/gui/core/ProjectProxy.java
  31. +15
    -3
      src/antidote/org/apache/tools/ant/gui/core/ResourceManager.java
  32. +1
    -1
      src/antidote/org/apache/tools/ant/gui/core/XMLFileFilter.java
  33. +1
    -1
      src/antidote/org/apache/tools/ant/gui/customizer/DynamicCustomizer.java
  34. +2
    -2
      src/antidote/org/apache/tools/ant/gui/event/AntBuildEvent.java
  35. +1
    -1
      src/antidote/org/apache/tools/ant/gui/event/AntEvent.java
  36. +1
    -1
      src/antidote/org/apache/tools/ant/gui/event/BuildFinishedEvent.java
  37. +1
    -1
      src/antidote/org/apache/tools/ant/gui/event/BuildStartedEvent.java
  38. +1
    -1
      src/antidote/org/apache/tools/ant/gui/event/ElementSelectionEvent.java
  39. +1
    -1
      src/antidote/org/apache/tools/ant/gui/event/ErrorEvent.java
  40. +1
    -1
      src/antidote/org/apache/tools/ant/gui/event/NewProjectEvent.java
  41. +1
    -1
      src/antidote/org/apache/tools/ant/gui/event/NullSelectionEvent.java
  42. +1
    -1
      src/antidote/org/apache/tools/ant/gui/event/OpenRequestEvent.java
  43. +1
    -1
      src/antidote/org/apache/tools/ant/gui/event/ProjectClosedEvent.java
  44. +1
    -1
      src/antidote/org/apache/tools/ant/gui/event/ProjectSelectionEvent.java
  45. +1
    -1
      src/antidote/org/apache/tools/ant/gui/event/PropertySelectionEvent.java
  46. +1
    -1
      src/antidote/org/apache/tools/ant/gui/event/TargetSelectionEvent.java
  47. +1
    -1
      src/antidote/org/apache/tools/ant/gui/event/TaskSelectionEvent.java
  48. +5
    -2
      src/antidote/org/apache/tools/ant/gui/modules/TargetMonitor.java
  49. +6
    -3
      src/antidote/org/apache/tools/ant/gui/modules/console/BuildConsole.java
  50. +1
    -1
      src/antidote/org/apache/tools/ant/gui/modules/console/LogLevelEnum.java
  51. +7
    -6
      src/antidote/org/apache/tools/ant/gui/modules/edit/ElementNavigator.java
  52. +2
    -2
      src/antidote/org/apache/tools/ant/gui/modules/edit/ElementTreeCellRenderer.java
  53. +2
    -1
      src/antidote/org/apache/tools/ant/gui/modules/edit/PropertyEditor.java
  54. +2
    -16
      src/antidote/org/apache/tools/ant/gui/resources/action.properties
  55. +36
    -37
      src/antidote/org/apache/tools/ant/gui/resources/antidote.properties
  56. +3
    -1
      src/antidote/org/apache/tools/ant/gui/util/ChangeLookAndFeel.java
  57. +1
    -1
      src/antidote/org/apache/tools/ant/gui/util/LabelFieldGBC.java
  58. +1
    -1
      src/antidote/org/apache/tools/ant/gui/util/XMLHelper.java

+ 1
- 0
src/antidote/org/apache/tools/ant/gui/About.java View File

@@ -54,6 +54,7 @@
package org.apache.tools.ant.gui;
import org.apache.tools.ant.gui.util.WindowUtils;

import org.apache.tools.ant.gui.core.AppContext;
import javax.swing.*;
import java.io.IOException;
import java.util.*;


+ 1
- 1
src/antidote/org/apache/tools/ant/gui/Antidote.java View File

@@ -52,7 +52,7 @@
* <http://www.apache.org/>.
*/
package org.apache.tools.ant.gui;
import org.apache.tools.ant.gui.core.*;
import javax.swing.*;
import java.awt.BorderLayout;
import java.awt.Dimension;


+ 2
- 0
src/antidote/org/apache/tools/ant/gui/Main.java View File

@@ -52,6 +52,8 @@
* <http://www.apache.org/>.
*/
package org.apache.tools.ant.gui;
import org.apache.tools.ant.gui.core.*;
import org.apache.tools.ant.gui.util.XMLHelper;
import org.apache.tools.ant.gui.command.LoadFileCmd;
import javax.swing.*;
import java.awt.BorderLayout;


+ 0
- 94
src/antidote/org/apache/tools/ant/gui/ProjectDocument.java View File

@@ -1,94 +0,0 @@
/*
* The Apache Software License, Version 1.1
*
* Copyright (c) 1999, 2000 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
*
* 3. The end-user documentation included with the redistribution, if
* any, must include the following acknowlegement:
* "This product includes software developed by the
* Apache Software Foundation (http://www.apache.org/)."
* Alternately, this acknowlegement may appear in the software itself,
* if and wherever such third-party acknowlegements normally appear.
*
* 4. The names "The Jakarta Project", "Tomcat", and "Apache Software
* Foundation" must not be used to endorse or promote products derived
* from this software without prior written permission. For written
* permission, please contact apache@apache.org.
*
* 5. Products derived from this software may not be called "Apache"
* nor may "Apache" appear in their names without prior written
* permission of the Apache Group.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
* ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
* ====================================================================
*
* This software consists of voluntary contributions made by many
* individuals on behalf of the Apache Software Foundation. For more
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
*/
package org.apache.tools.ant.gui;
import org.apache.tools.ant.Project;
import javax.swing.text.DefaultStyledDocument;
import java.io.*;

/**
* Provides a Document view on the Project XML source.
* NB: This class currently looks nothing like it should.
* Rather than just rendering a copy of the build file contents,
* this class should implement a true document model, representing
* the true XML sturcture of the build file. This is just a temporary
* implementation.
*
* @version $Revision$
* @author Simeon Fitch
*/
public class ProjectDocument extends DefaultStyledDocument {

// This is what the real constructor needs to look like...
//public ProjectDocument(Project project) {
//}

public ProjectDocument(File f) {
// XXX stubbed method. will go away.
try {
// XXX hack hack hack....
Reader reader = new BufferedReader(new FileReader(f));
char[] buf = new char[1024];
int num = 0;
while((num = reader.read(buf)) >= 0) {
insertString(getLength(), new String(buf, 0, num), null);
}

}
catch(Exception ex) {
// XXX log me.
ex.printStackTrace();
}
}

}

+ 1
- 1
src/antidote/org/apache/tools/ant/gui/acs/ACSBeanDescriptor.java View File

@@ -53,7 +53,7 @@
*/
package org.apache.tools.ant.gui.acs;

import org.apache.tools.ant.gui.ResourceManager;
import org.apache.tools.ant.gui.core.ResourceManager;
import java.beans.*;

/**


+ 1
- 1
src/antidote/org/apache/tools/ant/gui/acs/BaseBeanInfo.java View File

@@ -53,7 +53,7 @@
*/
package org.apache.tools.ant.gui.acs;

import org.apache.tools.ant.gui.ResourceManager;
import org.apache.tools.ant.gui.core.ResourceManager;
import org.apache.tools.ant.gui.customizer.DynamicCustomizer;
import java.beans.*;
import javax.swing.ImageIcon;


src/antidote/org/apache/tools/ant/gui/ProjectTreeModel.java → src/antidote/org/apache/tools/ant/gui/acs/ElementTreeModel.java View File

@@ -51,7 +51,7 @@
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
*/
package org.apache.tools.ant.gui;
package org.apache.tools.ant.gui.acs;


import javax.swing.tree.DefaultTreeModel;
@@ -64,8 +64,8 @@ import org.apache.tools.ant.gui.acs.ACSProjectElement;
*
* @version $Revision$
* @author Simeon H.K. Fitch */
public class ProjectTreeModel extends DefaultTreeModel {
public ProjectTreeModel(ACSProjectElement root) {
public class ElementTreeModel extends DefaultTreeModel {
public ElementTreeModel(ACSProjectElement root) {
super(root);
}
}

src/antidote/org/apache/tools/ant/gui/ElementSelectionModel.java → src/antidote/org/apache/tools/ant/gui/acs/ElementTreeSelectionModel.java View File

@@ -51,7 +51,7 @@
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
*/
package org.apache.tools.ant.gui;
package org.apache.tools.ant.gui.acs;
import org.apache.tools.ant.gui.acs.ACSElement;
import org.apache.tools.ant.gui.acs.ACSTargetElement;

@@ -65,12 +65,12 @@ import java.util.*;
* @version $Revision$
* @author Simeon Fitch
*/
class ElementSelectionModel extends DefaultTreeSelectionModel {
public class ElementTreeSelectionModel extends DefaultTreeSelectionModel {
/**
* Default ctor.
*
*/
public ElementSelectionModel() {
public ElementTreeSelectionModel() {
setSelectionMode(DISCONTIGUOUS_TREE_SELECTION);
}


+ 1
- 1
src/antidote/org/apache/tools/ant/gui/command/AboutCmd.java View File

@@ -52,7 +52,7 @@
* <http://www.apache.org/>.
*/
package org.apache.tools.ant.gui.command;
import org.apache.tools.ant.gui.AppContext;
import org.apache.tools.ant.gui.core.AppContext;
import org.apache.tools.ant.gui.About;
import java.awt.Window;
import java.awt.event.WindowEvent;


+ 1
- 1
src/antidote/org/apache/tools/ant/gui/command/AbstractCommand.java View File

@@ -52,7 +52,7 @@
* <http://www.apache.org/>.
*/
package org.apache.tools.ant.gui.command;
import org.apache.tools.ant.gui.AppContext;
import org.apache.tools.ant.gui.core.AppContext;


/**


+ 2
- 2
src/antidote/org/apache/tools/ant/gui/command/BuildCmd.java View File

@@ -52,8 +52,8 @@ q *
* <http://www.apache.org/>.
*/
package org.apache.tools.ant.gui.command;
import org.apache.tools.ant.gui.AppContext;
import org.apache.tools.ant.gui.ProjectProxy;
import org.apache.tools.ant.gui.core.AppContext;
import org.apache.tools.ant.gui.core.ProjectProxy;
import org.apache.tools.ant.gui.event.ErrorEvent;

/**


+ 2
- 2
src/antidote/org/apache/tools/ant/gui/command/ChangeLookAndFeelCmd.java View File

@@ -52,8 +52,8 @@
* <http://www.apache.org/>.
*/
package org.apache.tools.ant.gui.command;
import org.apache.tools.ant.gui.AppContext;
import org.apache.tools.ant.gui.ChangeLookAndFeel;
import org.apache.tools.ant.gui.core.AppContext;
import org.apache.tools.ant.gui.util.ChangeLookAndFeel;

/**
* ChangeLookAndFeel command.


+ 1
- 1
src/antidote/org/apache/tools/ant/gui/command/CloseCmd.java View File

@@ -52,7 +52,7 @@
* <http://www.apache.org/>.
*/
package org.apache.tools.ant.gui.command;
import org.apache.tools.ant.gui.AppContext;
import org.apache.tools.ant.gui.core.AppContext;
import org.apache.tools.ant.gui.event.ProjectClosedEvent;




+ 1
- 1
src/antidote/org/apache/tools/ant/gui/command/Command.java View File

@@ -52,7 +52,7 @@
* <http://www.apache.org/>.
*/
package org.apache.tools.ant.gui.command;
import org.apache.tools.ant.gui.AppContext;
import org.apache.tools.ant.gui.core.AppContext;





+ 1
- 1
src/antidote/org/apache/tools/ant/gui/command/DisplayErrorCmd.java View File

@@ -52,7 +52,7 @@
* <http://www.apache.org/>.
*/
package org.apache.tools.ant.gui.command;
import org.apache.tools.ant.gui.AppContext;
import org.apache.tools.ant.gui.core.AppContext;
import org.apache.tools.ant.gui.util.StackFrame;
import javax.swing.*;
import java.awt.FlowLayout;


+ 1
- 1
src/antidote/org/apache/tools/ant/gui/command/EmacsNotifyCmd.java View File

@@ -52,7 +52,7 @@
* <http://www.apache.org/>.
*/
package org.apache.tools.ant.gui.command;
import org.apache.tools.ant.gui.AppContext;
import org.apache.tools.ant.gui.core.AppContext;
import org.apache.tools.ant.gui.ide.EmacsNotifier;

/**


+ 1
- 1
src/antidote/org/apache/tools/ant/gui/command/ExitCmd.java View File

@@ -52,7 +52,7 @@
* <http://www.apache.org/>.
*/
package org.apache.tools.ant.gui.command;
import org.apache.tools.ant.gui.AppContext;
import org.apache.tools.ant.gui.core.AppContext;
import org.apache.tools.ant.gui.util.WindowUtils;

import java.awt.Window;


+ 2
- 2
src/antidote/org/apache/tools/ant/gui/command/LoadFileCmd.java View File

@@ -52,8 +52,8 @@
* <http://www.apache.org/>.
*/
package org.apache.tools.ant.gui.command;
import org.apache.tools.ant.gui.AppContext;
import org.apache.tools.ant.gui.ProjectProxy;
import org.apache.tools.ant.gui.core.AppContext;
import org.apache.tools.ant.gui.core.ProjectProxy;
import org.apache.tools.ant.gui.event.ErrorEvent;
import java.io.File;
import java.io.IOException;


+ 1
- 1
src/antidote/org/apache/tools/ant/gui/command/NoOpCmd.java View File

@@ -52,7 +52,7 @@
* <http://www.apache.org/>.
*/
package org.apache.tools.ant.gui.command;
import org.apache.tools.ant.gui.AppContext;
import org.apache.tools.ant.gui.core.AppContext;

/**
* NoOp command.


+ 2
- 2
src/antidote/org/apache/tools/ant/gui/command/OpenCmd.java View File

@@ -52,9 +52,9 @@
* <http://www.apache.org/>.
*/
package org.apache.tools.ant.gui.command;
import org.apache.tools.ant.gui.AppContext;
import org.apache.tools.ant.gui.core.AppContext;
import org.apache.tools.ant.gui.event.OpenRequestEvent;
import org.apache.tools.ant.gui.XMLFileFilter;
import org.apache.tools.ant.gui.core.XMLFileFilter;
import javax.swing.JFileChooser;
import javax.swing.filechooser.FileFilter;
import java.io.File;


+ 3
- 3
src/antidote/org/apache/tools/ant/gui/command/SaveAsCmd.java View File

@@ -52,13 +52,13 @@
* <http://www.apache.org/>.
*/
package org.apache.tools.ant.gui.command;
import org.apache.tools.ant.gui.AppContext;
import org.apache.tools.ant.gui.ProjectProxy;
import org.apache.tools.ant.gui.core.AppContext;
import org.apache.tools.ant.gui.core.ProjectProxy;
import org.apache.tools.ant.gui.event.ErrorEvent;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import org.apache.tools.ant.gui.XMLFileFilter;
import org.apache.tools.ant.gui.core.XMLFileFilter;
import javax.swing.JFileChooser;
import javax.swing.filechooser.FileFilter;
import javax.swing.JOptionPane;


+ 1
- 1
src/antidote/org/apache/tools/ant/gui/command/SaveCmd.java View File

@@ -52,7 +52,7 @@
* <http://www.apache.org/>.
*/
package org.apache.tools.ant.gui.command;
import org.apache.tools.ant.gui.AppContext;
import org.apache.tools.ant.gui.core.AppContext;

/**
* Command to execute the saving of the current build file.


src/antidote/org/apache/tools/ant/gui/ActionManager.java → src/antidote/org/apache/tools/ant/gui/core/ActionManager.java View File

@@ -1,50 +1,3 @@
/*
* The Apache Software License, Version 1.1
*
* Copyright (C) 2000 The Apache Software Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modifica-
* tion, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* 3. The end-user documentation included with the redistribution, if any, must
* include the following acknowledgment: "This product includes software
* developed by the Apache Software Foundation (http://www.apache.org/)."
* Alternately, this acknowledgment may appear in the software itself, if
* and wherever such third-party acknowledgments normally appear.
*
* 4. The names "Ant" and "Apache Software Foundation" must not be used to
* endorse or promote products derived from this software without prior
* written permission. For written permission, please contact
* apache@apache.org.
*
* 5. Products derived from this software may not be called "Apache", nor may
* "Apache" appear in their name, without prior written permission of the
* Apache Software Foundation.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
* FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
* DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* This software consists of voluntary contributions made by many individuals
* on behalf of the Apache Software Foundation. For more information on the
* Apache Software Foundation, please see <http://www.apache.org/>.
*
*/

/*
* The Apache Software License, Version 1.1
*
@@ -98,7 +51,7 @@
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
*/
package org.apache.tools.ant.gui;
package org.apache.tools.ant.gui.core;

import org.apache.tools.ant.gui.event.*;
import org.apache.tools.ant.gui.command.Command;

src/antidote/org/apache/tools/ant/gui/AntAction.java → src/antidote/org/apache/tools/ant/gui/core/AntAction.java View File

@@ -51,7 +51,7 @@
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
*/
package org.apache.tools.ant.gui;
package org.apache.tools.ant.gui.core;

import javax.swing.*;
import java.net.URL;

src/antidote/org/apache/tools/ant/gui/AntModule.java → src/antidote/org/apache/tools/ant/gui/core/AntModule.java View File

@@ -51,7 +51,7 @@
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
*/
package org.apache.tools.ant.gui;
package org.apache.tools.ant.gui.core;

import javax.swing.JComponent;
import javax.swing.BorderFactory;

src/antidote/org/apache/tools/ant/gui/AppContext.java → src/antidote/org/apache/tools/ant/gui/core/AppContext.java View File

@@ -51,7 +51,7 @@
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
*/
package org.apache.tools.ant.gui;
package org.apache.tools.ant.gui.core;
import org.apache.tools.ant.BuildListener;
import org.apache.tools.ant.gui.event.*;
import java.awt.Frame;
@@ -81,7 +81,6 @@ public class AppContext {
/** The current data model. */
private ProjectProxy _project = null;


public AppContext(Frame parent) {
_parentFrame = parent;
// Add the build listener for dispatching BuildEvent

src/antidote/org/apache/tools/ant/gui/BuildEventForwarder.java → src/antidote/org/apache/tools/ant/gui/core/BuildEventForwarder.java View File

@@ -51,7 +51,8 @@
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
*/
package org.apache.tools.ant.gui;
package org.apache.tools.ant.gui.core;

import org.apache.tools.ant.gui.event.*;
import org.apache.tools.ant.BuildListener;
import org.apache.tools.ant.BuildEvent;

src/antidote/org/apache/tools/ant/gui/EventResponder.java → src/antidote/org/apache/tools/ant/gui/core/EventResponder.java View File

@@ -51,7 +51,7 @@
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
*/
package org.apache.tools.ant.gui;
package org.apache.tools.ant.gui.core;

import org.apache.tools.ant.gui.event.*;
import org.apache.tools.ant.gui.command.*;
@@ -66,7 +66,7 @@ import javax.swing.*;
* @version $Revision$
* @author Simeon Fitch
*/
class EventResponder {
public class EventResponder {

/** The application context. */
private AppContext _context = null;

src/antidote/org/apache/tools/ant/gui/EventToActionMapper.java → src/antidote/org/apache/tools/ant/gui/core/EventToActionMapper.java View File

@@ -51,7 +51,7 @@
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
*/
package org.apache.tools.ant.gui;
package org.apache.tools.ant.gui.core;
import java.util.*;

/**
@@ -71,8 +71,11 @@ class EventToActionMapper {
private Map _disableOn = new HashMap();


/**
* Defaul ctor.
*
*/
public EventToActionMapper() {

}

/**
@@ -85,7 +88,6 @@ class EventToActionMapper {
putAction(action, action.getDisableOnEvents(), _disableOn);
}


/**
* For the given action store it in the event type mapping
* for each of the given types.
@@ -107,8 +109,6 @@ class EventToActionMapper {
values.add(action);
}
}


/**
* For the given event change the state of any actions that
* have been registered as needing a transition as a result of
@@ -142,6 +142,4 @@ class EventToActionMapper {
action.setEnabled(state);
}
}


}

src/antidote/org/apache/tools/ant/gui/ProjectProxy.java → src/antidote/org/apache/tools/ant/gui/core/ProjectProxy.java View File

@@ -51,9 +51,12 @@
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
*/
package org.apache.tools.ant.gui;
package org.apache.tools.ant.gui.core;

import org.apache.tools.ant.*;
import org.apache.tools.ant.gui.*;
import org.apache.tools.ant.gui.event.*;
import org.apache.tools.ant.gui.acs.ElementTreeSelectionModel;
import org.apache.tools.ant.gui.acs.*;
import java.io.File;
import java.io.Writer;
@@ -86,7 +89,7 @@ public class ProjectProxy {
/** The current thread executing a build. */
private Thread _buildThread = null;
/** The selection model for selected targets. */
private ElementSelectionModel _selections = null;
private ElementTreeSelectionModel _selections = null;

/**
* File loading ctor.
@@ -106,7 +109,7 @@ public class ProjectProxy {
*/
private void loadProject() throws IOException, SAXException {
_project = ACSFactory.getInstance().load(_file);
_selections = new ElementSelectionModel();
_selections = new ElementTreeSelectionModel();
_selections.addTreeSelectionListener(new SelectionForwarder());
}

@@ -174,7 +177,7 @@ public class ProjectProxy {
*/
public TreeModel getTreeModel() {
if(_project != null) {
return new ProjectTreeModel(_project);
return new ElementTreeModel(_project);
}
return null;
}
@@ -184,7 +187,7 @@ public class ProjectProxy {
*
* @return Selection model.
*/
public ElementSelectionModel getTreeSelectionModel() {
public ElementTreeSelectionModel getTreeSelectionModel() {
return _selections;
}


src/antidote/org/apache/tools/ant/gui/ResourceManager.java → src/antidote/org/apache/tools/ant/gui/core/ResourceManager.java View File

@@ -51,7 +51,7 @@
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
*/
package org.apache.tools.ant.gui;
package org.apache.tools.ant.gui.core;

import java.util.*;
import java.text.MessageFormat;
@@ -67,6 +67,18 @@ import java.io.File;
* @author Simeon H.K. Fitch
*/
public class ResourceManager {

/** Path to default resources. */
private static final String RESOURCE_PKG =
"org.apache.tools.ant.gui.resources";
/** Path to default resources. */
private static final String DEF_PROPERTIES =
RESOURCE_PKG + ".antidote";

/** Image path. */
private static final String IMG_PATH =
"/" + RESOURCE_PKG.replace('.', '/');

/** Resources to reference. */
private ResourceBundle _resources = null;

@@ -75,7 +87,7 @@ public class ResourceManager {
*
*/
public ResourceManager() {
this("org.apache.tools.ant.gui.resources.antidote");
this(DEF_PROPERTIES);
}

/**
@@ -186,7 +198,7 @@ public class ResourceManager {

ImageIcon icon = null;

URL location = getClass().getResource("resources/" + fileName);
URL location = getClass().getResource(IMG_PATH + "/" + fileName);

if(location != null) {
icon = new ImageIcon(location);

src/antidote/org/apache/tools/ant/gui/XMLFileFilter.java → src/antidote/org/apache/tools/ant/gui/core/XMLFileFilter.java View File

@@ -51,7 +51,7 @@
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
*/
package org.apache.tools.ant.gui;
package org.apache.tools.ant.gui.core;

import javax.swing.filechooser.FileFilter;
import java.io.File;

+ 1
- 1
src/antidote/org/apache/tools/ant/gui/customizer/DynamicCustomizer.java View File

@@ -53,7 +53,7 @@
*/
package org.apache.tools.ant.gui.customizer;

import org.apache.tools.ant.gui.LabelFieldGBC;
import org.apache.tools.ant.gui.util.LabelFieldGBC;
import java.lang.reflect.*;
import java.beans.*;
import javax.swing.*;


+ 2
- 2
src/antidote/org/apache/tools/ant/gui/event/AntBuildEvent.java View File

@@ -56,7 +56,7 @@ import org.apache.tools.ant.BuildEvent;
import org.apache.tools.ant.gui.util.StackFrame;
import org.apache.tools.ant.gui.command.Command;
import org.apache.tools.ant.gui.command.NoOpCmd;
import org.apache.tools.ant.gui.AppContext;
import org.apache.tools.ant.gui.core.AppContext;
import java.util.EventObject;

/**
@@ -78,7 +78,7 @@ public class AntBuildEvent extends AntEvent {
* @param context application context.
*/
public AntBuildEvent(AppContext context,
BuildEvent buildEvent, BuildEventType type) {
BuildEvent buildEvent, BuildEventType type) {
super(context);
_buildEvent = buildEvent;
_type = type;


+ 1
- 1
src/antidote/org/apache/tools/ant/gui/event/AntEvent.java View File

@@ -54,7 +54,7 @@
package org.apache.tools.ant.gui.event;
import org.apache.tools.ant.gui.command.Command;
import org.apache.tools.ant.gui.command.NoOpCmd;
import org.apache.tools.ant.gui.AppContext;
import org.apache.tools.ant.gui.core.AppContext;
import java.util.EventObject;

/**


+ 1
- 1
src/antidote/org/apache/tools/ant/gui/event/BuildFinishedEvent.java View File

@@ -53,7 +53,7 @@
*/
package org.apache.tools.ant.gui.event;
import org.apache.tools.ant.BuildEvent;
import org.apache.tools.ant.gui.AppContext;
import org.apache.tools.ant.gui.core.AppContext;


/**


+ 1
- 1
src/antidote/org/apache/tools/ant/gui/event/BuildStartedEvent.java View File

@@ -53,7 +53,7 @@
*/
package org.apache.tools.ant.gui.event;
import org.apache.tools.ant.BuildEvent;
import org.apache.tools.ant.gui.AppContext;
import org.apache.tools.ant.gui.core.AppContext;


/**


+ 1
- 1
src/antidote/org/apache/tools/ant/gui/event/ElementSelectionEvent.java View File

@@ -55,7 +55,7 @@ package org.apache.tools.ant.gui.event;
import org.apache.tools.ant.gui.acs.*;
import org.apache.tools.ant.gui.command.Command;
import org.apache.tools.ant.gui.command.DisplayErrorCmd;
import org.apache.tools.ant.gui.AppContext;
import org.apache.tools.ant.gui.core.AppContext;

/**
* Event indicating that the current set of selected targets has changed.


+ 1
- 1
src/antidote/org/apache/tools/ant/gui/event/ErrorEvent.java View File

@@ -52,7 +52,7 @@
* <http://www.apache.org/>.
*/
package org.apache.tools.ant.gui.event;
import org.apache.tools.ant.gui.AppContext;
import org.apache.tools.ant.gui.core.AppContext;
import org.apache.tools.ant.gui.command.DisplayErrorCmd;
import org.apache.tools.ant.gui.command.Command;
import org.apache.tools.ant.gui.util.StackFrame;


+ 1
- 1
src/antidote/org/apache/tools/ant/gui/event/NewProjectEvent.java View File

@@ -52,7 +52,7 @@
* <http://www.apache.org/>.
*/
package org.apache.tools.ant.gui.event;
import org.apache.tools.ant.gui.AppContext;
import org.apache.tools.ant.gui.core.AppContext;

/**
* Event providing notification of a change in the current project.


+ 1
- 1
src/antidote/org/apache/tools/ant/gui/event/NullSelectionEvent.java View File

@@ -53,7 +53,7 @@
*/
package org.apache.tools.ant.gui.event;
import org.apache.tools.ant.gui.acs.ACSElement;
import org.apache.tools.ant.gui.AppContext;
import org.apache.tools.ant.gui.core.AppContext;

/**
* Event fired when no elements are selected.


+ 1
- 1
src/antidote/org/apache/tools/ant/gui/event/OpenRequestEvent.java View File

@@ -52,7 +52,7 @@
* <http://www.apache.org/>.
*/
package org.apache.tools.ant.gui.event;
import org.apache.tools.ant.gui.AppContext;
import org.apache.tools.ant.gui.core.AppContext;
import org.apache.tools.ant.gui.command.Command;
import org.apache.tools.ant.gui.command.LoadFileCmd;



+ 1
- 1
src/antidote/org/apache/tools/ant/gui/event/ProjectClosedEvent.java View File

@@ -52,7 +52,7 @@
* <http://www.apache.org/>.
*/
package org.apache.tools.ant.gui.event;
import org.apache.tools.ant.gui.AppContext;
import org.apache.tools.ant.gui.core.AppContext;


/**


+ 1
- 1
src/antidote/org/apache/tools/ant/gui/event/ProjectSelectionEvent.java View File

@@ -53,7 +53,7 @@
*/
package org.apache.tools.ant.gui.event;
import org.apache.tools.ant.gui.acs.ACSElement;
import org.apache.tools.ant.gui.AppContext;
import org.apache.tools.ant.gui.core.AppContext;

/**
* Event fired when the project node is selected.


+ 1
- 1
src/antidote/org/apache/tools/ant/gui/event/PropertySelectionEvent.java View File

@@ -53,7 +53,7 @@
*/
package org.apache.tools.ant.gui.event;
import org.apache.tools.ant.gui.acs.ACSElement;
import org.apache.tools.ant.gui.AppContext;
import org.apache.tools.ant.gui.core.AppContext;

/**
* Event fired when one or more tasks are selected.


+ 1
- 1
src/antidote/org/apache/tools/ant/gui/event/TargetSelectionEvent.java View File

@@ -53,7 +53,7 @@
*/
package org.apache.tools.ant.gui.event;
import org.apache.tools.ant.gui.acs.ACSElement;
import org.apache.tools.ant.gui.AppContext;
import org.apache.tools.ant.gui.core.AppContext;

/**
* Event fired when one or more targets are selected.


+ 1
- 1
src/antidote/org/apache/tools/ant/gui/event/TaskSelectionEvent.java View File

@@ -53,7 +53,7 @@
*/
package org.apache.tools.ant.gui.event;
import org.apache.tools.ant.gui.acs.ACSElement;
import org.apache.tools.ant.gui.AppContext;
import org.apache.tools.ant.gui.core.AppContext;

/**
* Event fired when one or more tasks are selected.


src/antidote/org/apache/tools/ant/gui/TargetMonitor.java → src/antidote/org/apache/tools/ant/gui/modules/TargetMonitor.java View File

@@ -51,9 +51,11 @@
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
*/
package org.apache.tools.ant.gui;
package org.apache.tools.ant.gui.modules;
import org.apache.tools.ant.gui.core.*;
import org.apache.tools.ant.gui.event.*;
import org.apache.tools.ant.gui.acs.ACSTargetElement;
import org.apache.tools.ant.gui.acs.ElementTreeSelectionModel;
import javax.swing.*;
import javax.swing.plaf.ComponentUI;
import javax.swing.text.Document;
@@ -140,7 +142,8 @@ public class TargetMonitor extends AntModule {

ProjectProxy p = getContext().getProject();
if(p != null) {
ElementSelectionModel selections = p.getTreeSelectionModel();
ElementTreeSelectionModel selections =
p.getTreeSelectionModel();
ACSTargetElement[] targets = selections.getSelectedTargets();
if(targets != null && targets.length > 0) {
StringBuffer buf = new StringBuffer();

src/antidote/org/apache/tools/ant/gui/Console.java → src/antidote/org/apache/tools/ant/gui/modules/console/BuildConsole.java View File

@@ -51,7 +51,10 @@
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
*/
package org.apache.tools.ant.gui;
package org.apache.tools.ant.gui.modules;

import org.apache.tools.ant.gui.core.AntModule;
import org.apache.tools.ant.gui.core.AppContext;
import org.apache.tools.ant.gui.event.*;
import javax.swing.*;
import javax.swing.plaf.ComponentUI;
@@ -68,7 +71,7 @@ import java.util.EventObject;
* @version $Revision$
* @author Simeon Fitch
*/
public class Console extends AntModule {
public class BuildConsole extends AntModule {
/** Area where messages are printed. */
private JTextPane _text = null;
/** Selection of logging levels. */
@@ -79,7 +82,7 @@ public class Console extends AntModule {
/**
* Default ctor.
*/
public Console() {
public BuildConsole() {
}



src/antidote/org/apache/tools/ant/gui/LogLevelEnum.java → src/antidote/org/apache/tools/ant/gui/modules/console/LogLevelEnum.java View File

@@ -51,7 +51,7 @@
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
*/
package org.apache.tools.ant.gui;
package org.apache.tools.ant.gui.modules;

/**
* Enumeration class of the different log levels.

src/antidote/org/apache/tools/ant/gui/ProjectNavigator.java → src/antidote/org/apache/tools/ant/gui/modules/edit/ElementNavigator.java View File

@@ -51,7 +51,8 @@
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
*/
package org.apache.tools.ant.gui;
package org.apache.tools.ant.gui.modules.edit;
import org.apache.tools.ant.gui.core.*;
import org.apache.tools.ant.gui.event.*;
import javax.swing.*;
import java.awt.GridLayout;
@@ -61,12 +62,12 @@ import java.awt.event.MouseEvent;
import java.util.EventObject;

/**
* AntEditor for displaying the project target in a
* Module for navigating build file elemenets.
*
* @version $Revision$
* @author Simeon Fitch
*/
class ProjectNavigator extends AntModule {
public class ElementNavigator extends AntModule {

/** Navigation via a tree widget. */
private JTree _tree = null;
@@ -75,7 +76,7 @@ class ProjectNavigator extends AntModule {
* Default ctor.
*
*/
public ProjectNavigator() {
public ElementNavigator() {
}

/**
@@ -91,7 +92,7 @@ class ProjectNavigator extends AntModule {

_tree = new JTree();
_tree.setModel(null);
_tree.setCellRenderer(new AntTreeCellRenderer());
_tree.setCellRenderer(new ElementTreeCellRenderer());
_tree.addMouseListener(new PopupHandler());
JScrollPane scroller = new JScrollPane(_tree);
add(scroller);
@@ -159,7 +160,7 @@ class ProjectNavigator extends AntModule {
ActionManager mgr = getContext().getActions();
JPopupMenu menu = mgr.createPopup(
getContext().getResources().getStringArray(
ProjectNavigator.class, "popupActions"));
ElementNavigator.class, "popupActions"));
menu.show((JComponent)e.getSource(), e.getX(), e.getY());
}
}

src/antidote/org/apache/tools/ant/gui/AntTreeCellRenderer.java → src/antidote/org/apache/tools/ant/gui/modules/edit/ElementTreeCellRenderer.java View File

@@ -51,7 +51,7 @@
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
*/
package org.apache.tools.ant.gui;
package org.apache.tools.ant.gui.modules.edit;

import org.apache.tools.ant.gui.acs.ACSElement;
import javax.swing.tree.DefaultTreeCellRenderer;
@@ -67,7 +67,7 @@ import java.beans.*;
* @version $Revision$
* @author Simeon Fitch
*/
public class AntTreeCellRenderer extends DefaultTreeCellRenderer {
public class ElementTreeCellRenderer extends DefaultTreeCellRenderer {

public Component getTreeCellRendererComponent(JTree tree,
Object value,

src/antidote/org/apache/tools/ant/gui/PropertyEditor.java → src/antidote/org/apache/tools/ant/gui/modules/edit/PropertyEditor.java View File

@@ -51,9 +51,10 @@
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
*/
package org.apache.tools.ant.gui;
package org.apache.tools.ant.gui.modules.edit;

import org.apache.tools.ant.gui.customizer.DynamicCustomizer;
import org.apache.tools.ant.gui.core.*;
import org.apache.tools.ant.gui.acs.*;
import org.apache.tools.ant.gui.event.*;
import javax.swing.*;

+ 2
- 16
src/antidote/org/apache/tools/ant/gui/resources/action.properties View File

@@ -1,12 +1,12 @@
# Define the primary menubar items.
menus=File, Build, Options, Help
menus=File, Build, Help

# Declare the list of known actions.
actions=\
open, save, saveas, close, exit, about, \
newTarget, newTask, newProperty \
startBuild, stopBuild, \
notifyEmacs, changeLookAndFeel
notifyEmacs

# Configure the decalred actions.

@@ -132,17 +132,3 @@ newProperty.enableOn=\
newProperty.disableOn=\
org.apache.tools.ant.gui.event.PropertySelectionEvent, \
org.apache.tools.ant.gui.event.NullSelectionEvent

changeLookAndFeel.name=Look and Feel...
changeLookAndFeel.shortDescription=Change the Look and Feel
changeLookAndFeel.parentMenuName=Options
changeLookAndFeel.command=org.apache.tools.ant.gui.command.ChangeLookAndFeelCmd
changeLookAndFeel.enabled=true
changeLookAndFeel.separator=true

notifyEmacs.name=Notify Emacs
notifyEmacs.shortDescription=\
Send a notification event to Emacs on build errors
notifyEmacs.parentMenuName=Options
notifyEmacs.toggle=true
notifyEmacs.command=org.apache.tools.ant.gui.command.EmacsNotifyCmd

+ 36
- 37
src/antidote/org/apache/tools/ant/gui/resources/antidote.properties View File

@@ -8,33 +8,33 @@

# Configure the modules that appear on the right of the UI.
org.apache.tools.ant.gui.Antidote.right.modules=\
org.apache.tools.ant.gui.PropertyEditor
org.apache.tools.ant.gui.modules.edit.PropertyEditor

# Configure the modules that appear on the left of the UI.
org.apache.tools.ant.gui.Antidote.left.modules=\
org.apache.tools.ant.gui.ProjectNavigator
org.apache.tools.ant.gui.modules.edit.ElementNavigator

# Configure the modules that appear on the bottom of the UI.
org.apache.tools.ant.gui.Antidote.bottom.modules=\
org.apache.tools.ant.gui.Console
org.apache.tools.ant.gui.modules.console.BuildConsole

# Configure the modules that appear on the top of the UI.
org.apache.tools.ant.gui.Antidote.top.modules=\
org.apache.tools.ant.gui.TargetMonitor
org.apache.tools.ant.gui.modules.TargetMonitor

org.apache.tools.ant.gui.PropertyEditor.name=Properties
org.apache.tools.ant.gui.modules.PropertyEditor.name=Properties

org.apache.tools.ant.gui.ProjectNavigator.name=Project
org.apache.tools.ant.gui.ProjectNavigator.popupActions=\
org.apache.tools.ant.gui.modules.ElementNavigator.name=Project
org.apache.tools.ant.gui.modules.ElementNavigator.popupActions=\
newTarget, newTask, newProperty

org.apache.tools.ant.gui.TargetMonitor.name=Selected Target(s)
org.apache.tools.ant.gui.TargetMonitor.defText=[none]
org.apache.tools.ant.gui.modules.TargetMonitor.name=Selected Target(s)
org.apache.tools.ant.gui.modules.TargetMonitor.defText=[none]

org.apache.tools.ant.gui.Console.name=Console
org.apache.tools.ant.gui.Console.logLevel=Log message level:
org.apache.tools.ant.gui.modules.Console.name=Console
org.apache.tools.ant.gui.modules.Console.logLevel=Log message level:

org.apache.tools.ant.gui.XMLFileFilter.description=XML Files
org.apache.tools.ant.gui.core.XMLFileFilter.description=XML Files

org.apache.tools.ant.gui.command.LoadFileCmd.noFile=The file "{0}" was not found.
org.apache.tools.ant.gui.command.LoadFileCmd.loadError=The file "{0}" could not be loaded.
@@ -46,31 +46,6 @@ org.apache.tools.ant.gui.command.SaveCmd.noProject=No project to save.
org.apache.tools.ant.gui.command.SaveCmd.title=Overwrite?
org.apache.tools.ant.gui.command.SaveCmd.overwrite=Overwrite file "{0}"?

org.apache.tools.ant.gui.About.title=About
org.apache.tools.ant.gui.About.ok=OK
org.apache.tools.ant.gui.About.message=\
<html><h1>Antidote</h1> \
<p>Copyright &copy; 2000 The Apache Software Foundation. <br>\
All rights reserved.</p><br> \
<p>Visit http://jakarta.apache.org/ant for more information.</p><br> \
<table> \
<tr><td align="right"><b>Version</b>:</td><td>{0}</td></tr> \
<tr><td align="right"><b>Date</b>:</td><td>{1}</td></tr> \
<tr><td align="right" valign="top"><b>Contributors</b>:</td>\
<td>{2}</td></tr> \
</table> \
<hr> \
<p>Icons Copyright &copy; 1998 Dean S. Jones (deansjones@hotmail.com)<br> \
http://jfa.javalobby.org/projects/icons</p> \
</html>


org.apache.tools.ant.gui.ChangeLookAndFeel.title=Change Look and Feel
org.apache.tools.ant.gui.ChangeLookAndFeel.border=Available L&F
org.apache.tools.ant.gui.ChangeLookAndFeel.ok=OK
org.apache.tools.ant.gui.ChangeLookAndFeel.error=Error setting look and feel:


# Properties file for BeanInfo strings

org.apache.tools.ant.gui.acs.ACSTargetElementBeanInfo.beanName=Target
@@ -111,3 +86,27 @@ org.apache.tools.ant.gui.acs.ACSTaskElementBeanInfo.icon=task.gif



#----------------------------------------------------------------------------
# About Description (NB: this is only a temporary approach).
#----------------------------------------------------------------------------

org.apache.tools.ant.gui.About.title=About
org.apache.tools.ant.gui.About.ok=OK
org.apache.tools.ant.gui.About.message=\
<html><h1>Antidote</h1> \
<p>Copyright &copy; 2000 The Apache Software Foundation. <br>\
All rights reserved.</p><br> \
<p>Visit http://jakarta.apache.org/ant for more information.</p><br> \
<table> \
<tr><td align="right"><b>Version</b>:</td><td>{0}</td></tr> \
<tr><td align="right"><b>Date</b>:</td><td>{1}</td></tr> \
<tr><td align="right" valign="top"><b>Contributors</b>:</td>\
<td>{2}</td></tr> \
</table> \
<hr> \
<p>Icons Copyright &copy; 1998 Dean S. Jones (deansjones@hotmail.com)<br> \
http://jfa.javalobby.org/projects/icons</p> \
</html>




src/antidote/org/apache/tools/ant/gui/ChangeLookAndFeel.java → src/antidote/org/apache/tools/ant/gui/util/ChangeLookAndFeel.java View File

@@ -51,8 +51,10 @@
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
*/
package org.apache.tools.ant.gui;

package org.apache.tools.ant.gui.util;

import org.apache.tools.ant.gui.core.AppContext;
import org.apache.tools.ant.gui.event.ErrorEvent;
import org.apache.tools.ant.gui.util.WindowUtils;


src/antidote/org/apache/tools/ant/gui/LabelFieldGBC.java → src/antidote/org/apache/tools/ant/gui/util/LabelFieldGBC.java View File

@@ -51,7 +51,7 @@
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
*/
package org.apache.tools.ant.gui;
package org.apache.tools.ant.gui.util;

import java.awt.GridBagConstraints;
import java.awt.Insets;

src/antidote/org/apache/tools/ant/gui/XMLHelper.java → src/antidote/org/apache/tools/ant/gui/util/XMLHelper.java View File

@@ -51,7 +51,7 @@
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
*/
package org.apache.tools.ant.gui;
package org.apache.tools.ant.gui.util;

/**
* Placeholder for XML related duties.

Loading…
Cancel
Save