|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.globus.cog.gridface.impl.directorybrowser.DirectoryBrowserWorkerImpl
| Constructor Summary | |
DirectoryBrowserWorkerImpl(DirectoryBrowserImpl dbgui,
GridCommandManager gcm)
|
|
| Method Summary | |
protected void |
addCommand(GridCommand command,
Object obj)
|
protected void |
deleteItem(TreePath path)
Called when the user asks to delete an item. |
protected void |
disconnectButtonPushed()
Disconnect when the button is pushed. |
protected URI |
getDirectoryPathFromTreePath(TreePath treePath)
Returns the uri of the treepath if the last node in the path is a directory. |
protected FileTransferObject |
getFileTransferObject()
|
protected GridFile |
getGridFileFromTreePath(TreePath path)
Return the GridFile object of the selected item. |
protected URI |
getPathFromTreePath(TreePath treePath)
Given a selected item's TreePath construct and return its relative path as a string. |
protected String |
getStringOfTreePath(TreePath path)
Returns the string representation of the last item in the tree path. |
protected DefaultTreeModel |
getTreeDataModel()
Return the datamodel of the tree...used in JTree creation. |
protected void |
goButtonPushed()
The method performed when the go button is pushed. |
protected void |
goInto(TreePath path)
Called when the user asks to 'go into' a directory rather than just expanding it. |
protected void |
makeDirectory(String newDirName)
|
protected void |
makeDirectory(TreePath path,
String newDirName)
Called when the user asks to create a new directory. |
protected URI |
processURIForTopPanel(URI uri)
|
protected URI |
processURIFromTopPanel(URI uri)
|
protected void |
refresh()
|
protected void |
refresh(TreePath path)
Called when the user asks to refresh an already open folder. |
protected void |
setPassword(String password)
|
protected void |
setUsername(String username)
|
void |
statusChanged(StatusEvent event)
This is the status changed listener that is called whenever a command completes, fails, etc. |
protected void |
stopButtonPushed()
|
protected void |
treeWillCollapse(TreePath path)
When a tree is collapsed all the subnodes are cleared since we're refetching them anyway. |
protected void |
treeWillExpand(TreePath path)
A tree is expanded so all data for the corresponding directory is fetched. |
protected void |
upDirectory()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DirectoryBrowserWorkerImpl(DirectoryBrowserImpl dbgui,
GridCommandManager gcm)
| Method Detail |
protected FileTransferObject getFileTransferObject()
protected GridFile getGridFileFromTreePath(TreePath path)
protected URI processURIFromTopPanel(URI uri)
protected URI processURIForTopPanel(URI uri)
protected URI getPathFromTreePath(TreePath treePath)
TreePath construct and return its relative path as a string.
treePath - The TreePath of the selected item.
protected URI getDirectoryPathFromTreePath(TreePath treePath)
treePath -
protected String getStringOfTreePath(TreePath path)
path -
protected DefaultTreeModel getTreeDataModel()
protected void deleteItem(TreePath path)
path - TreePath of item to delete.protected void upDirectory()
protected void makeDirectory(String newDirName)
protected void makeDirectory(TreePath path,
String newDirName)
path - TreePath of selection. (ie) where to put the directory.newDirName - The name of the new directoryprotected void goInto(TreePath path)
path - TreePath of selected item.protected void refresh()
protected void refresh(TreePath path)
path - TreePath of selected item.protected void treeWillExpand(TreePath path)
path - TreePath of the node being expanded.protected void treeWillCollapse(TreePath path)
path - TreePath of the node being collapsed.protected void setUsername(String username)
protected void setPassword(String password)
protected void goButtonPushed()
protected void disconnectButtonPushed()
protected void stopButtonPushed()
protected void addCommand(GridCommand command,
Object obj)
public void statusChanged(StatusEvent event)
statusChanged in interface StatusListener
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||