Changeset 8253
- Timestamp:
- 2004-10-08T14:49:47+13:00 (20 years ago)
- Location:
- trunk/gli/src/org/greenstone/gatherer
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/Configuration.java
r8236 r8253 967 967 UIManager.put("ScrollBar.background", new ColorUIResource(getColor("coloring.scrollbar_background", false))); 968 968 UIManager.put("ScrollBar.thumb", new ColorUIResource(getColor("coloring.scrollbar_foreground", false))); 969 if (Gatherer.g_man != null) {970 JPanel pane = (JPanel) Gatherer.g_man.getContentPane();971 pane.updateUI();972 // Also update all of the tabs according to workflow.973 Gatherer.g_man.workflowUpdate("Mirror", get("workflow.mirror", false));974 Gatherer.g_man.workflowUpdate("Gather", get("workflow.gather", false));975 Gatherer.g_man.workflowUpdate("Enrich", get("workflow.enrich", false));976 Gatherer.g_man.workflowUpdate("Design", get("workflow.design", false));977 Gatherer.g_man.workflowUpdate("Export", get("workflow.export", false));978 Gatherer.g_man.workflowUpdate("Create", get("workflow.create", false));979 }980 969 } 981 970 } -
trunk/gli/src/org/greenstone/gatherer/collection/Collection.java
r8243 r8253 105 105 // Point the Configuration class at our gatherer config arguments. 106 106 Configuration.setCollectionConfiguration(document); 107 if (Gatherer.g_man != null) { 108 Gatherer.g_man.updateUI(); 109 } 107 110 // Finally create all of the child managers that are directly dependant on a collection 108 111 build_options = new BuildOptions(getBuildValues(), getImportValues()); … … 119 122 msm.destroy(); 120 123 Configuration.setCollectionConfiguration(null); 124 if (Gatherer.g_man != null) { 125 Gatherer.g_man.updateUI(); 126 } 121 127 cdm = null; 122 128 document = null; -
trunk/gli/src/org/greenstone/gatherer/collection/CollectionManager.java
r8243 r8253 235 235 Configuration.setCollectionConfiguration(null); 236 236 if (Gatherer.g_man != null) { 237 Gatherer.g_man.updateUI(); 237 238 Gatherer.g_man.collectionChanged(false); 238 239 } -
trunk/gli/src/org/greenstone/gatherer/gui/GUIManager.java
r8243 r8253 889 889 private MouseListener mouse_blocker_listener = new MouseAdapter() {}; 890 890 891 public void updateUI() 892 { 893 JPanel pane = (JPanel) getContentPane(); 894 pane.updateUI(); 895 // Also update all of the tabs according to workflow. 896 workflowUpdate("Mirror", Configuration.get("workflow.mirror", false)); 897 workflowUpdate("Gather", Configuration.get("workflow.gather", false)); 898 workflowUpdate("Enrich", Configuration.get("workflow.enrich", false)); 899 workflowUpdate("Design", Configuration.get("workflow.design", false)); 900 workflowUpdate("Export", Configuration.get("workflow.export", false)); 901 workflowUpdate("Create", Configuration.get("workflow.create", false)); 902 } 903 891 904 public void wait(boolean waiting) { 892 905 Component glass_pane = getGlassPane();
Note:
See TracChangeset
for help on using the changeset viewer.