Changeset 12471


Ignore:
Timestamp:
2006-08-18T09:45:36+12:00 (18 years ago)
Author:
shaoqun
Message:

formatpane listening to the events of the collection's building process

File:
1 edited

Legend:

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

    r12300 r12471  
    111111    static final public int BUILDING  = 5;
    112112
     113 
    113114    /** Constructor. */
    114115    public CollectionManager() {
     
    148149    public void buildCollection(boolean incremental_build)
    149150    {
     151         
    150152    DebugStream.println("In CollectionManager.buildCollection(), incremental_build: " + incremental_build);
    151153    DebugStream.println("Is event dispatch thread: " + SwingUtilities.isEventDispatchThread());
     
    181183    GShell shell = new GShell(command_parts, GShell.BUILD, BUILDING, this, build_monitor, GShell.GSHELL_BUILD);
    182184    shell.addGShellListener(Gatherer.g_man.create_pane);
     185    shell.addGShellListener(Gatherer.g_man.format_pane);
    183186    shell.start();
    184187   
     
    245248    }
    246249
    247     /** Method that is called whenever something has changed in the configuration of this collection. */
     250 
     251 /** Method that is called whenever something has changed in the configuration of this collection. */
    248252    public void configurationChanged() {
    249253    if(collection != null) {
     
    253257    }
    254258
     259   
    255260    public void convertToGS3Collection() {
    256261    // Generate the convert_coll_from_gs2.pl command
     
    732737    GShell shell = new GShell(command_parts, GShell.IMPORT, BUILDING, this, import_monitor, GShell.GSHELL_IMPORT);
    733738    shell.addGShellListener(Gatherer.g_man.create_pane);
     739        shell.addGShellListener(Gatherer.g_man.format_pane);
    734740    shell.start();
    735741    DebugStream.println("CollectionManager.importCollection().return");
     
    10711077    // If we were running a build, now is when we move files across.
    10721078    else if(event.getType() == GShell.BUILD && event.getStatus() == GShell.OK) {
     1079           
    10731080        if(installCollection()) {
    10741081        // If we have a local library running then ask it to add our newly create collection
Note: See TracChangeset for help on using the changeset viewer.