Changeset 4673
- Timestamp:
- 2003-06-16T10:03:49+12:00 (21 years ago)
- Location:
- trunk/gli
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/classes/dictionary.properties
r4646 r4673 118 118 CDM.ClassifierManager.Assigned:Currently Assigned Classifiers 119 119 CDM.ClassifierManager.Classifier:Select classifier to add: 120 CDM.ClassifierManager.Classifier_XML_Parse_Failed: GLI has been unable to determine the arguments for the {0}\nclassifier. Please ensure that the classifier in question\nprovides the -xml flag by running the classinfo.pl script\nsimilar to the description of the pluginfo.pl script in\nsection 2.1 of the Greenstone Developers Guide.120 CDM.ClassifierManager.Classifier_XML_Parse_Failed:Unable to determine the arguments for the {0}\nclassifier. Please ensure that the classifier in question\nprovides the -xml flag by running the classinfo.pl script\nsimilar to the description of the pluginfo.pl script in\nsection 2.1 of the Greenstone Developers Guide. 121 121 CDM.ClassifierManager.Configure:Configure Selected Classifier 122 122 CDM.ClassifierManager.Controls:Editing Controls … … 210 210 CDM.PlugInManager.Move_Up:Move Up 211 211 CDM.PlugInManager.PlugIn:Select plugin to add: 212 CDM.PlugInManager.PlugIn_XML_Parse_Failed: GLI has been unable to determine the arguments for the {0}\nplugin. Please ensure that the plugin in question provides\nthe -xml flag by running the pluginfo.pl script described\nin section 2.1 of the Greenstone Developers Guide.212 CDM.PlugInManager.PlugIn_XML_Parse_Failed:Unable to determine the arguments for the {0}\nplugin. Please ensure that the plugin in question provides\nthe -xml flag by running the pluginfo.pl script described\nin section 2.1 of the Greenstone Developers Guide. 213 213 CDM.PlugInManager.Remove:Remove Selected Plugin 214 214 CDM.PlugInManager.Title:{39}{46}Plugin Selection & Configuration{47}{34} … … 415 415 # 416 416 #******* File Associations dialog ********** 417 FileAssociationDialog.Add:Add 417 418 FileAssociationDialog.Batch_File:Batch files 418 419 FileAssociationDialog.Browse:Browse 419 420 FileAssociationDialog.Browse_Title:Choose Application 420 FileAssociationDialog.Command: Open using:421 FileAssociationDialog.Command:Launch command: 421 422 FileAssociationDialog.Command_File:Command files 422 423 FileAssociationDialog.Executable_File:Executable files 423 424 FileAssociationDialog.Extension:For files ending: 425 FileAssociationDialog.Instructions:Use this dialog to set what external programs are used to view a certain file-type, and what command is sent to launch this program.\nTo select a current file association, choose an extension from the 'For file's ending' drop down list.\nTo add a new file-type, type its extension in 'For file's ending'.\nTo add or modify a launch command, type the new command in 'Launch command' or click 'Browse' to search the file system for an appropriate program. Use the special string '%1' to indicate where the name of the file to be opened should be inserted, e.g. "C:\\Windows\\System\\MSPaint.exe %1". '%1' will be appended to the end of a command if not otherwise specified. 424 426 FileAssociationDialog.Title:Edit File Associations 425 427 #******************* … … 767 769 MSMPrompt.Select_Element_Element:Select Element: 768 770 MSMPrompt.Select_Element_Ignore:Ignore 769 MSMPrompt.Select_Element_Instructions:The metadata element {0} cannot be automatically imported into the collection. Select a metadata set and either:\n(1) press 'Add' to add the metadata to that set , or\n(2) choose an element and press 'Merge' to import {0} metadata to this element.771 MSMPrompt.Select_Element_Instructions:The metadata element {0} cannot be automatically imported into the collection. Select a metadata set and either:\n(1) press 'Add' to add the metadata to that set (only available if no element with that name already exists), or\n(2) choose an element and press 'Merge' to import {0} metadata to this element. 770 772 MSMPrompt.Select_Element_Merge:Merge 771 773 MSMPrompt.Select_Element_Original:Original element name: -
trunk/gli/classes/xml/config.xml
r4644 r4673 93 93 <!-- Warnings can be disabled by the user. --> 94 94 <!-- Do we show a warning message when a user attempts to add folder level metadata. [true] --> 95 <Argument name="warning.DirectoryLevelMetadata Prompt">true</Argument>95 <Argument name="warning.DirectoryLevelMetadata">true</Argument> 96 96 <Argument name="warning.InheritedMetadata">true</Argument> 97 97 <Argument name="warning.MissingEXEC">true</Argument> -
trunk/gli/src/org/greenstone/gatherer/Dictionary.java
r4363 r4673 203 203 Gatherer.println("Missing value for key: " + key); 204 204 } 205 //e.printStackTrace(); 205 206 return key; 206 207 } -
trunk/gli/src/org/greenstone/gatherer/collection/CollectionManager.java
r4608 r4673 708 708 public void importCollection() { 709 709 if(!saved()) { 710 710 // Force save. 711 711 try { 712 712 SaveCollectionTask save_task = new SaveCollectionTask(collection); -
trunk/gli/src/org/greenstone/gatherer/gui/CreatePane.java
r4551 r4673 418 418 */ 419 419 public void actionPerformed(ActionEvent event) { 420 420 // First we force the build options to be updated if we haven't already. 421 421 tree.valueChanged(null); 422 422 // Now go about building. 423 423 build_button.setEnabled(false); 424 424 cancel_button.setEnabled(true); 425 425 // Create a new process log, and place it. 426 426 if(scroll_log != null) { 427 427 progress_pane.remove(scroll_log); … … 430 430 scroll_log = new JScrollPane(process_log); 431 431 progress_pane.add(scroll_log, BorderLayout.CENTER); 432 432 // clear the log list and message_log 433 433 options_pane.resetLogList(); 434 434 // Change the view. 435 435 processing = true; 436 436 card_layout.show(main_pane, PROGRESS); 437 437 // Reset the stop flag in all the process monitors, just incase. 438 438 ((GBuildProgressMonitor)build_monitor).reset(); 439 439 copy_monitor.setStop(false); 440 440 import_monitor.setStop(false); 441 442 if(Gatherer.c_man.ready() && !Gatherer.c_man.built()) {441 // Set removeold automatically. 442 if(Gatherer.c_man.ready() && Gatherer.c_man.built()) { 443 443 Gatherer.c_man.getCollection().build_options.setImportValue("removeold", true, null); 444 444 } 445 445 // Call CollectionManagers method to build collection. 446 446 Gatherer.c_man.importCollection(); 447 447 } -
trunk/gli/src/org/greenstone/gatherer/msm/MSMUtils.java
r4564 r4673 712 712 element.setAttribute("occurances", new_value.toString()); 713 713 } 714 715 /** Set the #text node value of some element. 716 * @param element the Element whose value we wish to set 717 * @param value the new value for the element as a String 718 */ 719 static final public void setValue(Element element, String value) { 720 // Remove any existing child node(s) 721 while(element.hasChildNodes()) { 722 element.removeChild(element.getFirstChild()); 723 } 724 // Add new text node. 725 element.appendChild(element.getOwnerDocument().createTextNode(value)); 726 } 727 714 728 /** This method also traverses the tree, but this one is used to gather all the values and aliases at once, and to 'prune' the tree if necessary. 715 729 * @param current The current root <strong>Node</strong> of this AssignedValues tree subtree. -
trunk/gli/src/org/greenstone/gatherer/msm/MetadataSetManager.java
r4661 r4673 915 915 // And make back ups of all existing metadata set files. 916 916 File temp[] = file.listFiles(); 917 for(int i = temp.length - 1; i >= 0; i--) {917 for(int i = 0; temp != null && i < temp.length; i++) { 918 918 if(temp[i].getName().endsWith(".mds") || temp[i].getName().endsWith(".mdv")) { 919 919 File backup = new File(temp[i].getAbsolutePath() + "~"); -
trunk/gli/src/org/greenstone/gatherer/util/Utility.java
r4589 r4673 70 70 static final public String CFG_COLLECTIONMETA_COLLECTIONEXTRA = "collectionmeta collectionextra"; 71 71 static final public String CFG_COLLECTIONMETA_ICONCOLLECTION = "collectionmeta iconcollection"; 72 static final public String CFG_COLLECTIONMETA_ICONCOLLECTIONSMALL = "collectionmeta iconcollectionsmall";73 72 static final public String CFG_CLASSIFY = "classify"; 74 73 static final public String CFG_CLASSIFY_BUTTONNAME = "-buttonname"; … … 104 103 /** Definition of an important directory name, in this case the private web cache directory for the collection. */ 105 104 static final public String GCACHE_DIR = "gcache" + File.separator; 106 /** The archive file where the GLI can find dynamically loaded classes. */107 105 static final public String GLI_ARCHIVE = "GLI.jar"; 108 106 /** Definition of an important directory name, in this case the location of help documentation. */ … … 145 143 static final public String WELCOME_DIR = BASE_DIR + "welcome" + File.separator; 146 144 static final public String WORKSPACE_TREE = "Workspace"; 145 static final public String XML_DIRECTORY = "xml" + File.separator; 147 146 // These are out of alphabetic order to avoid forward reference error. 148 147 /** The default icon to produce a 'help-icon' sized blank space before a menu entry. */
Note:
See TracChangeset
for help on using the changeset viewer.