Ignore:
Timestamp:
2012-06-07T14:08:50+12:00 (12 years ago)
Author:
kjdon
Message:

gs3 can't use a collection with sqlite db so I have hidden the option to select it

File:
1 edited

Legend:

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

    r25776 r25777  
    228228            database_type_group.add(gdbm_button);
    229229            database_type_group.add(jdbm_button);
    230             database_type_group.add(sqlite_button);
    231 
     230            if (!Gatherer.GS3)
     231            {
     232                database_type_group.add(sqlite_button);
     233            }
    232234            if (current_database_type != null)
    233235            {
     
    240242                    jdbm_button.setSelected(true);
    241243                }
    242                 else if (current_database_type.equals(DATABASE_TYPE_SQLITE))
     244                else if (current_database_type.equals(DATABASE_TYPE_SQLITE) && !Gatherer.GS3)
    243245                {
    244246                    sqlite_button.setSelected(true);
     
    250252            radio_pane.add(gdbm_button);
    251253            radio_pane.add(jdbm_button);
    252             radio_pane.add(sqlite_button);
     254            if (!Gatherer.GS3)
     255            {
     256                radio_pane.add(sqlite_button);
     257            }
    253258            radio_pane.setComponentOrientation(Dictionary.getOrientation());
    254259
Note: See TracChangeset for help on using the changeset viewer.