RSE
Release 3.4

org.eclipse.rse.ui.view
Interface ISystemResourceSelectionInputProvider

All Superinterfaces:
IAdaptable, ISystemViewInputProvider

public interface ISystemResourceSelectionInputProvider
extends ISystemViewInputProvider

Public interface for the system resource selection input provider that is used in the SystemRemoteResourceDialog and the SystemResourceSelectionForm

Since:
3.0

Method Summary
 boolean allowMultipleConnections()
          Returns whether multiple connections can be displayed via the input provider
 boolean allowNewConnection()
          Returns whether new connections can be created from the view using this input provider.
 String getCategory()
          Returns the category for the view using the input provider (i.e.
 IHost getSystemConnection()
          Gets the associated system connection
 IRSESystemType[] getSystemTypes()
          Gets the system types allowed for the associated control
 void setAllowNewConnection(boolean flag)
          Indicates whether the input provider should allow new connections to be created.
 void setSystemConnection(IHost connection, boolean onlyConnection)
          Sets the associated system connection for the input provider
 void setSystemTypes(IRSESystemType[] types)
          Sets the system types allowed for this input provider
 
Methods inherited from interface org.eclipse.rse.core.model.ISystemViewInputProvider
getAdapter, getConnectionChildren, getSystemViewRoots, getViewer, hasConnectionChildren, hasSystemViewRoots, setViewer, showingConnections
 

Method Detail

getSystemConnection

IHost getSystemConnection()
Gets the associated system connection

Returns:
the system connection

setAllowNewConnection

void setAllowNewConnection(boolean flag)
Indicates whether the input provider should allow new connections to be created.

Parameters:
flag - whether new connections should be allowed

allowMultipleConnections

boolean allowMultipleConnections()
Returns whether multiple connections can be displayed via the input provider

Returns:
true if multiple connections are allowed

allowNewConnection

boolean allowNewConnection()
Returns whether new connections can be created from the view using this input provider.

Returns:
true if new connections are allowed.

getCategory

String getCategory()
Returns the category for the view using the input provider (i.e. "files")

Returns:
the category

setSystemTypes

void setSystemTypes(IRSESystemType[] types)
Sets the system types allowed for this input provider

Parameters:
types - the types of systems

getSystemTypes

IRSESystemType[] getSystemTypes()
Gets the system types allowed for the associated control

Returns:
the system types

setSystemConnection

void setSystemConnection(IHost connection,
                         boolean onlyConnection)
Sets the associated system connection for the input provider

Parameters:
connection - the connection
onlyConnection - whether other connections are allowed

RSE
Release 3.4

Copyright (c) IBM Corporation and others 2000, 2012. All Rights Reserved.