Changeset 12300
- Timestamp:
- 2006-07-25T13:45:23+12:00 (18 years ago)
- Location:
- trunk/gli/src/org/greenstone/gatherer
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/cdm/ArgumentConfiguration.java
r12252 r12300 95 95 JPanel content_pane = (JPanel) getContentPane(); 96 96 97 JPanel header_pane = new JPanel();98 97 JLabel header = new JLabel(Dictionary.get("CDM.ArgumentConfiguration.Header", data.getName())); 99 98 header.setHorizontalAlignment(JLabel.CENTER); -
trunk/gli/src/org/greenstone/gatherer/cdm/IndexManager.java
r12167 r12300 589 589 index_list.setSelectedIndex(i); 590 590 // This will produce an event on the list, updating the other buttons 591 if (size == 0) {592 // We have removed the last index, should be able to add what's filled in currently, if valid593 // validateAddButton();594 }595 591 } 596 592 } … … 675 671 676 672 JPanel details_pane = new JPanel(); 677 JPanel main_index_pane = new JPanel(); 678 679 673 680 674 JLabel source_label = new JLabel(Dictionary.get("CDM.IndexManager.Source")); 681 675 source_list = new CheckList(false); -
trunk/gli/src/org/greenstone/gatherer/cdm/LanguageManager.java
r12281 r12300 307 307 selected_languages_list.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); 308 308 selected_languages_list.setVisibleRowCount(5); 309 JPanel details_panel = new JPanel(); 310 309 311 310 JPanel control_panel = new JPanel(); 312 311 JLabel selector_label = new JLabel(Dictionary.get("CDM.LanguageManager.Selector")); … … 462 461 public void actionPerformed(ActionEvent event) { 463 462 if (!language_list.isNothingTicked()) { 464 ArrayList langs = language_list.getTicked();465 463 addLanguage(new Language(language_list.getTicked())); 466 464 clearControls(); -
trunk/gli/src/org/greenstone/gatherer/collection/CollectionManager.java
r12245 r12300 1344 1344 boolean first_name = true; 1345 1345 boolean first_extra = true; 1346 String collection_path = (base_cfg.getParentFile().getParentFile()).getAbsolutePath(); 1347 1346 1348 1347 // Now read in base_cfg line by line, parsing important onces and/or replacing them with information pertinent to our collection. Each line is then written back out to the new collect.cfg file. 1349 1348 try { -
trunk/gli/src/org/greenstone/gatherer/collection/ScriptOptions.java
r10726 r12300 124 124 argument_list = values_element.getElementsByTagName(ARGUMENT); 125 125 for(int i = 0; i < argument_list.getLength(); i++) { 126 String[] temp = new String[2];127 126 Element argument = (Element) argument_list.item(i); 128 127 ArrayTools.add(arguments, argument.getAttribute(NAME)); -
trunk/gli/src/org/greenstone/gatherer/gems/GEMS.java
r12115 r12300 1470 1470 //add sets to existingSetJComboBox 1471 1471 1472 JLabel dummyl = new JLabel(Dictionary.get("GEMS.Add_Set.No_Inherit"));1473 1474 1472 existingSetJComboBox.addItem(DO_NOT_INHERIT); 1475 1473 existingSetJComboBox.setSelectedIndex(getSetsLen); … … 1642 1640 boxes_pane.setLayout(new GridLayout(4,1)); 1643 1641 1644 JLabel inheritJLabel = new JLabel(Dictionary.get("GEMS.inheritMetadataSet")); 1645 1646 File[] col_dir = new File(Configuration.gsdl_path + File.separator + "collect").listFiles(); 1642 File[] col_dir = new File(Configuration.gsdl_path + File.separator + "collect").listFiles(); 1647 1643 1648 1644 existingSetJComboBox.addItem("Default Metadata Sets #% " + getGLIMetadataDirectoryPath()); -
trunk/gli/src/org/greenstone/gatherer/gui/NewCollectionDetailsPrompt.java
r12119 r12300 127 127 title.setPreferredSize(COMPONENT_SIZE); 128 128 title.setToolTipText(Dictionary.get("CDM.General.Collection_Name_Tooltip")); 129 JPanel name_pane = new JPanel();130 129 JLabel name_label = new JLabel(Dictionary.get("NewCollectionPrompt.Collection_Name")); 131 130
Note:
See TracChangeset
for help on using the changeset viewer.