Changeset 5222


Ignore:
Timestamp:
2003-08-20T09:29:53+12:00 (21 years ago)
Author:
mdewsnip
Message:

Fixed up some bad indenting.

File:
1 edited

Legend:

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

    r5220 r5222  
    711711    }
    712712    /** Method which acts like a destructor, tidying up references to persistant objects.
    713             */
     713     */
    714714    public void destroy() {
    715715    }
     
    879879    private class MoveListener
    880880        implements ActionListener {
    881                 /** Any implementation of <i>ActionListener</i> must include this method so that we can be informed when an action has occured on one of our target controls.
    882                 * @param event An <strong>ActionEvent</strong> containing information garnered from the control action.
    883                 */
     881        /** Any implementation of <i>ActionListener</i> must include this method so that we can be informed when an action has occured on one of our target controls.
     882        * @param event An <strong>ActionEvent</strong> containing information garnered from the control action.
     883        */
    884884        public void actionPerformed(ActionEvent event) {
    885         if(!plugin_list.isSelectionEmpty()) {
     885        if (!plugin_list.isSelectionEmpty()) {
    886886            Object object = plugin_list.getSelectedValue();
    887             if(object instanceof PlugIn) {
     887            if (object instanceof PlugIn) {
    888888            PlugIn plugin = (PlugIn) object;
    889             if(event.getSource() == move_top_button) {
     889            if (event.getSource() == move_top_button) {
    890890                movePlugIn(plugin, true, true);
    891891            }
    892             else if(event.getSource() == move_up_button) {
     892            else if (event.getSource() == move_up_button) {
    893893                movePlugIn(plugin, true, false);
    894894            }
    895             else if(event.getSource() == move_down_button) {
     895            else if (event.getSource() == move_down_button) {
    896896                movePlugIn(plugin, false, false);
    897897            }
    898             else {
     898            else if (event.getSource() == move_bottom_button) {
    899899                movePlugIn(plugin, false, true);
    900900            }
     
    905905    }
    906906    /** This class listens for actions upon the remove button in the controls, and if detected calls the <i>removePlugIn()</i> method.
    907             */
     907     */
    908908    private class RemoveListener
    909909        implements ActionListener {
Note: See TracChangeset for help on using the changeset viewer.