public interface IRemoteUIFileManager
| Modifier and Type | Method and Description |
|---|---|
String |
browseDirectory(Shell shell,
String message,
String initialPath,
int flags)
Browse for a remote directory.
|
String |
browseFile(Shell shell,
String message,
String initialPath,
int flags)
Browse for a remote file.
|
String[] |
browseFiles(Shell shell,
String message,
String initialPath,
int flags)
Browse for a set of remote files.
|
IRemoteConnection |
getConnection()
Get the last connection that was selected in the browser.
|
void |
setConnection(IRemoteConnection connection)
Set the connection to use for file browsing
|
void |
showConnections(boolean enable)
Show a list of available connections if possible.
|
String browseDirectory(Shell shell, String message, String initialPath, int flags)
org.eclipse.swt.widgets.DirectoryDialog.shell - workbench shellmessage - message to display in dialoginitialPath - initial path to use when displaying filesflags - option settings for dialog (not currently used)
valid values are NONE (@see IRemoteUIConstants)String browseFile(Shell shell, String message, String initialPath, int flags)
org.eclipse.swt.widgets.FileDialog.shell - workbench shellmessage - message to display in dialoginitialPath - initial path to use when displaying filesflags - options settings for dialog
valid values are NONE, SAVE, or OPEN (@see IRemoteUIConstants)String[] browseFiles(Shell shell, String message, String initialPath, int flags)
org.eclipse.swt.widgets.FileDialog.shell - workbench shellmessage - message to display in dialoginitialPath - initial path to use when displaying filesflags - options settings for dialog (@see IRemoteUIConstants)
valid values are NONE, SAVE, or OPEN (@see IRemoteUIConstants)IRemoteConnection getConnection()
void setConnection(IRemoteConnection connection)
connection - connection to use for file browsingvoid showConnections(boolean enable)
enable - enable connection listCopyright (c) 2011 IBM Corporation and others. All Rights Reserved.