Changeset 11624


Ignore:
Timestamp:
2006-04-07T13:34:03+12:00 (18 years ago)
Author:
mdewsnip
Message:

Moved PROGRAM_NAME and PROGRAM_VERSION strings out of Utility and into Gatherer.

Location:
trunk/gli/src/org/greenstone/gatherer
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/Gatherer.java

    r11599 r11624  
    6666public class Gatherer
    6767{
     68    /** The name of the GLI. */
     69    static final public String PROGRAM_NAME = "Greenstone Librarian Interface";
     70    /** The current version of the GLI. */
     71    static final public String PROGRAM_VERSION = "v2.70";
     72
    6873    static private Dimension size = new Dimension(800, 540);
    6974
  • trunk/gli/src/org/greenstone/gatherer/feedback/FeedbackInterface.java

    r9855 r11624  
    1616import com.sun.image.codec.jpeg.*;
    1717import javax.swing.Timer;
    18 import org.greenstone.gatherer.util.Utility;
     18import org.greenstone.gatherer.Gatherer;
    1919
    2020/**
     
    14831483        err_array[11] = java_info;
    14841484        err_array[12] = "" + Locale.getDefault();
    1485         err_array[13] = Utility.PROGRAM_NAME + " " + Utility.PROGRAM_VERSION;
     1485        err_array[13] = Gatherer.PROGRAM_NAME + " " + Gatherer.PROGRAM_VERSION;
    14861486        err_array[14] = InetAddress.getLocalHost().getHostName();
    14871487        err_array[15] = InetAddress.getLocalHost().getHostAddress();
  • trunk/gli/src/org/greenstone/gatherer/gui/AboutDialog.java

    r10011 r11624  
    3535import javax.swing.*;
    3636import org.greenstone.gatherer.Dictionary;
     37import org.greenstone.gatherer.Gatherer;
    3738import org.greenstone.gatherer.util.JarTools;
    3839import org.greenstone.gatherer.util.Utility;
     
    6061     * @see org.greenstone.gatherer.gui.AboutDialog.CloseButtonListener
    6162     * @see org.greenstone.gatherer.gui.GLIButton
    62      * @see org.greenstone.gatherer.util.Utility#PROGRAM_NAME
    63      * @see org.greenstone.gatherer.util.Utility#PROGRAM_VERSION
    6463     */
    6564    public AboutDialog(JFrame parent) {
     
    7675    JLabel title_one_label = new JLabel();
    7776    Dictionary.setText(title_one_label, "AboutDialog.Title_One");
    78     JLabel title_two_label = new JLabel(Utility.PROGRAM_NAME + " " + Utility.PROGRAM_VERSION + " " + Dictionary.get("AboutDialog.Date"));
     77    JLabel title_two_label = new JLabel(Gatherer.PROGRAM_NAME + " " + Gatherer.PROGRAM_VERSION + " " + Dictionary.get("AboutDialog.Date"));
    7978    JLabel title_three_label = new JLabel();
    8079    Dictionary.setText(title_three_label, "AboutDialog.Title_Two");
  • trunk/gli/src/org/greenstone/gatherer/gui/GUIManager.java

    r11619 r11624  
    608608    public void setTitle(String title, String name) {
    609609    // Finally display the collection name in the title bar.
    610     StringBuffer title_buffer = new StringBuffer(Utility.PROGRAM_NAME);
     610    StringBuffer title_buffer = new StringBuffer(Gatherer.PROGRAM_NAME);
    611611    title_buffer.append(StaticStrings.SPACE_CHARACTER);
    612612    title_buffer.append(StaticStrings.SPACE_CHARACTER);
  • trunk/gli/src/org/greenstone/gatherer/util/Utility.java

    r11623 r11624  
    6969    /** The default name of the perl executable under windows. */
    7070    static final public String PERL_EXECUTABLE_WINDOWS = "Perl.exe";
    71     /** The name of the GLI. */
    72     static final public String PROGRAM_NAME = "Greenstone Librarian Interface";
    73     /** The current version of the GLI. */
    74     static final public String PROGRAM_VERSION = "v2.70";
    7571
    7672
Note: See TracChangeset for help on using the changeset viewer.