Changeset 5452


Ignore:
Timestamp:
2003-09-04T16:49:13+12:00 (21 years ago)
Author:
kjdon
Message:

added tooltips to the stop, new folder and delete buttons

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/gui/CollectionPane.java

    r5351 r5452  
    134134
    135135    // Create components.
    136     stop_action = new JButton(get("Browser.Stop"));
     136    stop_action = new JButton(get("Collection.Stop"));
    137137    stop_action.addActionListener(this);
    138138    stop_action.setEnabled(false);
    139 
     139    stop_action.setToolTipText(get("Collection.Stop_Tooltip"));
     140   
    140141    new_folder = new JButton(Utility.getImage("folder.gif"));
    141142    new_folder.addActionListener(this);
     
    143144    new_folder.setMinimumSize(MIN_SIZE);
    144145    new_folder.setPreferredSize(MIN_SIZE);
     146    new_folder.setToolTipText(get("Collection.New_Folder_Tooltip"));
    145147    }
    146148    /** Any implementation of ActionListener requires this method so that when an action is performed the appropriate effect can occur. In this case there are three valid possibilities. If the action occured on the recycle bin, then delete the current selection from the collection tree. If the action instead occured on the new folder button, then create a new folder under the current (single) selection in the collection tree. And finally if the cancel button was pressed, cancel the current, and remaining, jobs on the file queue. */
     
    367369    bin_button.setMinimumSize(MIN_SIZE);
    368370    bin_button.setPreferredSize(MIN_SIZE);
     371    bin_button.setToolTipText(get("Collection.Delete_Tooltip"));
    369372    group.add(bin_button);
    370373
Note: See TracChangeset for help on using the changeset viewer.