Changeset 12471
- Timestamp:
- 2006-08-18T09:45:36+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/collection/CollectionManager.java
r12300 r12471 111 111 static final public int BUILDING = 5; 112 112 113 113 114 /** Constructor. */ 114 115 public CollectionManager() { … … 148 149 public void buildCollection(boolean incremental_build) 149 150 { 151 150 152 DebugStream.println("In CollectionManager.buildCollection(), incremental_build: " + incremental_build); 151 153 DebugStream.println("Is event dispatch thread: " + SwingUtilities.isEventDispatchThread()); … … 181 183 GShell shell = new GShell(command_parts, GShell.BUILD, BUILDING, this, build_monitor, GShell.GSHELL_BUILD); 182 184 shell.addGShellListener(Gatherer.g_man.create_pane); 185 shell.addGShellListener(Gatherer.g_man.format_pane); 183 186 shell.start(); 184 187 … … 245 248 } 246 249 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. */ 248 252 public void configurationChanged() { 249 253 if(collection != null) { … … 253 257 } 254 258 259 255 260 public void convertToGS3Collection() { 256 261 // Generate the convert_coll_from_gs2.pl command … … 732 737 GShell shell = new GShell(command_parts, GShell.IMPORT, BUILDING, this, import_monitor, GShell.GSHELL_IMPORT); 733 738 shell.addGShellListener(Gatherer.g_man.create_pane); 739 shell.addGShellListener(Gatherer.g_man.format_pane); 734 740 shell.start(); 735 741 DebugStream.println("CollectionManager.importCollection().return"); … … 1071 1077 // If we were running a build, now is when we move files across. 1072 1078 else if(event.getType() == GShell.BUILD && event.getStatus() == GShell.OK) { 1079 1073 1080 if(installCollection()) { 1074 1081 // 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.