public interface IRemoteFileSystemBrowserContainerAdapter
extends org.eclipse.core.runtime.IAdaptable
Modifier and Type | Method and Description |
---|---|
Namespace |
getBrowseNamespace()
Get the
Namespace instance for creating IFileIDs that represent remote files or directories. |
IRemoteFileSystemRequest |
sendBrowseRequest(IFileID directoryOrFileID,
IRemoteFileSystemListener listener)
Send a request for file or directory information for given directoryOrFileID.
|
void |
setConnectContextForAuthentication(IConnectContext connectContext)
Set connect context for authentication upon subsequent
sendBrowseRequest(IFileID, IRemoteFileSystemListener) . |
void |
setProxy(Proxy proxy)
Set proxy for use upon subsequent
sendBrowseRequest(IFileID, IRemoteFileSystemListener) . |
Namespace getBrowseNamespace()
Namespace
instance for creating IFileIDs that represent remote files or directories.null
.IRemoteFileSystemRequest sendBrowseRequest(IFileID directoryOrFileID, IRemoteFileSystemListener listener) throws RemoteFileSystemException
directoryOrFileID
- the IFileID representing/specifying the remote directory or file to access.listener
- the listener that will be notified asynchronously when a response to this request is received. Must not be
null
.RemoteFileSystemException
- if browse request cannot be accomplishedvoid setConnectContextForAuthentication(IConnectContext connectContext)
sendBrowseRequest(IFileID, IRemoteFileSystemListener)
. This
method should be called with a non-null connectContext in order to allow
authentication to occur during call to
sendBrowseRequest(IFileID, IRemoteFileSystemListener)
.connectContext
- the connect context to use for authenticating during
subsequent call to
sendBrowseRequest(IFileID, IRemoteFileSystemListener)
.
If null
, then no authentication will be
attempted.void setProxy(Proxy proxy)
sendBrowseRequest(IFileID, IRemoteFileSystemListener)
. This
method should be called with a non-null proxy to allow the given proxy to
be used in subsequent calls to
sendBrowseRequest(IFileID, IRemoteFileSystemListener)
.proxy
- the proxy to use for subsequent calls to
sendBrowseRequest(IFileID, IRemoteFileSystemListener)
.
If null
, then no proxy will be used.