|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.intel.gpe.client2.common.panels.tree.BaseNode
com.intel.gpe.client2.common.panels.remotefs.RemoteFileNode
public class RemoteFileNode
The node representing a file at a remote location.
Field Summary |
---|
Fields inherited from class com.intel.gpe.client2.common.panels.tree.BaseNode |
---|
contentsChangeListeners, listeners, nodeChangeListeners |
Constructor Summary | |
---|---|
RemoteFileNode(GridTreeModel model,
StorageOrFileNode parent,
AsyncClient asyncClient,
com.intel.gpe.clients.api.GridFile file,
boolean onlyDirectories,
MessageAdapter messageAdapter)
Deprecated. |
|
RemoteFileNode(GridTreeModel model,
StorageOrFileNode parent,
AsyncClient asyncClient,
com.intel.gpe.clients.api.GridFile file,
boolean onlyDirectories,
MessageProvider messageProvider)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
com.intel.gpe.clients.api.GridFile |
getFile()
Get the remote file |
java.lang.String |
getIconPath()
|
PathElement |
getPathElement()
Get the path element representing the node. |
ClientWrapper<com.intel.gpe.clients.api.StorageClient,java.lang.String> |
getStorage()
Get the storage client associated either with the storage node or the file location. |
java.lang.String |
getStorageName()
Get the storage name associated either with the storage node or the file location. |
ClientWrapper<com.intel.gpe.clients.api.TargetSystemClient,java.lang.String> |
getTargetSystem()
Get the target system client associated either with the target system node or the storage node or the file location. |
boolean |
isLeaf()
Check if the node is a leaf. |
boolean |
matches(PathElement pathElement)
Test if the node matches the path element. |
void |
observableUpdate(java.lang.Object theObserved,
java.lang.Object changeCode)
|
void |
refresh()
Refresh the list of the children. |
void |
requestChildren()
Get the child nodes. |
void |
requestContents()
Get the contents of the node. |
java.lang.String |
toString()
|
Methods inherited from class com.intel.gpe.client2.common.panels.tree.BaseNode |
---|
addChildrenChangeListener, addContentsChangeListener, compareTo, executeRequest, getAsyncClient, getChild, getChildCount, getChildren, getContents, getIndex, getMessageAdapter, getMessageProvider, getModel, getPath, notifyContentsChangeListener, notifyNodeChanged, removeChildrenChangeListener, removeContentsChangeListener, setChildren, setContents, setModel, showException |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.intel.gpe.client2.common.panels.tree.Node |
---|
getChild, getChildCount, getIndex, getPath |
Constructor Detail |
---|
@Deprecated public RemoteFileNode(GridTreeModel model, StorageOrFileNode parent, AsyncClient asyncClient, com.intel.gpe.clients.api.GridFile file, boolean onlyDirectories, MessageAdapter messageAdapter)
public RemoteFileNode(GridTreeModel model, StorageOrFileNode parent, AsyncClient asyncClient, com.intel.gpe.clients.api.GridFile file, boolean onlyDirectories, MessageProvider messageProvider)
Method Detail |
---|
public void refresh()
BaseNode
refresh
in class BaseNode
public void requestChildren()
BaseNode
BaseNode.setChildren(List)
method.
requestChildren
in class BaseNode
public void requestContents()
BaseNode
requestContents
in class BaseNode
public void observableUpdate(java.lang.Object theObserved, java.lang.Object changeCode)
observableUpdate
in interface com.intel.gpe.util.observer.IObserver
public boolean isLeaf()
Node
isLeaf
in interface Node
true
if the node if a leaf, false
otherwise.public java.lang.String toString()
toString
in class java.lang.Object
public PathElement getPathElement()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public ClientWrapper<com.intel.gpe.clients.api.StorageClient,java.lang.String> getStorage()
StorageOrFileNode
getStorage
in interface StorageOrFileNode
public java.lang.String getStorageName()
StorageOrFileNode
getStorageName
in interface StorageOrFileNode
public com.intel.gpe.clients.api.GridFile getFile()
StorageOrFileNode
getFile
in interface StorageOrFileNode
public ClientWrapper<com.intel.gpe.clients.api.TargetSystemClient,java.lang.String> getTargetSystem()
TargetSystemOrChildNode
getTargetSystem
in interface TargetSystemOrChildNode
public java.lang.String getIconPath()
getIconPath
in interface ObjectWithIcon
getIconPath
in class BaseNode
public boolean matches(PathElement pathElement)
RemoteFileChooserNode
matches
in interface RemoteFileChooserNode
pathElement
- -
the path element to match
true
if the node matches the supplied path element, false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |