org.sourcejammer.client.gui.action
Class RemoveFileAction

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

public class RemoveFileAction
extends javax.swing.AbstractAction

Title: $FileName: RemoveFileAction.java$

Version:
$VerNum: 6$
Author:
$AuthorName: Rob MacGrogan$

$Description: $
$KeyWordsOff: $
See Also:
Serialized Form

Field Summary
private static int CANCEL
           
private static int REMOVE_ALL_FOLDERS
           
private static int REMOVE_THIS_FOLDER_ONLY
           
 
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
RemoveFileAction()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent parm1)
           
private  boolean areSharedFilesSelected()
           
private  void removeSelected(ProjectTreeNode selectedProject, java.lang.String[] selectedFiles, org.sourcejammer.project.view.SJRequest request)
           
private  int showSharedFilePrompt()
           
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REMOVE_THIS_FOLDER_ONLY

private static final int REMOVE_THIS_FOLDER_ONLY
See Also:
Constant Field Values

REMOVE_ALL_FOLDERS

private static final int REMOVE_ALL_FOLDERS
See Also:
Constant Field Values

CANCEL

private static final int CANCEL
See Also:
Constant Field Values
Constructor Detail

RemoveFileAction

public RemoveFileAction()
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent parm1)

removeSelected

private void removeSelected(ProjectTreeNode selectedProject,
                            java.lang.String[] selectedFiles,
                            org.sourcejammer.project.view.SJRequest request)
                     throws org.sourcejammer.project.NodeDoesNotExistException,
                            org.sourcejammer.util.SourceJammerConnectionException,
                            GUICommandException
org.sourcejammer.project.NodeDoesNotExistException
org.sourcejammer.util.SourceJammerConnectionException
GUICommandException

showSharedFilePrompt

private int showSharedFilePrompt()

areSharedFilesSelected

private boolean areSharedFilesSelected()


Copyright © 2003 Soucejammer project.