Changeset 9016


Ignore:
Timestamp:
2005-02-11T16:02:55+13:00 (19 years ago)
Author:
mdewsnip
Message:

Removed a bit of unused stuff and some hard-wired arosmain paths.

Location:
trunk/gli/src/org/greenstone/gatherer/gems
Files:
3 edited

Legend:

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

    r8971 r9016  
    718718    private JLabel target_label = null;
    719719    private Vector attributeLists = null;     
    720    
    721         //org.w3c.dom.Document lang = Utility.parse("/home/arosmain/gsdl/gli/classes/xml/languages.xml", false);
     720
    722721    org.w3c.dom.Document lang = Utility.parse(Configuration.gsdl_path + "/gli/classes/xml/languages.xml", false);
    723722   
  • trunk/gli/src/org/greenstone/gatherer/gems/GEMSPreferences.java

    r8992 r9016  
    3232import java.net.*;
    3333import java.util.*;
    34 import java.util.Vector;
    3534import javax.swing.*;
    3635import javax.swing.event.*;
     
    4039import org.greenstone.gatherer.Gatherer;
    4140import org.greenstone.gatherer.cdm.LanguageManager;
    42 import org.greenstone.gatherer.collection.Collection;
    43 import org.greenstone.gatherer.gui.tree.DragTree;
    4441import org.greenstone.gatherer.gui.*;
    45 import org.greenstone.gatherer.util.ArrayTools; // just for debug
    4642import org.greenstone.gatherer.util.StaticStrings;
    47 import org.greenstone.gatherer.util.Utility;
    4843import org.w3c.dom.*;
    4944
     
    6156    private JComboBox language_combobox;
    6257    private JList language_limited_jlist; 
    63     private JList language_code_jlist;
    64     private JComboBox servlet_combobox;
    65     private JComboBox site_combobox;
     58    private JList language_code_jlist;
    6659    private JLabel interface_language_label;
    6760    private JLabel language_label;
    6861
    69     private JRadioButton assistant_mode_radio_button;
    70     private JRadioButton expert_mode_radio_button;
    71     private JRadioButton systems_mode_radio_button;
    72     private JSpinner proxy_port_field;
    7362    private JTabbedPane tab_pane;
    74     private JTextArea mode_description_textarea;
    75     private JTextField proxy_host_field;
    7663    private GEMSPreferences self;
    77 
    78     private String current_site_selection;
    7964
    8065    public GEMSPreferences() {
     
    190175    int selectedLanguagesLength = 0;
    191176                 
    192     //GemsLanguageManager gemsLangManager = new GemsLanguageManager("/home/arosmain/gsdl/gli/classes/xml/languages.xml");
    193177        GEMSLanguageManager gemsLangManager = new GEMSLanguageManager(Configuration.gsdl_path + "/gli/classes/xml/languages.xml");
    194178
  • trunk/gli/src/org/greenstone/gatherer/gems/MSMUtils.java

    r8978 r9016  
    2727package org.greenstone.gatherer.gems;
    2828
    29 /**************************************************************************************
    30  * Title:        Gatherer
    31  * Description:  The Gatherer: a tool for gathering and enriching a digital collection.
    32  * Company:      The University of Waikato
    33  * Written:        /  /01
    34  * Revised:      16/08/02 Improved
    35  *               06/08/03 Bug fixes
    36  * @author John Thompson, Greenstone Digital Libraries
    37  * @version 2.3
    38  **************************************************************************************/
    3929import java.io.*;
    4030import java.util.*;
     
    301291    static public TreeSet getAttributes(Element element) {
    302292    TreeSet attribute_tree = new TreeSet();
    303        
    304     // GemsLanguageManager gemsLangManager = new GemsLanguageManager("/home/arosmain/gsdl/gli/classes/xml/languages.xml");
     293
    305294        GEMSLanguageManager gemsLangManager = new GEMSLanguageManager(Configuration.gsdl_path + "/gli/classes/xml/languages.xml");
    306295       
Note: See TracChangeset for help on using the changeset viewer.