Changeset 4622


Ignore:
Timestamp:
2003-06-12T18:04:59+12:00 (21 years ago)
Author:
kjdon
Message:

indented teh comments

File:
1 edited

Legend:

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

    r4611 r4622  
    411411        source_model.add("text");
    412412        source_model.addAll(gatherer.c_man.msm.getAssignedElements());
    413                 //source_model.addAll(gatherer.c_man.msm.getElements());
    414                 // Creation
     413        //source_model.addAll(gatherer.c_man.msm.getElements());
     414        // Creation
    415415        add = new JButton(get("Add"));
    416416        add.setEnabled(false);
     
    471471        title.setHorizontalAlignment(JLabel.CENTER);
    472472
    473                 // Listeners
     473        // Listeners
    474474        add.addActionListener(new AddListener());
    475475        clear_default.addActionListener(new ClearDefaultListener());
     
    484484        elsl.add(source_list);
    485485
    486                 // Layout
     486        // Layout
    487487        title.setBorder(BorderFactory.createEmptyBorder(0,0,2,0));
    488488
     
    564564        instructions.setCaretPosition(0);
    565565        }
    566                 // Reload the assigned indexes list.
     566        // Reload the assigned indexes list.
    567567        if(source_model != null) {
    568568        source_model.clear();
     
    570570        source_model.addAll(gatherer.c_man.msm.getAssignedElements());
    571571        }
    572                 // Faster than a NPE its the - 'Super class'.
     572        // Faster than a NPE its the - 'Super class'.
    573573        super.updateUI();
    574574    }
     
    576576    private class AddListener
    577577        implements ActionListener {
    578                 /** Method called when an action is performed on a registered component, and when it does we check if we have enough data to create a new index, and if so we create one.
    579                 * @param event An <strong>ActionEvent</strong> providing extra information about the event.
    580                 * @see org.greenstone.gatherer.cdm.CollectionDesignManager
    581                 * @see org.greenstone.gatherer.cdm.CollectionMeta
    582                 * @see org.greenstone.gatherer.cdm.CollectionMetaManager
    583                 * @see org.greenstone.gatherer.cdm.Index
    584                 * @see org.greenstone.gatherer.cdm.Language
    585                 * @see org.greenstone.gatherer.cdm.LanguageManager
    586                 */
     578        /** Method called when an action is performed on a registered component, and when it does we check if we have enough data to create a new index, and if so we create one.
     579        * @param event An <strong>ActionEvent</strong> providing extra information about the event.
     580        * @see org.greenstone.gatherer.cdm.CollectionDesignManager
     581        * @see org.greenstone.gatherer.cdm.CollectionMeta
     582        * @see org.greenstone.gatherer.cdm.CollectionMetaManager
     583        * @see org.greenstone.gatherer.cdm.Index
     584        * @see org.greenstone.gatherer.cdm.Language
     585        * @see org.greenstone.gatherer.cdm.LanguageManager
     586        */
    587587        public void actionPerformed(ActionEvent event) {
    588588        if(!source_list.isSelectionEmpty() && name.getText().length() != 0) {
Note: See TracChangeset for help on using the changeset viewer.