org.skunk.dav.client.gui.action
Class RenameAction

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--org.skunk.dav.client.gui.action.CopyAction
              |
              +--org.skunk.dav.client.gui.action.MoveAction
                    |
                    +--org.skunk.dav.client.gui.action.RenameAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable

public class RenameAction
extends MoveAction

See Also:
Serialized Form

Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
RenameAction(Explorer ex)
           
RenameAction(Explorer ex, DAVFile file)
           
RenameAction(Explorer ex, DAVTreeNode node, DAVFile file, java.lang.String destinationURL)
           
 
Method Summary
protected  java.lang.String getDialogMessage()
           
protected  java.lang.String getDialogTitle()
           
protected  java.lang.String obtainDestination(java.lang.String filename, DAVTreeNode node)
           
 
Methods inherited from class org.skunk.dav.client.gui.action.MoveAction
execute
 
Methods inherited from class org.skunk.dav.client.gui.action.CopyAction
actionPerformed, getExplorer
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RenameAction

public RenameAction(Explorer ex,
                    DAVTreeNode node,
                    DAVFile file,
                    java.lang.String destinationURL)

RenameAction

public RenameAction(Explorer ex,
                    DAVFile file)

RenameAction

public RenameAction(Explorer ex)
Method Detail

getDialogMessage

protected java.lang.String getDialogMessage()

getDialogTitle

protected java.lang.String getDialogTitle()
Overrides:
getDialogTitle in class MoveAction

obtainDestination

protected java.lang.String obtainDestination(java.lang.String filename,
                                             DAVTreeNode node)
Overrides:
obtainDestination in class CopyAction