|
PTP Release 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ptp.remote.ui.RemoteUIServicesUtils
public class RemoteUIServicesUtils
Convenience methods for handling various actions involving IRemoteUIServices.
IRemoteUIServices,
IRemoteUIFileManager,
IRemoteUIConnectionManager,
RemoteServicesDelegate| Constructor Summary | |
|---|---|
RemoteUIServicesUtils()
|
|
| Method Summary | |
|---|---|
static java.net.URI |
browse(org.eclipse.swt.widgets.Shell shell,
java.net.URI current,
RemoteServicesDelegate delegate,
boolean remote,
boolean readOnly,
boolean dir)
Opens a browse dialog using the indicated remote or local service and connection. |
static void |
setConnectionHints(RemoteConnectionWidget connectionWidget,
IRemoteConnection connection)
Used to configure the default host and port in the wizard used for choosing a resource manager connection. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RemoteUIServicesUtils()
| Method Detail |
|---|
public static java.net.URI browse(org.eclipse.swt.widgets.Shell shell,
java.net.URI current,
RemoteServicesDelegate delegate,
boolean remote,
boolean readOnly,
boolean dir)
throws java.net.URISyntaxException
shell - for the dialogcurrent - initial uri to displaydelegate - containing remote services dataremote - whether to use the remote or the local connection and service
provided by the delegatereadOnly - whether to disallow the user to type in a path (default is
true)dir - whether to browse/return a directory (default is file)
null if canceled
java.net.URISyntaxException
public static void setConnectionHints(RemoteConnectionWidget connectionWidget,
IRemoteConnection connection)
throws java.net.URISyntaxException
connectionWidget - the widget allowing the user to choose the connectionconnection - name of the connection
java.net.URISyntaxExceptionRemoteConnectionWidget
|
PTP Release 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||