public class JSchUIConnectionService extends AbstractRemoteUIConnectionService
Modifier and Type | Class and Description |
---|---|
static class |
JSchUIConnectionService.Factory |
AbstractRemoteUIConnectionService.DefaultLabelProvider
NEW_CONNECTION_COMMAND
Constructor and Description |
---|
JSchUIConnectionService(IRemoteConnectionType connectionType) |
Modifier and Type | Method and Description |
---|---|
IRemoteConnectionType |
getConnectionType() |
IRemoteUIConnectionWizard |
getConnectionWizard(org.eclipse.swt.widgets.Shell shell)
Create a wizard for adding or editing connections.
|
org.eclipse.jface.viewers.ILabelProvider |
getLabelProvider()
Return the label provider that provides the text and base image for the connection type
and connections of that type.
|
void |
openConnectionWithProgress(org.eclipse.swt.widgets.Shell shell,
org.eclipse.jface.operation.IRunnableContext context,
IRemoteConnection connection)
Attempt to open a connection using a progress monitor.
|
public JSchUIConnectionService(IRemoteConnectionType connectionType)
public IRemoteConnectionType getConnectionType()
public IRemoteUIConnectionWizard getConnectionWizard(org.eclipse.swt.widgets.Shell shell)
IRemoteUIConnectionService
shell
- shell used to display dialogspublic void openConnectionWithProgress(org.eclipse.swt.widgets.Shell shell, org.eclipse.jface.operation.IRunnableContext context, IRemoteConnection connection)
IRemoteUIConnectionService
openConnectionWithProgress
in interface IRemoteUIConnectionService
openConnectionWithProgress
in class AbstractRemoteUIConnectionService
shell
- shell used to display dialogscontext
- runnable context for displaying progress indicator. Can be null.connection
- connection to openpublic org.eclipse.jface.viewers.ILabelProvider getLabelProvider()
IRemoteUIConnectionService
getLabelProvider
in interface IRemoteUIConnectionService
getLabelProvider
in class AbstractRemoteUIConnectionService