Changeset 7982
- Timestamp:
- 2004-08-18T14:01:31+12:00 (20 years ago)
- Location:
- trunk/gli/src/org/greenstone/gatherer/gui
- Files:
-
- 3 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 -
trunk/gli/src/org/greenstone/gatherer/gui/NewMetaSetPrompt.java
r7151 r7982 43 43 import javax.swing.*; 44 44 import javax.swing.event.*; 45 45 import javax.swing.*; 46 46 import javax.swing.event.*; 47 47 import javax.swing.text.*; … … 54 54 import org.greenstone.gatherer.gui.ModalDialog; 55 55 import org.greenstone.gatherer.cdm.ElementWrapper; 56 import org.greenstone.gatherer.msm.MetadataSet;57 56 import org.greenstone.gatherer.util.StaticStrings; 58 57 import org.greenstone.gatherer.util.Utility; -
trunk/gli/src/org/greenstone/gatherer/gui/OptionsPane.java
r7059 r7982 52 52 import org.greenstone.gatherer.collection.Collection; 53 53 import org.greenstone.gatherer.collection.CollectionManager; 54 import org.greenstone.gatherer.msm.ElementWrapper;55 54 import org.greenstone.gatherer.util.AppendLineOnlyFileDocument; 56 55 import org.greenstone.gatherer.util.AppendLineOnlyFileDocumentOwner;
Note:
See TracChangeset
for help on using the changeset viewer.