Changeset 22971

Show
Ignore:
Timestamp:
27.09.2010 14:39:38 (9 years ago)
Author:
sjm84
Message:

Tidied the newly commited code for allowing the user to change the infodbtype of a collection

Location:
main/trunk/gli/src/org/greenstone/gatherer/cdm
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/src/org/greenstone/gatherer/cdm/ClassifierManager.java

    r22970 r22971  
    276276    private class ClassifierControl 
    277277    extends JPanel 
    278     implements Control, DatabaseTypeManager.DatabaseTypeListener { 
     278    implements Control, DatabaseTypeManager.DatabaseTypeListener { 
    279279        /** A combobox containing all of the known classifiers, including those that may have already been assigned. */ 
    280280        private JComboBox classifier_combobox = null; 
     
    289289        private JButton remove = null; 
    290290 
    291     private JPanel database_type_panel = (JPanel)database_type_manager.getControls(); 
     291        private JPanel database_type_panel = (JPanel)database_type_manager.getControls(); 
    292292         
    293293        /** A list of assigned classifiers. */ 
  • main/trunk/gli/src/org/greenstone/gatherer/cdm/CollectCfgReadWrite.java

    r22970 r22971  
    9898    } 
    9999    else if (command_element_name.equals (StaticStrings.DATABASETYPE_ELEMENT)) { 
    100     return metadataToString (command_element);  
     100      return metadataToString (command_element);  
    101101    }  
    102102    else if(command_element_name.equals (StaticStrings.PLUGIN_ELEMENT)) { 
  • main/trunk/gli/src/org/greenstone/gatherer/cdm/CollectionConfigXMLReadWrite.java

    r22970 r22971  
    13331333    Element e = XMLTools.getNamedElement (from.getDocumentElement (), 
    13341334                      StaticStrings.DATABASETYPE_ELEMENT, 
    1335                       StaticStrings.NAME_ATTRIBUTE, StaticStrings.DATABASETYPE_STR); 
     1335                      StaticStrings.NAME_ATTRIBUTE,  
     1336                      StaticStrings.DATABASETYPE_STR); 
    13361337    if (e == null) { 
    13371338      return;