Ignore:
Timestamp:
2008-10-24T17:45:51+13:00 (16 years ago)
Author:
ak19
Message:

Turned class RemoteGreenstoneServer.java from an all-static class into a regular OOP class. It is now also split into three files (the other two being ActionQueue.java and RemoteGreenstoneServerAction.java).

File:
1 edited

Legend:

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

    r17353 r17612  
    826826        Configuration.save();
    827827        if (Gatherer.isGsdlRemote && Gatherer.GS3 && site_changed ){
    828         RemoteGreenstoneServer.downloadCollectionConfigurations();
     828        Gatherer.remoteGreenstoneServer.downloadCollectionConfigurations();
    829829        }
    830830        // Refresh the GLI to account for the configuration changes
     
    956956            if (Gatherer.c_man.getCollection()!=null){
    957957            File lock_file = new File(Gatherer.c_man.getLoadedCollectionDirectoryPath() + "gli.lck");
    958             RemoteGreenstoneServer.deleteCollectionFile(Gatherer.c_man.getLoadedCollectionName(),lock_file);
     958            Gatherer.remoteGreenstoneServer.deleteCollectionFile(Gatherer.c_man.getLoadedCollectionName(),lock_file);
    959959            Gatherer.g_man.closeCurrentCollection();
    960960            }
    961961            Configuration.site_name=site;
    962             RemoteGreenstoneServer.set_remote_greenstone_server_authentication_to_null();
    963             RemoteGreenstoneServer.downloadCollectionConfigurations();
     962            Gatherer.remoteGreenstoneServer.set_remote_greenstone_server_authentication_to_null();
     963            Gatherer.remoteGreenstoneServer.downloadCollectionConfigurations();
    964964        }
    965965        }
Note: See TracChangeset for help on using the changeset viewer.