Ignore:
Timestamp:
2004-11-09T13:54:52+13:00 (19 years ago)
Author:
mdewsnip
Message:

Started off fixing a bug where the loaded collection wasn't being ticked on in the cross-collection searching page. Ended up removing a ton of stuff from the CheckList class, some of which was duplicated code and buggy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/collection/ExportCollectionPrompt.java

    r8243 r8496  
    7676    /** The currently selected collection for deletion. */
    7777    private BasicCollectionConfiguration collection = null;
    78     /** The model behind the list. */
    79     private DefaultListModel list_model = null;
    8078    /** A reference to ourself so any inner-classes can dispose of us. */
    8179    private ExportCollectionPrompt prompt = null;
     
    8886    /** The label above the list. */
    8987    private JLabel list_label = null;
    90     /** The list of available collections. */
    91     //private JList list = null;
    9288    /** The text area used to display details about the collection selected. */
    9389    private JTextArea details_textarea = null;
     
    133129    Dictionary.registerText(instructions_textarea, "ExportCollectionPrompt.Instructions");
    134130
    135     //list = new JList();
    136     //list_model = new DefaultListModel();
    137131    all_collections = new ArrayList();
    138132    list = new CheckList(true);
     
    148142    Dictionary.setText(title_label, "ExportCollectionPrompt.CD_Name");
    149143    scanForCollections();
    150     list.setListData(all_collections.toArray());
     144    list.setListData(all_collections);
    151145
    152146    prompt = this;
Note: See TracChangeset for help on using the changeset viewer.