- Timestamp:
- 2004-08-18T14:01:31+12:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/gui/GUIManager.java
r7739 r7982 73 73 import org.greenstone.gatherer.help.HelpFrame; 74 74 import org.greenstone.gatherer.mem.MetadataEditorManager; 75 import org.greenstone.gatherer.msm.ElementWrapper;76 import org.greenstone.gatherer.msm.Metadata;77 75 import org.greenstone.gatherer.shell.GShell; 78 76 import org.greenstone.gatherer.util.StaticStrings; … … 282 280 283 281 // ************* 284 // Tools Options.285 // *************286 // else if(esrc == menu_bar.tools_size) {287 // FileNode records[] = enrich_pane.getSelectedNode();288 // if(records != null && records.length > 0) {289 // ArrayList metadatum = Gatherer.c_man.getCollection().gdm.getMetadata(records[0].getFile());290 // if(metadatum.size() >= 4) {291 // Metadata metadata = (Metadata) metadatum.get(0);292 // ElementWrapper ew = metadata.getElement();293 294 // int SIZE = 5000;295 // Object[] array = new Object[SIZE];296 // Runtime.getRuntime().gc();297 // long start = Runtime.getRuntime().freeMemory();298 // for (int i = 0; i < SIZE; i++) {299 // array[i] = ew.copy();300 // }301 // Runtime.getRuntime().gc();302 // long end = Runtime.getRuntime().freeMemory();303 // long difference = (( start - end ) / SIZE);304 // ///ystem.out.println(difference + " bytes used." );305 // }306 // }307 // }308 309 // *************310 282 // Help Options. 311 283 // ************* … … 376 348 menu_bar.collectionChanged(ready); // Inform the menu bar that the collections changed. 377 349 gather_pane.collectionChanged(ready); // Used to update the collection workspace. 378 enrich_pane.collectionChanged(ready); // Very important that metaedit pane shows current collection and is listening to latest msm.379 design_pane.collectionChanged(ready); // Also important config pane is listening to latest msm.350 enrich_pane.collectionChanged(ready); // Very important that metaedit pane shows current collection. 351 design_pane.collectionChanged(ready); 380 352 create_pane.collectionChanged(ready); // Used to indicate a new BuildOptions model should be loaded. 381 353
Note:
See TracChangeset
for help on using the changeset viewer.