metasim 01/01/17 14:23:21
Modified: src/antidote/org/apache/tools/ant/gui Main.java
Log:
Added more panels to build wizard, and created state machine framework.
Revision Changes Path
1.15 +3 -5
jakarta-ant/src/antidote/org/apache/tools/ant/gui/Main.java
Index: Main.java
===================================================================
RCS file:
/home/cvs/jakarta-ant/src/antidote/org/apache/tools/ant/gui/Main.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- Main.java 2001/01/16 18:35:10 1.14
+++ Main.java 2001/01/17 22:23:20 1.15
@@ -55,6 +55,7 @@
import org.apache.tools.ant.gui.core.*;
import org.apache.tools.ant.gui.util.XMLHelper;
import org.apache.tools.ant.gui.wizard.Wizard;
+import org.apache.tools.ant.gui.wizard.build.BuildData;
import org.apache.tools.ant.gui.wizard.WizardListener;
import org.apache.tools.ant.gui.command.LoadFileCmd;
import org.apache.tools.ant.gui.event.EventBus;
@@ -66,7 +67,7 @@
/**
* Launch point for the Antidote GUI. Configurs it as an application.
*
- * @version $Revision: 1.14 $
+ * @version $Revision: 1.15 $
* @author Simeon Fitch
*/
public class Main {
@@ -115,10 +116,7 @@
}
else {
// We are in wizard mode. Create it.
- ResourceManager resources = new ResourceManager(
- "org.apache.tools.ant.gui.resources.buildFileWizard");
- Wizard wiz = new Wizard(
- resources, ACSFactory.getInstance().createProject());
+ Wizard wiz = new Wizard(new BuildData());
// XXX this is temporary for testing. Eventually
// it will launch the regular antidote screen with the
// results of the wizard.