You can subscribe to this list here.
| 2003 |
Jan
|
Feb
(14) |
Mar
(107) |
Apr
(211) |
May
(93) |
Jun
(158) |
Jul
(159) |
Aug
(368) |
Sep
(188) |
Oct
(151) |
Nov
(115) |
Dec
(98) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(25) |
Feb
|
Mar
(33) |
Apr
(28) |
May
(116) |
Jun
(2) |
Jul
(117) |
Aug
(19) |
Sep
(9) |
Oct
(2) |
Nov
|
Dec
(4) |
| 2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
(9) |
Dec
|
| 2006 |
Jan
|
Feb
|
Mar
(22) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2007 |
Jan
|
Feb
|
Mar
(6) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(267) |
Sep
|
Oct
|
Nov
(6) |
Dec
(512) |
| 2008 |
Jan
(187) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(3) |
Jul
(6) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
| 2012 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <tr...@us...> - 2003-08-27 01:35:04
|
Update of /cvsroot/babeldoc/babeldoc/modules/j2ee/config/j2ee In directory sc8-pr-cvs1:/tmp/cvs-serv13228/j2ee Log Message: Directory /cvsroot/babeldoc/babeldoc/modules/j2ee/config/j2ee added to the repository |
|
From: <tr...@us...> - 2003-08-27 01:35:04
|
Update of /cvsroot/babeldoc/babeldoc/modules/j2ee/config/env In directory sc8-pr-cvs1:/tmp/cvs-serv13228/env Log Message: Directory /cvsroot/babeldoc/babeldoc/modules/j2ee/config/env added to the repository |
|
From: <tr...@us...> - 2003-08-27 01:33:12
|
Update of /cvsroot/babeldoc/babeldoc/modules/j2ee/src/com/babeldoc/j2ee/scanner/worker In directory sc8-pr-cvs1:/tmp/cvs-serv12973/worker Log Message: Directory /cvsroot/babeldoc/babeldoc/modules/j2ee/src/com/babeldoc/j2ee/scanner/worker added to the repository |
|
From: <tr...@us...> - 2003-08-27 01:32:50
|
Update of /cvsroot/babeldoc/babeldoc/modules/j2ee/src/com/babeldoc/j2ee/scanner In directory sc8-pr-cvs1:/tmp/cvs-serv12880/scanner Log Message: Directory /cvsroot/babeldoc/babeldoc/modules/j2ee/src/com/babeldoc/j2ee/scanner added to the repository |
|
From: <tr...@us...> - 2003-08-27 01:32:50
|
Update of /cvsroot/babeldoc/babeldoc/modules/j2ee/src/com/babeldoc/j2ee/module In directory sc8-pr-cvs1:/tmp/cvs-serv12880/module Log Message: Directory /cvsroot/babeldoc/babeldoc/modules/j2ee/src/com/babeldoc/j2ee/module added to the repository |
|
From: <tr...@us...> - 2003-08-27 01:32:50
|
Update of /cvsroot/babeldoc/babeldoc/modules/j2ee/src/com/babeldoc/j2ee/journal In directory sc8-pr-cvs1:/tmp/cvs-serv12880/journal Log Message: Directory /cvsroot/babeldoc/babeldoc/modules/j2ee/src/com/babeldoc/j2ee/journal added to the repository |
|
From: <tr...@us...> - 2003-08-27 01:32:50
|
Update of /cvsroot/babeldoc/babeldoc/modules/j2ee/src/com/babeldoc/j2ee/pipeline In directory sc8-pr-cvs1:/tmp/cvs-serv12880/pipeline Log Message: Directory /cvsroot/babeldoc/babeldoc/modules/j2ee/src/com/babeldoc/j2ee/pipeline added to the repository |
|
From: <tr...@us...> - 2003-08-27 01:32:50
|
Update of /cvsroot/babeldoc/babeldoc/modules/j2ee/src/com/babeldoc/j2ee/resource In directory sc8-pr-cvs1:/tmp/cvs-serv12880/resource Log Message: Directory /cvsroot/babeldoc/babeldoc/modules/j2ee/src/com/babeldoc/j2ee/resource added to the repository |
|
From: <tr...@us...> - 2003-08-27 01:32:45
|
Update of /cvsroot/babeldoc/babeldoc/modules/j2ee/src/com/babeldoc/j2ee In directory sc8-pr-cvs1:/tmp/cvs-serv12858/j2ee Log Message: Directory /cvsroot/babeldoc/babeldoc/modules/j2ee/src/com/babeldoc/j2ee added to the repository |
|
From: <tr...@us...> - 2003-08-27 01:32:26
|
Update of /cvsroot/babeldoc/babeldoc/modules/j2ee/src/com/babeldoc In directory sc8-pr-cvs1:/tmp/cvs-serv12821/babeldoc Log Message: Directory /cvsroot/babeldoc/babeldoc/modules/j2ee/src/com/babeldoc added to the repository |
|
From: <tr...@us...> - 2003-08-27 01:31:55
|
Update of /cvsroot/babeldoc/babeldoc/modules/j2ee/src/com In directory sc8-pr-cvs1:/tmp/cvs-serv12757/com Log Message: Directory /cvsroot/babeldoc/babeldoc/modules/j2ee/src/com added to the repository |
|
From: <tr...@us...> - 2003-08-27 01:30:04
|
Update of /cvsroot/babeldoc/babeldoc/modules/j2ee/lib In directory sc8-pr-cvs1:/tmp/cvs-serv12374/lib Log Message: Directory /cvsroot/babeldoc/babeldoc/modules/j2ee/lib added to the repository |
|
From: <tr...@us...> - 2003-08-27 01:30:04
|
Update of /cvsroot/babeldoc/babeldoc/modules/j2ee/config In directory sc8-pr-cvs1:/tmp/cvs-serv12374/config Log Message: Directory /cvsroot/babeldoc/babeldoc/modules/j2ee/config added to the repository |
|
From: <tr...@us...> - 2003-08-27 01:30:04
|
Update of /cvsroot/babeldoc/babeldoc/modules/j2ee/services In directory sc8-pr-cvs1:/tmp/cvs-serv12374/services Log Message: Directory /cvsroot/babeldoc/babeldoc/modules/j2ee/services added to the repository |
|
From: <tr...@us...> - 2003-08-27 01:30:04
|
Update of /cvsroot/babeldoc/babeldoc/modules/j2ee/src In directory sc8-pr-cvs1:/tmp/cvs-serv12374/src Log Message: Directory /cvsroot/babeldoc/babeldoc/modules/j2ee/src added to the repository |
|
From: <tr...@us...> - 2003-08-27 01:30:04
|
Update of /cvsroot/babeldoc/babeldoc/modules/j2ee/support In directory sc8-pr-cvs1:/tmp/cvs-serv12374/support Log Message: Directory /cvsroot/babeldoc/babeldoc/modules/j2ee/support added to the repository |
|
From: <tr...@us...> - 2003-08-27 01:29:41
|
Update of /cvsroot/babeldoc/babeldoc/modules/j2ee In directory sc8-pr-cvs1:/tmp/cvs-serv12328/j2ee Log Message: Directory /cvsroot/babeldoc/babeldoc/modules/j2ee added to the repository |
Update of /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/wizard/setup
In directory sc8-pr-cvs1:/tmp/cvs-serv16008/gui/src/com/babeldoc/gui/wizard/setup
Modified Files:
Command.java FinalizeWizardPanel.java ProjectSetupModel.java
ProjectSetupWizardPanel.java SelectComponentsWizardPanel.java
Log Message:
Updates to the GUI code.
Index: Command.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/wizard/setup/Command.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Command.java 11 Jun 2003 23:35:39 -0000 1.2
--- Command.java 26 Aug 2003 22:23:32 -0000 1.3
***************
*** 72,77 ****
import org.apache.commons.cli.Options;
- import javax.swing.*;
-
/**
--- 72,75 ----
***************
*** 80,84 ****
public class Command extends BabeldocCommand {
/**
! * Creates a new Command object.
*/
public Command() {
--- 78,82 ----
public class Command extends BabeldocCommand {
/**
! * Creates a new LightConfigCommand object.
*/
public Command() {
***************
*** 101,104 ****
--- 99,103 ----
public void execute(CommandLine commandLine) {
ProjectSetupWizard.run();
+ System.exit(0);
}
***************
*** 110,114 ****
public static void main(String[] args) {
new Command(args);
- System.exit(0);
}
--- 109,112 ----
Index: FinalizeWizardPanel.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/wizard/setup/FinalizeWizardPanel.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** FinalizeWizardPanel.java 11 Jun 2003 23:35:39 -0000 1.2
--- FinalizeWizardPanel.java 26 Aug 2003 22:23:32 -0000 1.3
***************
*** 67,70 ****
--- 67,76 ----
import com.babeldoc.core.I18n;
+ import com.babeldoc.gui.pipeline.builder.PipelineBuilder;
+
+ import javax.swing.*;
+ import java.awt.*;
+ import java.awt.event.ActionListener;
+ import java.awt.event.ActionEvent;
***************
*** 83,86 ****
--- 89,100 ----
public FinalizeWizardPanel(ProjectSetupModel model) {
super(model, NUMBER, I18n.get("gui.wizard.setup.finalize"));
+ }
+
+ /**
+ * Override this method. This is called from the wizard dialog just prior to
+ * showing your wizard panel. This is used to setup the components on the
+ * the panel
+ */
+ protected void initialize() {
}
}
Index: ProjectSetupModel.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/wizard/setup/ProjectSetupModel.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** ProjectSetupModel.java 11 Jun 2003 23:35:39 -0000 1.3
--- ProjectSetupModel.java 26 Aug 2003 22:23:32 -0000 1.4
***************
*** 70,73 ****
--- 70,74 ----
import com.babeldoc.gui.wizard.WizardModel;
+ import com.babeldoc.gui.pipeline.builder.PipelineBuilder;
import java.io.*;
***************
*** 88,101 ****
/**
! * TODO: DOCUMENT ME!
*
* @param configPipeline DOCUMENT ME!
*/
public void setConfigPipeline(boolean configPipeline) {
this.configPipeline = configPipeline;
}
/**
! * TODO: DOCUMENT ME!
*
* @return DOCUMENT ME!
--- 89,104 ----
/**
! * Set the configuration pipeline option - set this to enable creation
! * of first parts of the pipeline configuration
*
* @param configPipeline DOCUMENT ME!
*/
public void setConfigPipeline(boolean configPipeline) {
+ // System.out.println("Config pipeline: "+configPipeline);
this.configPipeline = configPipeline;
}
/**
! * Is the pipeline configuration enabled?
*
* @return DOCUMENT ME!
***************
*** 106,120 ****
/**
! * TODO: DOCUMENT ME!
*
* @param configScanner DOCUMENT ME!
*/
public void setConfigScanner(boolean configScanner) {
! //System.out.println("Scanner:"+configScanner);
this.configScanner = configScanner;
}
/**
! * TODO: DOCUMENT ME!
*
* @return DOCUMENT ME!
--- 109,123 ----
/**
! * Set this to true if scanner configuration is required.
*
* @param configScanner DOCUMENT ME!
*/
public void setConfigScanner(boolean configScanner) {
! // System.out.println("Scanner:"+configScanner);
this.configScanner = configScanner;
}
/**
! * Is the scanner configuration enabled.
*
* @return DOCUMENT ME!
***************
*** 125,129 ****
/**
! * TODO: DOCUMENT ME!
*
* @param name DOCUMENT ME!
--- 128,132 ----
/**
! * Set the name of the project
*
* @param name DOCUMENT ME!
***************
*** 134,138 ****
/**
! * TODO: DOCUMENT ME!
*
* @return DOCUMENT ME!
--- 137,141 ----
/**
! * Get the name of the configuration
*
* @return DOCUMENT ME!
***************
*** 180,196 ****
} else {
createProjectFile();
! if (this.isConfigPipeline()) {
! createPipelines();
}
! if (this.isConfigPipeline()) {
! createScanners();
! }
}
}
/**
! * TODO: DOCUMENT ME!
*
* @throws IOException DOCUMENT ME!
--- 183,207 ----
} else {
createProjectFile();
+ createConfiguration();
+ EnvironmentLoader.addSearchPath(getRootDir().getCanonicalPath());
! if(this.isConfigPipeline()) {
! PipelineBuilder.runAsDialog();
}
+ }
+ }
! private void createConfiguration() throws IOException {
! if (this.isConfigPipeline()) {
! createPipelines();
! }
!
! if (this.isConfigPipeline()) {
! createScanners();
}
}
/**
! * Create the pipeline configuration
*
* @throws IOException DOCUMENT ME!
***************
*** 208,212 ****
/**
! * TODO: DOCUMENT ME!
*
* @throws IOException DOCUMENT ME!
--- 219,223 ----
/**
! * Create the project file and the setup environment variables.
*
* @throws IOException DOCUMENT ME!
***************
*** 241,245 ****
/**
! * TODO: DOCUMENT ME!
*
* @throws IOException DOCUMENT ME!
--- 252,256 ----
/**
! * Create the scanner configuration files.
*
* @throws IOException DOCUMENT ME!
Index: ProjectSetupWizardPanel.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/wizard/setup/ProjectSetupWizardPanel.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** ProjectSetupWizardPanel.java 11 Jun 2003 23:35:39 -0000 1.2
--- ProjectSetupWizardPanel.java 26 Aug 2003 22:23:32 -0000 1.3
***************
*** 71,77 ****
/**
* base class of all the wizard panes in project setup. Sets the model
! * information so that the views can get to the data.
*/
! public class ProjectSetupWizardPanel extends StandardWizardPanel {
private ProjectSetupModel model = null;
--- 71,77 ----
/**
* base class of all the wizard panes in project setup. Sets the model
! * information so that the views can getChild to the data.
*/
! public abstract class ProjectSetupWizardPanel extends StandardWizardPanel {
private ProjectSetupModel model = null;
***************
*** 105,114 ****
public ProjectSetupModel getModel() {
return model;
- }
-
- /**
- * Initialize the panel - does nothing.
- */
- protected void initialize() {
}
}
--- 105,108 ----
Index: SelectComponentsWizardPanel.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/wizard/setup/SelectComponentsWizardPanel.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** SelectComponentsWizardPanel.java 11 Jun 2003 23:35:39 -0000 1.2
--- SelectComponentsWizardPanel.java 26 Aug 2003 22:23:32 -0000 1.3
***************
*** 102,122 ****
*/
public void actionPerformed(ActionEvent e) {
- // System.out.println(e.toString());
if (e.getSource().equals(scanner)) {
getModel().setConfigScanner(scanner.isSelected());
} else if (e.getSource().equals(pipeline)) {
! getModel().setConfigScanner(pipeline.isSelected());
}
}
/**
- * TODO: DOCUMENT ME!
- */
- protected void inititialize() {
- pipeline.setSelected(getModel().isConfigPipeline());
- scanner.setSelected(getModel().isConfigScanner());
- }
-
- /**
* Setup the right panel - add the two check boxes.
*/
--- 102,113 ----
*/
public void actionPerformed(ActionEvent e) {
if (e.getSource().equals(scanner)) {
getModel().setConfigScanner(scanner.isSelected());
} else if (e.getSource().equals(pipeline)) {
! getModel().setConfigPipeline(pipeline.isSelected());
}
}
/**
* Setup the right panel - add the two check boxes.
*/
***************
*** 125,128 ****
--- 116,123 ----
downpanel.setLayout(new BoxLayout(downpanel, BoxLayout.PAGE_AXIS));
downpanel.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));
+
+ // pipeline.setSelected(getModel().isConfigPipeline());
+ // scanner.setSelected(getModel().isConfigScanner());
+
downpanel.add(pipeline);
downpanel.add(scanner);
***************
*** 132,135 ****
--- 127,140 ----
pipeline.addActionListener(this);
scanner.addActionListener(this);
+ }
+
+ /**
+ * Override this method. This is called from the wizard dialog just prior to
+ * showing your wizard panel. This is used to setup the components on the
+ * the panel
+ */
+ protected void initialize() {
+ pipeline.setSelected(getModel().isConfigPipeline());
+ scanner.setSelected(getModel().isConfigScanner());
}
}
|
|
From: <tr...@us...> - 2003-08-26 22:23:41
|
Update of /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/wizard/addstage
In directory sc8-pr-cvs1:/tmp/cvs-serv16008/gui/src/com/babeldoc/gui/wizard/addstage
Modified Files:
AddPipelineStageModel.java AddPipelineStageWizard.java
AddPipelineStageWizardPanel.java Command.java
GetStageConfigWizardPanel.java GetStageDetailsWizardPanel.java
Log Message:
Updates to the GUI code.
Index: AddPipelineStageModel.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/wizard/addstage/AddPipelineStageModel.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** AddPipelineStageModel.java 11 Jun 2003 23:35:38 -0000 1.5
--- AddPipelineStageModel.java 26 Aug 2003 22:23:32 -0000 1.6
***************
*** 87,91 ****
/**
* Construct this model. If the the name of the pipeline is null, then the
! * wizard must get the name from a list.
*
* @param pipeline
--- 87,91 ----
/**
* Construct this model. If the the name of the pipeline is null, then the
! * wizard must getChild the name from a list.
*
* @param pipeline
***************
*** 233,237 ****
/**
! * get the type of the selected stage
*
* @param stageType
--- 233,237 ----
/**
! * getChild the type of the selected stage
*
* @param stageType
***************
*** 242,246 ****
/**
! * get the type of the selected stage
*
* @return
--- 242,246 ----
/**
! * getChild the type of the selected stage
*
* @return
Index: AddPipelineStageWizard.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/wizard/addstage/AddPipelineStageWizard.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** AddPipelineStageWizard.java 11 Jun 2003 23:35:38 -0000 1.3
--- AddPipelineStageWizard.java 26 Aug 2003 22:23:32 -0000 1.4
***************
*** 75,79 ****
* The AddPipelineStageWizard allows for quick and easy access to the wizard.
* Simply execute the static run method and then browse the returned model
! * object to get the results.
*
* @author bmcdonald
--- 75,79 ----
* The AddPipelineStageWizard allows for quick and easy access to the wizard.
* Simply execute the static run method and then browse the returned model
! * object to getChild the results.
*
* @author bmcdonald
***************
*** 84,88 ****
/**
! * Private constructor - use the run method get an instance.
*
* @param model
--- 84,88 ----
/**
! * Private constructor - use the run method getChild an instance.
*
* @param model
Index: AddPipelineStageWizardPanel.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/wizard/addstage/AddPipelineStageWizardPanel.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** AddPipelineStageWizardPanel.java 11 Jun 2003 23:35:38 -0000 1.2
--- AddPipelineStageWizardPanel.java 26 Aug 2003 22:23:32 -0000 1.3
***************
*** 72,76 ****
/**
* base class of all the wizard panes in project setup. Sets the model
! * information so that the views can get to the data.
*
* @author bmcdonald
--- 72,76 ----
/**
* base class of all the wizard panes in project setup. Sets the model
! * information so that the views can getChild to the data.
*
* @author bmcdonald
Index: Command.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/wizard/addstage/Command.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Command.java 11 Jun 2003 23:35:38 -0000 1.2
--- Command.java 26 Aug 2003 22:23:32 -0000 1.3
***************
*** 74,78 ****
/**
! * The Command is the class that is run from the babeldoc command class using
* the service lookup.
*
--- 74,78 ----
/**
! * The LightConfigCommand is the class that is run from the babeldoc command class using
* the service lookup.
*
***************
*** 82,86 ****
public class Command extends BabeldocCommand {
/**
! * Creates a new Command object.
*/
public Command() {
--- 82,86 ----
public class Command extends BabeldocCommand {
/**
! * Creates a new LightConfigCommand object.
*/
public Command() {
***************
*** 103,106 ****
--- 103,107 ----
public void execute(CommandLine commandLine) {
AddPipelineStageWizard.run(null);
+ System.exit(0);
}
Index: GetStageConfigWizardPanel.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/wizard/addstage/GetStageConfigWizardPanel.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** GetStageConfigWizardPanel.java 11 Jun 2003 23:35:38 -0000 1.3
--- GetStageConfigWizardPanel.java 26 Aug 2003 22:23:32 -0000 1.4
***************
*** 72,77 ****
/**
! * Wizard panel to get the final details for the pipeline stage. This could be
! * extended to get the next stage data but for now...
*
* @author bmcdonald
--- 72,77 ----
/**
! * Wizard panel to getChild the final details for the pipeline stage. This could be
! * extended to getChild the next stage data but for now...
*
* @author bmcdonald
Index: GetStageDetailsWizardPanel.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/wizard/addstage/GetStageDetailsWizardPanel.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** GetStageDetailsWizardPanel.java 11 Jun 2003 23:35:38 -0000 1.3
--- GetStageDetailsWizardPanel.java 26 Aug 2003 22:23:32 -0000 1.4
***************
*** 78,83 ****
/**
! * Wizard panel to get the final details for the pipeline stage. This could be
! * extended to get the next stage data but for now...
*
* @author bmcdonald
--- 78,83 ----
/**
! * Wizard panel to getChild the final details for the pipeline stage. This could be
! * extended to getChild the next stage data but for now...
*
* @author bmcdonald
|
Update of /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/pipeline/builder In directory sc8-pr-cvs1:/tmp/cvs-serv16008/gui/src/com/babeldoc/gui/pipeline/builder Modified Files: AddPipelineAction.java AddPipelineStageAction.java AddPipelineStageConfigAction.java BuilderAction.java Command.java PipelineBuilder.java PipelineBuilderController.java PipelineBuilderModel.java RemovePipelineAction.java RemovePipelineStageAction.java SetEntryStageAction.java Added Files: PipelineBuilderPanel.java Removed Files: PipelineBuilderFrame.java Log Message: Updates to the GUI code. --- NEW FILE: PipelineBuilderPanel.java --- /* ==================================================================== * 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 * 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 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 "Apache" 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 ap...@ap.... * * 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 (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/>. * * Portions of this software are based upon public domain software * originally written at the National Center for Supercomputing Applications, * University of Illinois, Urbana-Champaign. * ==================================================================== * * Babeldoc: The Universal Document Processor * * $Header: /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/pipeline/builder/PipelineBuilderPanel.java,v 1.1 2003/08/26 22:23:32 triphop Exp $ * $DateTime$ * $Author: triphop $ * */ package com.babeldoc.gui.pipeline.builder; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.util.Iterator; import java.util.Properties; import javax.swing.*; import javax.swing.event.TreeModelEvent; import javax.swing.event.TreeModelListener; import javax.swing.tree.*; /** * This is the main window to the the PipelineBuilder. */ public class PipelineBuilderPanel extends JPanel implements ActionListener { public static final String ACTION_REMOVE_PIPELINE = "remove pipeline"; public static final String ACTION_REMOVE_STAGE = "remove stage"; public static final String ACTION_ADD_CONFIG = "add config"; public static final String ACTION_REMOVE_CONFIG = "remove config"; public static final String ACTION_SET_ENTRY_STAGE = "set entry stage"; private PipelineBuilderController controller = null; private PipelineTree tree; /** * Construct the main UI. * * @param controller */ public PipelineBuilderPanel(PipelineBuilderController controller) { this.controller = controller; // Link the controller to this frame. controller.setFrame(this); tree = new PipelineTree(); getTree().getModel().addTreeModelListener(new MyTreeModelListener()); getTree().setPreferredSize(new Dimension(640, 480)); getTree().setEditable(true); getTree().getSelectionModel().setSelectionMode(TreeSelectionModel.SINGLE_TREE_SELECTION); getTree().setShowsRootHandles(true); getTree().putClientProperty("JTree.lineStyle", "Angled"); getTree().addMouseListener(new MouseAdapter() { public void mousePressed(MouseEvent e) { TreePath selPath = getTree().getPathForLocation(e.getX(), e.getY()); getTree().setSelectionPath(selPath); maybeShowPopup(e); } public void mouseReleased(MouseEvent e) { maybeShowPopup(e); } }); this.setLayout(new BorderLayout()); this.add(new JScrollPane(getTree())); renderTree(); } /** * TODO: DOCUMENT ME! * * @return DOCUMENT ME! */ public PipelineBuilderController getController() { return controller; } /** * TODO: DOCUMENT ME! * * @return DOCUMENT ME! */ public PipelineTree getTree() { return tree; } /** * TODO: DOCUMENT ME! * * @param e DOCUMENT ME! */ public void actionPerformed(ActionEvent e) { } /** * TODO: DOCUMENT ME! */ public void renderTree() { getTree().clear(); String[] pipes = getController().getModel().getAllPipelineNames(); for (int i = 0; i < pipes.length; ++i) { DefaultMutableTreeNode pipenode = getTree().addObject(null, PipelineTreeNode.pipelineNode(pipes[i])); String[] stages = new String[0]; stages = getController().getModel().getAllPipelineStages(pipes[i]); if(stages!=null) { for (int j = 0; j < stages.length; ++j) { DefaultMutableTreeNode stagenode = getTree().addObject(pipenode, PipelineTreeNode.stageNode(stages[j])); Properties properties = getController().getModel() .getPipelineStageProperties(pipes[i], stages[j]); for (Iterator k = properties.keySet().iterator(); k.hasNext();) { String config = (String) k.next(); String value = properties.getProperty(config); DefaultMutableTreeNode confignode = getTree().addObject(stagenode, PipelineTreeNode.configNode(config + "=" + value)); } } } } } // Show the popup private void maybeShowPopup(MouseEvent e) { if (e.isPopupTrigger()) { JMenuItem menuItem; DefaultMutableTreeNode node = getTree().getCurrentlySelectedNode(); JPopupMenu popup = new JPopupMenu(); if (node.equals(getTree().getPipelineRootNode())) { popup.add(new JMenuItem( new AddPipelineAction(getController().getModel(), this))); } else { PipelineTreeNode currentNode = (PipelineTreeNode) node.getUserObject(); if (currentNode.isPipeline()) { popup.add(new JMenuItem( new RemovePipelineAction(getController().getModel(), this, currentNode))); popup.add(new JMenuItem( new AddPipelineStageAction(getController().getModel(), this, currentNode))); popup.add(new JMenuItem( new SetEntryStageAction(getController().getModel(), this, currentNode))); } else if (currentNode.isStage()) { PipelineTreeNode parentNode = (PipelineTreeNode) (((DefaultMutableTreeNode) (node.getParent())).getUserObject()); popup.add(new RemovePipelineStageAction(getController().getModel(), this, parentNode, currentNode)); popup.add(new AddPipelineStageConfigAction(getController().getModel(), this, parentNode, currentNode)); menuItem = new JMenuItem(ACTION_SET_ENTRY_STAGE); popup.add(menuItem); } else if (currentNode.isConfig()) { menuItem = new JMenuItem(ACTION_REMOVE_CONFIG); menuItem.addActionListener(this); popup.add(menuItem); } } popup.show(e.getComponent(), e.getX(), e.getY()); } } /** * TODO: DOCUMENT ME! * * @author $author$ * @version $Revision: 1.1 $ */ class MyTreeModelListener implements TreeModelListener { /** * TODO: DOCUMENT ME! * * @param e DOCUMENT ME! */ public void treeNodesChanged(TreeModelEvent e) { DefaultMutableTreeNode node; node = (DefaultMutableTreeNode) (e.getTreePath().getLastPathComponent()); /* * If the event lists children, then the changed * node is the child of the node we've already * gotten. Otherwise, the changed node and the * specified node are the same. */ try { int index = e.getChildIndices()[0]; node = (DefaultMutableTreeNode) (node.getChildAt(index)); } catch (NullPointerException exc) { } System.out.println("The user has finished editing the node."); System.out.println("New value: " + node.getUserObject()); } /** * TODO: DOCUMENT ME! * * @param e DOCUMENT ME! */ public void treeNodesInserted(TreeModelEvent e) { } /** * TODO: DOCUMENT ME! * * @param e DOCUMENT ME! */ public void treeNodesRemoved(TreeModelEvent e) { } /** * TODO: DOCUMENT ME! * * @param e DOCUMENT ME! */ public void treeStructureChanged(TreeModelEvent e) { } } } Index: AddPipelineAction.java =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/pipeline/builder/AddPipelineAction.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** AddPipelineAction.java 11 Jun 2003 23:35:38 -0000 1.4 --- AddPipelineAction.java 26 Aug 2003 22:23:32 -0000 1.5 *************** *** 84,88 **** */ public AddPipelineAction(PipelineBuilderModel model, ! PipelineBuilderFrame frame) { super(ACTION_ADD_PIPELINE, null, model, frame); } --- 84,88 ---- */ public AddPipelineAction(PipelineBuilderModel model, ! PipelineBuilderPanel frame) { super(ACTION_ADD_PIPELINE, null, model, frame); } Index: AddPipelineStageAction.java =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/pipeline/builder/AddPipelineStageAction.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** AddPipelineStageAction.java 11 Jun 2003 23:35:38 -0000 1.4 --- AddPipelineStageAction.java 26 Aug 2003 22:23:32 -0000 1.5 *************** *** 86,90 **** */ public AddPipelineStageAction(PipelineBuilderModel model, ! PipelineBuilderFrame frame, PipelineTreeNode treenode) { super(ACTION_ADD_STAGE, null, model, frame); this.treenode = treenode; --- 86,90 ---- */ public AddPipelineStageAction(PipelineBuilderModel model, ! PipelineBuilderPanel frame, PipelineTreeNode treenode) { super(ACTION_ADD_STAGE, null, model, frame); this.treenode = treenode; Index: AddPipelineStageConfigAction.java =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/pipeline/builder/AddPipelineStageConfigAction.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** AddPipelineStageConfigAction.java 11 Jun 2003 23:35:38 -0000 1.2 --- AddPipelineStageConfigAction.java 26 Aug 2003 22:23:32 -0000 1.3 *************** *** 90,94 **** */ public AddPipelineStageConfigAction(PipelineBuilderModel model, ! PipelineBuilderFrame frame, PipelineTreeNode pipeline, PipelineTreeNode stage) { super(ACTION_ADD_CONFIG, null, model, frame); --- 90,94 ---- */ public AddPipelineStageConfigAction(PipelineBuilderModel model, ! PipelineBuilderPanel frame, PipelineTreeNode pipeline, PipelineTreeNode stage) { super(ACTION_ADD_CONFIG, null, model, frame); Index: BuilderAction.java =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/pipeline/builder/BuilderAction.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** BuilderAction.java 11 Jun 2003 23:35:38 -0000 1.3 --- BuilderAction.java 26 Aug 2003 22:23:32 -0000 1.4 *************** *** 73,77 **** */ public abstract class BuilderAction extends AbstractAction { ! private PipelineBuilderFrame frame; private PipelineBuilderModel model; --- 73,77 ---- */ public abstract class BuilderAction extends AbstractAction { ! private PipelineBuilderPanel frame; private PipelineBuilderModel model; *************** *** 85,89 **** */ public BuilderAction(String name, Icon icon, PipelineBuilderModel model, ! PipelineBuilderFrame frame) { super(name, icon); this.model = model; --- 85,89 ---- */ public BuilderAction(String name, Icon icon, PipelineBuilderModel model, ! PipelineBuilderPanel frame) { super(name, icon); this.model = model; *************** *** 96,100 **** * @return DOCUMENT ME! */ ! public PipelineBuilderFrame getFrame() { return frame; } --- 96,100 ---- * @return DOCUMENT ME! */ ! public PipelineBuilderPanel getFrame() { return frame; } Index: Command.java =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/pipeline/builder/Command.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Command.java 11 Jun 2003 23:35:38 -0000 1.3 --- Command.java 26 Aug 2003 22:23:32 -0000 1.4 *************** *** 76,82 **** * Run the Property builder */ ! public class Command extends BabeldocCommand { /** ! * Creates a new Command object. */ public Command() { --- 76,83 ---- * Run the Property builder */ ! public class Command ! extends BabeldocCommand { /** ! * Creates a new LightConfigCommand object. */ public Command() { *************** *** 98,102 **** */ public void execute(CommandLine commandLine) { ! PipelineBuilder.run(); System.out.println("Application has finished"); } --- 99,103 ---- */ public void execute(CommandLine commandLine) { ! PipelineBuilder.runAsFrame(); System.out.println("Application has finished"); } Index: PipelineBuilder.java =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/pipeline/builder/PipelineBuilder.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** PipelineBuilder.java 11 Jun 2003 23:35:38 -0000 1.2 --- PipelineBuilder.java 26 Aug 2003 22:23:32 -0000 1.3 *************** *** 67,70 **** --- 67,73 ---- import javax.swing.*; + import java.awt.*; + import java.awt.event.ActionListener; + import java.awt.event.ActionEvent; *************** *** 91,105 **** * @return */ ! public static PipelineBuilder run() { ! PipelineBuilderModel model = new PipelineBuilderModel(); JFrame.setDefaultLookAndFeelDecorated(true); JDialog.setDefaultLookAndFeelDecorated(true); PipelineBuilder builder = new PipelineBuilder(model); PipelineBuilderController controller = new PipelineBuilderController(model); ! PipelineBuilderFrame frame = new PipelineBuilderFrame(controller); ! frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.pack(); frame.setVisible(true); return builder; --- 94,153 ---- * @return */ ! public static PipelineBuilder runAsFrame() { JFrame.setDefaultLookAndFeelDecorated(true); JDialog.setDefaultLookAndFeelDecorated(true); + PipelineBuilderModel model = new PipelineBuilderModel(); PipelineBuilder builder = new PipelineBuilder(model); PipelineBuilderController controller = new PipelineBuilderController(model); ! PipelineBuilderPanel panel = new PipelineBuilderPanel(controller); ! ! JFrame frame = new JFrame(); ! frame.setContentPane(panel); ! frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); frame.pack(); frame.setVisible(true); + + return builder; + } + + public static PipelineBuilder runAsDialog() { + JFrame.setDefaultLookAndFeelDecorated(true); + JDialog.setDefaultLookAndFeelDecorated(true); + + PipelineBuilderModel model = new PipelineBuilderModel(); + PipelineBuilder builder = new PipelineBuilder(model); + PipelineBuilderController controller = new PipelineBuilderController(model); + PipelineBuilderPanel panel = new PipelineBuilderPanel(controller); + + final JDialog dialog = new JDialog(); + JPanel contents = new JPanel(); + contents.setLayout(new BorderLayout()); + contents.add(panel); + + JButton button = new JButton("close"); + button.addActionListener(new ActionListener() { + /** + * Invoked when an action occurs. + */ + public void actionPerformed(ActionEvent e) { + dialog.dispose(); + } + }); + + JPanel buttons = new JPanel(); + buttons.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5)); + buttons.setLayout(new BoxLayout(buttons, BoxLayout.LINE_AXIS)); + buttons.add(Box.createHorizontalGlue()); + buttons.add(button); + buttons.add(Box.createHorizontalGlue()); + + contents.add(buttons, BorderLayout.SOUTH); + + + dialog.setContentPane(contents); + + dialog.pack(); + dialog.show(); return builder; Index: PipelineBuilderController.java =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/pipeline/builder/PipelineBuilderController.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** PipelineBuilderController.java 11 Jun 2003 23:35:38 -0000 1.3 --- PipelineBuilderController.java 26 Aug 2003 22:23:32 -0000 1.4 *************** *** 78,82 **** */ public class PipelineBuilderController { ! private PipelineBuilderFrame frame; private PipelineBuilderModel model; --- 78,82 ---- */ public class PipelineBuilderController { ! private PipelineBuilderPanel frame; private PipelineBuilderModel model; *************** *** 95,99 **** * @param frame */ ! public void setFrame(PipelineBuilderFrame frame) { this.frame = frame; } --- 95,99 ---- * @param frame */ ! public void setFrame(PipelineBuilderPanel frame) { this.frame = frame; } *************** *** 105,109 **** * @return */ ! public PipelineBuilderFrame getFrame() { return frame; } --- 105,109 ---- * @return */ ! public PipelineBuilderPanel getFrame() { return frame; } Index: PipelineBuilderModel.java =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/pipeline/builder/PipelineBuilderModel.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** PipelineBuilderModel.java 12 Aug 2003 23:44:45 -0000 1.7 --- PipelineBuilderModel.java 26 Aug 2003 22:23:32 -0000 1.8 *************** *** 111,116 **** for (Iterator i = config.keys().iterator(); i.hasNext();) { String key = (String) i.next(); ! if (key.endsWith(DOT_TYPE)) { String pipeline = key.substring(0, key.length() - DOT_TYPE.length()); pipes.add(pipeline); --- 111,117 ---- for (Iterator i = config.keys().iterator(); i.hasNext();) { String key = (String) i.next(); + String value = config.getString(key); ! if (key.endsWith(DOT_TYPE)&&value.equals("simple")) { String pipeline = key.substring(0, key.length() - DOT_TYPE.length()); pipes.add(pipeline); *************** *** 392,395 **** --- 393,399 ---- // Create the entries in the pipeline/config.properties file IConfig config = ConfigService.getInstance().getConfig(PIPELINE_CONFIG_NAME); + + // Delete all information in this configuration file - we do not want + // previously defined config.setString(pipeline + DOT_TYPE, type); config.setString(pipeline + DOT_CONFIGFILE, configName); *************** *** 479,483 **** */ private static void saveConfig(IConfig config) { ! // System.out.println("Saving: "+name+"; "+config.getName()); ConfigService.getInstance().saveConfig(config.getName(), config); ConfigService.clearCache(); --- 483,487 ---- */ private static void saveConfig(IConfig config) { ! System.out.println("Saving: "+config.getName()); ConfigService.getInstance().saveConfig(config.getName(), config); ConfigService.clearCache(); Index: RemovePipelineAction.java =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/pipeline/builder/RemovePipelineAction.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** RemovePipelineAction.java 11 Jun 2003 23:35:38 -0000 1.4 --- RemovePipelineAction.java 26 Aug 2003 22:23:32 -0000 1.5 *************** *** 86,90 **** */ public RemovePipelineAction(PipelineBuilderModel model, ! PipelineBuilderFrame frame, PipelineTreeNode treenode) { super(ACTION_REMOVE_PIPELINE, null, model, frame); this.treenode = treenode; --- 86,90 ---- */ public RemovePipelineAction(PipelineBuilderModel model, ! PipelineBuilderPanel frame, PipelineTreeNode treenode) { super(ACTION_REMOVE_PIPELINE, null, model, frame); this.treenode = treenode; Index: RemovePipelineStageAction.java =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/pipeline/builder/RemovePipelineStageAction.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** RemovePipelineStageAction.java 11 Jun 2003 23:35:38 -0000 1.2 --- RemovePipelineStageAction.java 26 Aug 2003 22:23:32 -0000 1.3 *************** *** 88,92 **** */ public RemovePipelineStageAction(PipelineBuilderModel model, ! PipelineBuilderFrame frame, PipelineTreeNode pipeline, PipelineTreeNode stage) { super(ACTION_REMOVE_STAGE, null, model, frame); --- 88,92 ---- */ public RemovePipelineStageAction(PipelineBuilderModel model, ! PipelineBuilderPanel frame, PipelineTreeNode pipeline, PipelineTreeNode stage) { super(ACTION_REMOVE_STAGE, null, model, frame); Index: SetEntryStageAction.java =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/pipeline/builder/SetEntryStageAction.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** SetEntryStageAction.java 11 Jun 2003 23:35:38 -0000 1.2 --- SetEntryStageAction.java 26 Aug 2003 22:23:32 -0000 1.3 *************** *** 86,90 **** */ public SetEntryStageAction(PipelineBuilderModel model, ! PipelineBuilderFrame frame, PipelineTreeNode treenode) { super(ACTION_SET_ENTRY_STAGE, null, model, frame); this.pipeline = treenode.toString(); --- 86,90 ---- */ public SetEntryStageAction(PipelineBuilderModel model, ! PipelineBuilderPanel frame, PipelineTreeNode treenode) { super(ACTION_SET_ENTRY_STAGE, null, model, frame); this.pipeline = treenode.toString(); --- PipelineBuilderFrame.java DELETED --- |
Update of /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/wizard/setentrystage
In directory sc8-pr-cvs1:/tmp/cvs-serv16008/gui/src/com/babeldoc/gui/wizard/setentrystage
Modified Files:
Command.java SetEntryPipelineStageWizardPanel.java
SetEntryStageModel.java SetEntryStageWizard.java
SetEntryStageWizardPanel.java
Log Message:
Updates to the GUI code.
Index: Command.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/wizard/setentrystage/Command.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Command.java 11 Jun 2003 23:35:39 -0000 1.2
--- Command.java 26 Aug 2003 22:23:32 -0000 1.3
***************
*** 74,78 ****
/**
! * The Command is the class that is run from the babeldoc command class using
* the service lookup.
*
--- 74,78 ----
/**
! * The LightConfigCommand is the class that is run from the babeldoc command class using
* the service lookup.
*
***************
*** 82,86 ****
public class Command extends BabeldocCommand {
/**
! * Creates a new Command object.
*/
public Command() {
--- 82,86 ----
public class Command extends BabeldocCommand {
/**
! * Creates a new LightConfigCommand object.
*/
public Command() {
***************
*** 103,106 ****
--- 103,107 ----
public void execute(CommandLine commandLine) {
SetEntryStageWizard.run(null);
+ System.exit(0);
}
Index: SetEntryPipelineStageWizardPanel.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/wizard/setentrystage/SetEntryPipelineStageWizardPanel.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** SetEntryPipelineStageWizardPanel.java 11 Jun 2003 23:35:39 -0000 1.2
--- SetEntryPipelineStageWizardPanel.java 26 Aug 2003 22:23:32 -0000 1.3
***************
*** 76,81 ****
/**
! * Wizard panel to get the final details for the pipeline stage. This could be
! * extended to get the next stage data but for now...
*
* @author bmcdonald
--- 76,81 ----
/**
! * Wizard panel to getChild the final details for the pipeline stage. This could be
! * extended to getChild the next stage data but for now...
*
* @author bmcdonald
Index: SetEntryStageModel.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/wizard/setentrystage/SetEntryStageModel.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** SetEntryStageModel.java 11 Jun 2003 23:35:39 -0000 1.2
--- SetEntryStageModel.java 26 Aug 2003 22:23:32 -0000 1.3
***************
*** 80,84 ****
/**
* Construct this model. If the the name of the pipeline is null, then the
! * wizard must get the name from a list.
*
* @param pipeline
--- 80,84 ----
/**
* Construct this model. If the the name of the pipeline is null, then the
! * wizard must getChild the name from a list.
*
* @param pipeline
Index: SetEntryStageWizard.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/wizard/setentrystage/SetEntryStageWizard.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** SetEntryStageWizard.java 11 Jun 2003 23:35:39 -0000 1.2
--- SetEntryStageWizard.java 26 Aug 2003 22:23:32 -0000 1.3
***************
*** 72,76 ****
* The AddPipelineStageWizard allows for quick and easy access to the wizard.
* Simply execute the static run method and then browse the returned model
! * object to get the results.
*
* @author bmcdonald
--- 72,76 ----
* The AddPipelineStageWizard allows for quick and easy access to the wizard.
* Simply execute the static run method and then browse the returned model
! * object to getChild the results.
*
* @author bmcdonald
***************
*** 81,85 ****
/**
! * Private constructor - use the run method get an instance.
*
* @param model
--- 81,85 ----
/**
! * Private constructor - use the run method getChild an instance.
*
* @param model
Index: SetEntryStageWizardPanel.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/wizard/setentrystage/SetEntryStageWizardPanel.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** SetEntryStageWizardPanel.java 11 Jun 2003 23:35:39 -0000 1.2
--- SetEntryStageWizardPanel.java 26 Aug 2003 22:23:32 -0000 1.3
***************
*** 71,75 ****
/**
* base class of all the wizard panes in project setup. Sets the model
! * information so that the views can get to the data.
*
* @author bmcdonald
--- 71,75 ----
/**
* base class of all the wizard panes in project setup. Sets the model
! * information so that the views can getChild to the data.
*
* @author bmcdonald
|
|
From: <tr...@us...> - 2003-08-26 22:23:41
|
Update of /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core
In directory sc8-pr-cvs1:/tmp/cvs-serv16008/core/src/com/babeldoc/core
Modified Files:
EnvironmentLoader.java
Log Message:
Updates to the GUI code.
Index: EnvironmentLoader.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/EnvironmentLoader.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** EnvironmentLoader.java 12 Aug 2003 00:28:29 -0000 1.10
--- EnvironmentLoader.java 26 Aug 2003 22:23:32 -0000 1.11
***************
*** 79,83 ****
/**
! * The environment loader is a streamlined way to get a set of name/values
* pairs from a configuration into the system.properties. Certain third party
* libraries relie on this explicitly and instead of doing thing from the
--- 79,83 ----
/**
! * The environment loader is a streamlined way to getChild a set of name/values
* pairs from a configuration into the system.properties. Certain third party
* libraries relie on this explicitly and instead of doing thing from the
***************
*** 109,112 ****
--- 109,126 ----
*/
public static synchronized ArrayList getSearchPaths() {
+ loadSearchPaths();
+
+ ArrayList copyList = new ArrayList(searchPaths.size());
+ copyList.addAll(searchPaths);
+
+ // System.out.println("Searchpath: "+StringUtils.join(copyList.iterator(), " ;"));
+ return copyList;
+ }
+
+ /**
+ * Get the search paths and NOT a copy of them like the method of derivative
+ * name.
+ */
+ private static Collection loadSearchPaths() {
if (searchPaths.size() == 0) {
String spath = System.getProperty(SEARCH_PATH_DEFINE);
***************
*** 120,134 ****
}
}
! ArrayList copyList = new ArrayList(searchPaths.size());
! copyList.addAll(searchPaths);
!
! // System.out.println("Searchpath: "+StringUtils.join(copyList.iterator(), " ;"));
! return copyList;
}
/**
* The loadEnvironment method is an extremely important method that NEEDS to
! * be called before any real work can be done. This get calls into the
* BabeldocModuleList to find and initialize the list of modules. This then
* makes the search paths.
--- 134,154 ----
}
}
+ return searchPaths;
+ }
! /**
! * Add a directory to the search path. All of the configuration caches
! * are completely flushed.
! *
! * @param dir
! */
! public static synchronized void addSearchPath(String dir) {
! loadSearchPaths().add(dir);
! ConfigService.clearCache();
}
/**
* The loadEnvironment method is an extremely important method that NEEDS to
! * be called before any real work can be done. This getChild calls into the
* BabeldocModuleList to find and initialize the list of modules. This then
* makes the search paths.
|
|
From: <tr...@us...> - 2003-08-26 22:23:41
|
Update of /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/wizard
In directory sc8-pr-cvs1:/tmp/cvs-serv16008/gui/src/com/babeldoc/gui/wizard
Modified Files:
SimpleWizardController.java
Log Message:
Updates to the GUI code.
Index: SimpleWizardController.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/wizard/SimpleWizardController.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** SimpleWizardController.java 11 Jun 2003 23:35:38 -0000 1.3
--- SimpleWizardController.java 26 Aug 2003 22:23:32 -0000 1.4
***************
*** 80,84 ****
* implementation to do anything usefull.
*/
! public abstract class SimpleWizardController implements IWizardController {
protected JDialog dialog = null;
--- 80,85 ----
* implementation to do anything usefull.
*/
! public abstract class SimpleWizardController
! implements IWizardController {
protected JDialog dialog = null;
***************
*** 152,156 ****
/**
! * TODO: DOCUMENT ME!
*
* @param current DOCUMENT ME!
--- 153,157 ----
/**
! * Can this wizard controller move to the next page?
*
* @param current DOCUMENT ME!
***************
*** 179,183 ****
*/
public void cancel(WizardPanel current) {
! this.dialog.dispose();
}
--- 180,184 ----
*/
public void cancel(WizardPanel current) {
! closeDialog();
}
***************
*** 219,222 ****
--- 220,225 ----
protected void closeDialog() {
if (dialog != null) {
+ System.out.println("Disposing");
+ dialog.setVisible(false);
dialog.dispose();
}
|
|
From: McDonald, B. <Bru...@ba...> - 2003-08-26 15:11:51
|
Sorry *blush*
-----Original Message-----
From: de...@us... [mailto:de...@us...]
Sent: Tuesday, August 26, 2003 4:22 AM
To: bab...@li...
Subject: [Babeldoc-devel]
babeldoc/modules/scanner/src/com/babeldoc/scanner/worker
FtpScanner.java,1.18,1.19
Update of /cvsroot/babeldoc/babeldoc/modules/scanner/src/com/babeldoc/scanner/worker
In directory sc8-pr-cvs1:/tmp/cvs-serv4584/modules/scanner/src/com/babeldoc/scanner/worker
Modified Files:
FtpScanner.java
Log Message:
Putting back initialization of ftpPassword property removed by Bruce (YEAH BRUCE, YOU DID IT!!!) that caused exceptions when trying to log in ftp server.
Index: FtpScanner.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/scanner/src/com/babeldoc/scanner/worker/FtpScanner.java,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** FtpScanner.java 17 Aug 2003 04:12:29 -0000 1.18
--- FtpScanner.java 26 Aug 2003 08:21:33 -0000 1.19
***************
*** 176,182 ****
*/
public void initialize() throws ScannerConfigurationException {
! // LogService.getInstance().logInfo("initialize");
ftpHost = this.getInfo().getStrValue(FTP_HOST);
ftpUsername = this.getInfo().getStrValue(FTP_USERNAME);
ftpFolder = this.getInfo().getStrValue(FTP_FOLDER);
ftpOutFolder = this.getInfo().getStrValue(FTP_OUT_FOLDER);
--- 176,183 ----
*/
public void initialize() throws ScannerConfigurationException {
!
ftpHost = this.getInfo().getStrValue(FTP_HOST);
ftpUsername = this.getInfo().getStrValue(FTP_USERNAME);
+ ftpPassword = this.getInfo().getStrValue(FTP_PASSWORD);
ftpFolder = this.getInfo().getStrValue(FTP_FOLDER);
ftpOutFolder = this.getInfo().getStrValue(FTP_OUT_FOLDER);
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
Babeldoc-devel mailing list
Bab...@li...
https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
|
|
From: <de...@us...> - 2003-08-26 15:04:00
|
Update of /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/journal/browser In directory sc8-pr-cvs1:/tmp/cvs-serv23877/modules/gui/src/com/babeldoc/gui/journal/browser Modified Files: JournalBrowserFrame.java Log Message: Removing unecessery import. This had confused javac Index: JournalBrowserFrame.java =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/modules/gui/src/com/babeldoc/gui/journal/browser/JournalBrowserFrame.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** JournalBrowserFrame.java 19 Aug 2003 05:11:38 -0000 1.3 --- JournalBrowserFrame.java 25 Aug 2003 14:13:14 -0000 1.4 *************** *** 66,72 **** package com.babeldoc.gui.journal.browser; - import com.babeldoc.core.config.ConfigService; - import com.babeldoc.core.journal.query.QueryTicket; - import java.awt.event.ActionEvent; import java.awt.event.ActionListener; --- 66,69 ---- *************** *** 74,87 **** import java.awt.event.MouseEvent; ! import javax.swing.*; import javax.swing.event.TreeModelEvent; import javax.swing.event.TreeModelListener; import javax.swing.tree.DefaultMutableTreeNode; - import javax.swing.tree.DefaultTreeCellRenderer; - import javax.swing.tree.TreeNode; import javax.swing.tree.TreePath; import javax.swing.tree.TreeSelectionModel; ! import org.apache.batik.apps.svgbrowser.Application; /** --- 71,89 ---- import java.awt.event.MouseEvent; ! import javax.swing.JFrame; ! import javax.swing.JMenu; ! import javax.swing.JMenuBar; ! import javax.swing.JMenuItem; ! import javax.swing.JOptionPane; ! import javax.swing.JPopupMenu; ! import javax.swing.JScrollPane; ! import javax.swing.JTree; import javax.swing.event.TreeModelEvent; import javax.swing.event.TreeModelListener; import javax.swing.tree.DefaultMutableTreeNode; import javax.swing.tree.TreePath; import javax.swing.tree.TreeSelectionModel; ! import com.babeldoc.core.config.ConfigService; /** |