|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectau.edu.jcu.hermes.core.filesystem.FileSystemModel
public class FileSystemModel
Author: Mathew Wyatt Organisation: James Cook University Date: Oct 15, 2007 Time: 2:45:12 PM
| Constructor Summary | |
|---|---|
FileSystemModel()
Initialise the class |
|
| Method Summary | |
|---|---|
void |
addAppender(Appender appender)
|
void |
addFileSystemConnectSuccessListener(java.awt.event.ActionListener actionListener)
|
void |
addFileSystemFailedListener(java.awt.event.ActionListener actionListener)
|
void |
addShortcutsChangedListener(java.awt.event.ActionListener listener)
|
RootObject |
connectToFileSystem(IFileSystemConnector connector)
Connect to a filesystem given the connector, add the connceted filesystem to the list of connected filesystems, if unable to getConnector, notify of connection failure |
void |
deleteShortcut(Shortcut shortcut)
Deletes a give shortcut from persisting |
void |
disconnect(RootObject rootObject)
Dosconnects from a given root objects |
java.lang.String |
getFailureMessage()
Returns a failure message for the filesystem creation |
java.util.ArrayList<RootObject> |
getRootObjects()
returns the root objects, or mount points |
java.util.List<Shortcut> |
getShortCuts()
Returns a list of URL shortcuts |
void |
invokeFailureListeners()
|
void |
invokeShortcutsChanged()
|
void |
invokeSuccessListeners()
|
void |
reConnect(RootObject rootObject)
reconnects to a given root object |
void |
saveShortcut(Shortcut shortcut)
Given a fileobject we want to save the URL so that a person can locate that area at a later stage |
void |
unMount(FileObject fileObject)
Unmount a given file object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileSystemModel()
| Method Detail |
|---|
public void addAppender(Appender appender)
addAppender in interface IFileSystemModelpublic RootObject connectToFileSystem(IFileSystemConnector connector)
connectToFileSystem in interface IFileSystemModelconnector -
public void reConnect(RootObject rootObject)
IFileSystemModel
reConnect in interface IFileSystemModelpublic java.util.ArrayList<RootObject> getRootObjects()
IFileSystemModel
getRootObjects in interface IFileSystemModelpublic java.lang.String getFailureMessage()
IFileSystemModel
getFailureMessage in interface IFileSystemModelpublic void invokeFailureListeners()
public void addFileSystemFailedListener(java.awt.event.ActionListener actionListener)
addFileSystemFailedListener in interface IFileSystemModelpublic void addShortcutsChangedListener(java.awt.event.ActionListener listener)
addShortcutsChangedListener in interface IFileSystemModelpublic void invokeShortcutsChanged()
public void invokeSuccessListeners()
public void addFileSystemConnectSuccessListener(java.awt.event.ActionListener actionListener)
addFileSystemConnectSuccessListener in interface IFileSystemModelpublic void unMount(FileObject fileObject)
IFileSystemModel
unMount in interface IFileSystemModelpublic void disconnect(RootObject rootObject)
IFileSystemModel
disconnect in interface IFileSystemModelpublic void saveShortcut(Shortcut shortcut)
IFileSystemModel
saveShortcut in interface IFileSystemModelpublic void deleteShortcut(Shortcut shortcut)
IFileSystemModel
deleteShortcut in interface IFileSystemModelpublic java.util.List<Shortcut> getShortCuts()
IFileSystemModel
getShortCuts in interface IFileSystemModel
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||