Ignore:
Timestamp:
2004-08-24T16:09:45+12:00 (20 years ago)
Author:
mdewsnip
Message:

Moved undo/UndoManager.java to file/RecycleBin.java.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/file/FileManager.java

    r7647 r8041  
    4343import org.greenstone.gatherer.file.FileNode;
    4444import org.greenstone.gatherer.file.FileQueue;
     45import org.greenstone.gatherer.file.RecycleBin;
    4546import org.greenstone.gatherer.gui.LongProgressBar;
    4647import org.greenstone.gatherer.gui.NewFolderPrompt;
    4748import org.greenstone.gatherer.gui.tree.DragTree;
    48 import org.greenstone.gatherer.undo.UndoManager;
    4949import org.greenstone.gatherer.util.DragComponent;
    5050import org.greenstone.gatherer.util.SynchronizedTreeModelTools;
     
    8787    // If source and target are different
    8888    else {
    89         // If target is the UndoManager, we're deleting
    90         if(target instanceof UndoManager) {
    91         // If the source is the workspace then display an error message. Workspace is read only.
    92 
    93         // ...except for files from the "Downloaded Files" folder
     89        // If target is the RecycleBin, we're deleting
     90        if (target instanceof RecycleBin) {
     91        // The workspace tree is read only.
     92        // ... except for files from the "Downloaded Files" folder
    9493        boolean from_downloaded_files_folder = false;
    9594        if (source_nodes != null) {
Note: See TracChangeset for help on using the changeset viewer.