public class RemoteUIFileService extends java.lang.Object implements IRemoteUIFileService
| Modifier and Type | Class and Description |
|---|---|
static class |
RemoteUIFileService.Factory |
| Constructor and Description |
|---|
RemoteUIFileService(IRemoteConnectionType connectionType) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
browseDirectory(org.eclipse.swt.widgets.Shell shell,
java.lang.String message,
java.lang.String filterPath,
int flags)
Browse for a remote directory.
|
java.lang.String |
browseFile(org.eclipse.swt.widgets.Shell shell,
java.lang.String message,
java.lang.String filterPath,
int flags)
Browse for a remote file.
|
java.util.List<java.lang.String> |
browseFiles(org.eclipse.swt.widgets.Shell shell,
java.lang.String message,
java.lang.String filterPath,
int flags)
Browse for a set of remote files.
|
IRemoteConnection |
getConnection()
Get the last connection that was selected in the browser.
|
IRemoteConnectionType |
getConnectionType() |
void |
setConnection(IRemoteConnection connection)
Set the connection to use for file browsing.
|
void |
showConnections(boolean enable)
Show a list of available connections if possible.
|
public RemoteUIFileService(IRemoteConnectionType connectionType)
public IRemoteConnectionType getConnectionType()
getConnectionType in interface IRemoteConnectionType.Servicepublic java.lang.String browseDirectory(org.eclipse.swt.widgets.Shell shell,
java.lang.String message,
java.lang.String filterPath,
int flags)
IRemoteUIFileServiceDirectoryDialog.browseDirectory in interface IRemoteUIFileServiceshell - workbench shellmessage - message to display in dialogfilterPath - initial path to use when displaying filesflags - option settings for dialog (not currently used)
valid values are NONE (@see IRemoteUIConstants)public java.lang.String browseFile(org.eclipse.swt.widgets.Shell shell,
java.lang.String message,
java.lang.String filterPath,
int flags)
IRemoteUIFileServiceFileDialog.browseFile in interface IRemoteUIFileServiceshell - workbench shellmessage - message to display in dialogfilterPath - initial path to use when displaying filesflags - options settings for dialog
valid values are NONE, SAVE, or OPEN (@see IRemoteUIConstants)public java.util.List<java.lang.String> browseFiles(org.eclipse.swt.widgets.Shell shell,
java.lang.String message,
java.lang.String filterPath,
int flags)
IRemoteUIFileServiceFileDialog.browseFiles in interface IRemoteUIFileServiceshell - workbench shellmessage - message to display in dialogfilterPath - initial path to use when displaying filesflags - options settings for dialog (@see IRemoteUIConstants)
valid values are NONE, SAVE, or OPEN (@see IRemoteUIConstants)public IRemoteConnection getConnection()
IRemoteUIFileServicegetConnection in interface IRemoteUIFileServicepublic void setConnection(IRemoteConnection connection)
IRemoteUIFileServicesetConnection in interface IRemoteUIFileServiceconnection - connection to use for file browsingpublic void showConnections(boolean enable)
IRemoteUIFileServiceshowConnections in interface IRemoteUIFileServiceenable - enable connection list