Changeset 5590 for trunk/gli/src/org/greenstone/gatherer/gui
- Timestamp:
- 2003-10-07T14:48:08+13:00 (21 years ago)
- 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 199 199 Gatherer.c_man.saveCollection(false, false); 200 200 } 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 // } 207 207 // ************* 208 208 // Edit Options. … … 507 507 } 508 508 /** 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 */ 510 510 public void lockCollection(boolean import_stage, boolean lock) { 511 511 locked = lock; -
trunk/gli/src/org/greenstone/gatherer/gui/table/TableCellRenderer.java
r5178 r5590 35 35 *######################################################################## 36 36 */ 37 38 39 40 41 42 43 37 package org.greenstone.gatherer.gui.table; 44 38 -
trunk/gli/src/org/greenstone/gatherer/gui/tree/DragTree.java
r5571 r5590 11 11 import javax.swing.event.*; 12 12 import javax.swing.tree.*; 13 import org.greenstone.gatherer.Dictionary; 13 14 import org.greenstone.gatherer.Gatherer; 14 15 import org.greenstone.gatherer.file.FileNode; … … 221 222 } 222 223 else { 223 String title = getSelectionCount() + " files";224 String title = getSelectionCount() + Dictionary.newget("Tree.Files"); 224 225 label = new JLabel(title, ((DefaultTreeCellRenderer)getCellRenderer()).getClosedIcon(), JLabel.CENTER); 225 226 title = null; … … 272 273 pt_last = pt; 273 274 if(!DragSource.isDragImageSupported()) { 274 275 // Erase the last ghost image and cue line 275 276 paintImmediately(ra_ghost.getBounds()); 276 277 // Remember where you are about to draw the new ghost image 277 278 ra_ghost.setRect(pt.x - group.mouse_offset.x, pt.y - group.mouse_offset.y, group.image_ghost.getWidth(), group.image_ghost.getHeight()); 278 279 // Draw the ghost image 279 280 g2.drawImage(group.image_ghost, AffineTransform.getTranslateInstance(ra_ghost.getX(), ra_ghost.getY()), null); 280 281 } … … 282 283 TreePath target_path = this.getPathForLocation(pt.x, pt.y); 283 284 if(previous_path == null || target_path != null && !target_path.equals(previous_path)) { 284 285 // Immediately clear the old cue lines. 285 286 if(upper_cue_line != null && lower_cue_line != null) { 286 287 paintImmediately(upper_cue_line.getBounds()); -
trunk/gli/src/org/greenstone/gatherer/gui/tree/DragTreeCellRenderer.java
r5360 r5590 1 package org.greenstone.gatherer.gui.tree;2 1 /** 3 2 *######################################################################### … … 36 35 *######################################################################## 37 36 */ 37 package org.greenstone.gatherer.gui.tree; 38 38 39 import java.awt.*; 39 40 import javax.swing.*; … … 97 98 } 98 99 } 99
Note:
See TracChangeset
for help on using the changeset viewer.