Ignore:
Timestamp:
2003-10-07T14:48:08+13:00 (21 years ago)
Author:
mdewsnip
Message:

Could it be I've finished adding tooltips?? Why yes, very nearly... and a big "hallelulah" for that.

Location:
trunk/gli/src/org/greenstone/gatherer/gui
Files:
4 edited

Legend:

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

    r5581 r5590  
    199199        Gatherer.c_man.saveCollection(false, false);
    200200    }
    201     else if(esrc == menu_bar.file_save_as) {
    202         String name = JOptionPane.showInputDialog(this, "Enter new collection filename.");
    203         if(name != null) {
    204         Gatherer.c_man.saveCollectionAs(name);
    205         }
    206     }
     201//      else if(esrc == menu_bar.file_save_as) {
     202//          String name = JOptionPane.showInputDialog(this, "Enter new collection filename.");
     203//          if(name != null) {
     204//          Gatherer.c_man.saveCollectionAs(name);
     205//          }
     206//      }
    207207    // *************
    208208    // Edit Options.
     
    507507    }
    508508    /** This method is called when the collection is being built, and is used to disable all controls in all pane which could change the state of the collection.
    509       */
     509     */
    510510    public void lockCollection(boolean import_stage, boolean lock) {
    511511    locked = lock;
  • trunk/gli/src/org/greenstone/gatherer/gui/table/TableCellRenderer.java

    r5178 r5590  
    3535 *########################################################################
    3636 */
    37 
    38  
    39 
    40 
    41 
    42 
    4337package org.greenstone.gatherer.gui.table;
    4438
  • trunk/gli/src/org/greenstone/gatherer/gui/tree/DragTree.java

    r5571 r5590  
    1111import javax.swing.event.*;
    1212import javax.swing.tree.*;
     13import org.greenstone.gatherer.Dictionary;
    1314import org.greenstone.gatherer.Gatherer;
    1415import org.greenstone.gatherer.file.FileNode;
     
    221222        }
    222223        else {
    223         String title = getSelectionCount() + " files";
     224        String title = getSelectionCount() + Dictionary.newget("Tree.Files");
    224225        label = new JLabel(title, ((DefaultTreeCellRenderer)getCellRenderer()).getClosedIcon(), JLabel.CENTER);
    225226        title = null;
     
    272273    pt_last = pt;
    273274    if(!DragSource.isDragImageSupported()) {
    274                 // Erase the last ghost image and cue line
     275        // Erase the last ghost image and cue line
    275276        paintImmediately(ra_ghost.getBounds());
    276                 // Remember where you are about to draw the new ghost image
     277        // Remember where you are about to draw the new ghost image
    277278        ra_ghost.setRect(pt.x - group.mouse_offset.x, pt.y - group.mouse_offset.y, group.image_ghost.getWidth(), group.image_ghost.getHeight());
    278                 // Draw the ghost image
     279        // Draw the ghost image
    279280        g2.drawImage(group.image_ghost, AffineTransform.getTranslateInstance(ra_ghost.getX(), ra_ghost.getY()), null);
    280281    }
     
    282283    TreePath target_path = this.getPathForLocation(pt.x, pt.y);
    283284    if(previous_path == null || target_path != null && !target_path.equals(previous_path)) {
    284                 // Immediately clear the old cue lines.
     285        // Immediately clear the old cue lines.
    285286        if(upper_cue_line != null && lower_cue_line != null) {
    286287        paintImmediately(upper_cue_line.getBounds());
  • trunk/gli/src/org/greenstone/gatherer/gui/tree/DragTreeCellRenderer.java

    r5360 r5590  
    1 package org.greenstone.gatherer.gui.tree;
    21/**
    32 *#########################################################################
     
    3635 *########################################################################
    3736 */
     37package org.greenstone.gatherer.gui.tree;
     38
    3839import java.awt.*;
    3940import javax.swing.*;
     
    9798    }
    9899}
    99 
Note: See TracChangeset for help on using the changeset viewer.