Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

RSE
Release 3.0

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.0

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

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire