summaryrefslogtreecommitdiffstats
path: root/modules/hebrew-wlc
diff options
context:
space:
mode:
authorMartin Gruner <mg.pub@gmx.net>2006-07-06 19:41:12 +0000
committerMartin Gruner <mg.pub@gmx.net>2006-07-06 19:41:12 +0000
commit3fc50351c09ad22c57a753f781774c34174ded91 (patch)
treec7ff7fd20dde42bf569f5ee5e7b0dd1b53fe6fb5 /modules/hebrew-wlc
parent517691bb4bcd2c1ec80cd16bf87b42b803617e73 (diff)
downloadsword-tools-3fc50351c09ad22c57a753f781774c34174ded91.tar.gz
removed obsolete GUI
git-svn-id: https://www.crosswire.org/svn/sword-tools/trunk@66 07627401-56e2-0310-80f4-f8cd0041bdcd
Diffstat (limited to 'modules/hebrew-wlc')
-rw-r--r--modules/hebrew-wlc/WLC2OSIS/WLC2OSIS/GUI/FileChoices.java71
-rw-r--r--modules/hebrew-wlc/WLC2OSIS/WLC2OSIS/GUI/Messages.java42
-rw-r--r--modules/hebrew-wlc/WLC2OSIS/WLC2OSIS/GUI/package.html9
3 files changed, 0 insertions, 122 deletions
diff --git a/modules/hebrew-wlc/WLC2OSIS/WLC2OSIS/GUI/FileChoices.java b/modules/hebrew-wlc/WLC2OSIS/WLC2OSIS/GUI/FileChoices.java
deleted file mode 100644
index f84a505..0000000
--- a/modules/hebrew-wlc/WLC2OSIS/WLC2OSIS/GUI/FileChoices.java
+++ /dev/null
@@ -1,71 +0,0 @@
-package WLC2OSIS.GUI ;
-
-import WLC2OSIS.* ;
-import Utilities.* ;
-
-import java.awt.* ;
-import java.util.* ;
-import java.io.* ;
-import java.awt.event.* ;
-import javax.swing.*;
-import javax.swing.event.* ;
-import javax.swing.border.*;
-//==============================================================================
-/**
- * <b>Gets the input and output files.</b><p>
- */
-//==============================================================================
-
-public class FileChoices {
-
-WLC2OSIS A ;
-
-public FileChoices(WLC2OSIS A){
- this.A = A ;
- }
-public String getInputFilename(String DefaultInputFilename){
- FileChooser inchooser = new FileChooser() ;
- inchooser.setSelectedFile(new File(DefaultInputFilename) ) ;
- inchooser.setDialogTitle("Give the input file") ;
- inchooser.setApproveButtonText("Set") ;
- inchooser.setSize( new Dimension( 500, 400 ) ) ;
- inchooser.setLocation(new Point(200, 200) );
- inchooser.revalidate() ;
- int returnValue = inchooser.showOpenDialog(A.OverallContainer) ;
- if(returnValue==JFileChooser.APPROVE_OPTION){
- String InputFilename = inchooser.getSelectedFile().getPath() ;
- return InputFilename ;
- }
- else{
- System.out.println("WLC2OSIS:FileChoices: Didn't choose the input file.") ;
- System.exit(0) ;
- return null ;}
- }
-//------------------------------------------------------------------------------
-//------------------------------------------------------------------------------
-public String getOutputDirectory(String DefaultOutputDirectory){
- FileChooser outchooser = new FileChooser() ;
- outchooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY) ;
- File InitialDirectory = new File(DefaultOutputDirectory ) ;
- outchooser.setSelectedFile(InitialDirectory) ;
- outchooser.setDialogTitle("Set the output directory") ;
- outchooser.setApproveButtonText("Set") ;
- outchooser.setSize( new Dimension( 500, 400 ) ) ;
- outchooser.setLocation(new Point(200, 200) );
- outchooser.revalidate() ;
- int returnValue = outchooser.showOpenDialog(A.OverallContainer) ;
- if(returnValue==JFileChooser.APPROVE_OPTION){
- String OutputDirectory = outchooser.getSelectedFile().getPath() ;
- return OutputDirectory ;
- }
- else{
- System.out.println("WLC2OSIS: Didn't choose the output directory.") ;
- System.exit(0) ;
- return null ;
- }
- }
-//------------------------------------------------------------------------------
-//------------------------------------------------------------------------------
-}
-//==============================================================================
-//==============================================================================
diff --git a/modules/hebrew-wlc/WLC2OSIS/WLC2OSIS/GUI/Messages.java b/modules/hebrew-wlc/WLC2OSIS/WLC2OSIS/GUI/Messages.java
deleted file mode 100644
index 93a7340..0000000
--- a/modules/hebrew-wlc/WLC2OSIS/WLC2OSIS/GUI/Messages.java
+++ /dev/null
@@ -1,42 +0,0 @@
-package WLC2OSIS.GUI ;
-
-import WLC2OSIS.* ;
-import Utilities.* ;
-
-import java.awt.* ;
-import java.util.* ;
-import java.io.* ;
-import java.awt.event.* ;
-import javax.swing.*;
-import javax.swing.event.* ;
-import javax.swing.border.*;
-//==============================================================================
-/**
- * <b>Outputs messages to operator.</b><p>
- */
-//==============================================================================
-
-public class Messages {
-
-WLC2OSIS A ;
-
-public Messages(WLC2OSIS A){
- this.A = A ;
- }
-public void initialMessage(){
- String IntroMessage = "WLC2OSIS: Conversion of WHI text files to OSIS.\n\n"
- + "Important messages will be written to command window.\n"
- + "Please be ready to write them down.\n\n" ;
- JOptionPane.showMessageDialog(A.OverallContainer, IntroMessage) ;
- }
-public void doneMessage(){
- String DoneMessage = "The output file appears to have been written\n"
- + "normally. Please examine the Java Console for possible errors.\n"
- + "If any errors have occured please make a careful note of them.\n\n";
- JOptionPane.showMessageDialog(A.OverallContainer, DoneMessage) ;
- }
-//------------------------------------------------------------------------------
-//------------------------------------------------------------------------------
-}
-//==============================================================================
-//==============================================================================
diff --git a/modules/hebrew-wlc/WLC2OSIS/WLC2OSIS/GUI/package.html b/modules/hebrew-wlc/WLC2OSIS/WLC2OSIS/GUI/package.html
deleted file mode 100644
index 317474e..0000000
--- a/modules/hebrew-wlc/WLC2OSIS/WLC2OSIS/GUI/package.html
+++ /dev/null
@@ -1,9 +0,0 @@
-<HTML>
-<BODY>
-<b>Graphical user interface (GUI)</b>.
-<p/>
-<p align="right"> (<b><tt>BHS2XML/GUI/package.html</tt></b>)
-</p>
-Crude graphical interfaces.
-</BODY>
-</HTML>