- Timestamp:
- 2003-12-02T17:15:47+13:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/gui/tree/WorkspaceTree.java
r5869 r6086 23 23 24 24 public void refresh(int refresh_reason) { 25 System.err.print("WorkspaceTree::refresh()... ");25 Gatherer.println("WorkspaceTree::refresh()... "); 26 26 27 27 // The collections in the library have changed - refresh the collect directory 28 28 if (refresh_reason == DragTree.LIBRARY_CONTENTS_CHANGED) { 29 System.err.println("Reason: library contents changed.");29 Gatherer.println("...Reason: library contents changed."); 30 30 String collect_directory_str = Gatherer.config.gsdl_path + Utility.COL_DIR; 31 31 refreshEveryNodeShowingFolder(collect_directory_str); … … 35 35 // A collection has been opened/closed - reload the whole shebang 36 36 if (refresh_reason == DragTree.LOADED_COLLECTION_CHANGED) { 37 System.err.println("Reason: loaded collection changed.");37 Gatherer.println("...Reason: loaded collection changed."); 38 38 setModel(WorkspaceTreeModel.getWorkspaceTreeModel()); 39 39 } … … 41 41 // The collection's contents have changed - refresh collection's import folder 42 42 if (refresh_reason == DragTree.COLLECTION_CONTENTS_CHANGED) { 43 System.err.println("Reason: collection contents changed.");43 Gatherer.println("...Reason: collection contents changed."); 44 44 String import_directory_str = Gatherer.c_man.getCollectionImport(); 45 45 refreshEveryNodeShowingFolder(import_directory_str); … … 48 48 // The method for displaying the tree has changed - redraw the tree 49 49 if (refresh_reason == DragTree.TREE_DISPLAY_CHANGED) { 50 System.err.println("Reason: tree display changed.");50 Gatherer.println("...Reason: tree display changed."); 51 51 updateUI(); 52 52 } … … 54 54 // The collection specific mapped directories have changed - refresh only them 55 55 if (refresh_reason == WorkspaceTree.MAPPED_DIRECTORIES_CHANGED) { 56 System.err.println("Reason: mapped directories changed.");56 Gatherer.println("...Reason: mapped directories changed."); 57 57 WorkspaceTreeModel.refreshWebCacheMappings(); 58 58 WorkspaceTreeModel.refreshCollectionSpecificMappings();
Note:
See TracChangeset
for help on using the changeset viewer.