Ignore:
Timestamp:
2005-10-31T12:18:08+13:00 (19 years ago)
Author:
chi
Message:

The latest development of GAI when Chi leave 31/10/2005.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ant-install-branch/gsdl3/src/java/org/greenstone/admin/GAI.java

    r9968 r10792  
    2525 *########################################################################
    2626 */
    27 
    2827// Graphical Adminstration Interface
    2928package org.greenstone.admin;
     
    4140import org.greenstone.admin.GAIManager;
    4241import org.greenstone.core.Configuration;
     42import org.greenstone.core.Dictionary;
    4343import org.greenstone.admin.gui.SetServerPane;
    4444
     
    5858    public static String admin_path;
    5959    public static String tomcat_file_path;
     60    public static String images_path;
    6061    public static File build_file;
     62    public static File site_conf;
     63    public static File interface_conf;
    6164    /** A public reference to the GAIManager. */
    6265    static public GAIManager ga_man;
     
    6770    this.admin_path = this.gsdl3_path + "/src/java/org/greenstone/admin/";
    6871    this.tomcat_file_path = this.gsdl3_path + "/comms/jakarta/tomcat/logs/";
     72    this.images_path = this.admin_path + "images/";
    6973        this.build_file = new File(gsdl3_path, "build.properties");
     74    this.site_conf = new File (gsdl3_path,"/web/sites/localsite/siteConfig.xml");
     75    this.interface_conf = new File (gsdl3_path, "/web/interfaces/default/interfaceConfig.xml");
     76    init();
    7077    }
    7178   
     
    7582    new Configuration (admin_path);
    7683    GAI gai = new GAI();
     84   
     85    ga_man  = new GAIManager(screen_size);
     86    ga_man.display();
     87    }
    7788
    78     /*Check if the user want to set up their own TOMCAT/MYSQL server
    79      * when they first time run GAI*/
    80     GAIFirstSettingFrame first_setting = new GAIFirstSettingFrame();
     89    public void init (){
     90    // Read Dictionary
     91    new Dictionary(Configuration.getLocale("general.locale", true), Configuration.getFont("general.font", true));
     92
    8193    }
    8294}
     95
     96
Note: See TracChangeset for help on using the changeset viewer.