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

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 ISystemSelectRemoteObjectAPIProvider

All Superinterfaces:
IAdaptable, ISystemViewInputProvider

public interface ISystemSelectRemoteObjectAPIProvider
extends ISystemViewInputProvider

Since:
3.0

Method Summary
  Object[] getConnectionChildren ( IHost selectedConnection)
          This method is called by the connection adapter when the user expands a connection.
  String getPreSelectFilterChild ()
          Get the name of the item to select when the first filter is expanded.
  Object getPreSelectFilterChildObject ()
          Get the actual object of the item to select when the first filter is expanded.
 void setFilterString ( String string)
          Set the filter string to use to resolve the inputs.
 void setPreSelectFilterChild ( String name)
          Set child of the first filter to preselect
 void setPreSelectFilterChildObject ( Object obj)
          Set actual child object of the first filter to preselect.
 void setQuickFilters ( ISystemFilter[] filters)
          Set the quick filters to be exposed to the user.
 void setShowNewConnectionPrompt (boolean show)
          Specify whether the user should see the "New Connection..." special connection prompt
 void setSystemConnection ( IHost connection, boolean onlyMode)
          Default or Restrict to a specific connection.
 void setSystemTypes ( IRSESystemType[] systemTypes)
          Specify system types to restrict what types of connections the user can create, and see.
 
Methods inherited from interface org.eclipse.rse.core.model. ISystemViewInputProvider
getAdapter, getSystemViewRoots, getViewer, hasConnectionChildren, hasSystemViewRoots, setViewer, showingConnections
 

Method Detail

getConnectionChildren

Object[] getConnectionChildren(
IHost selectedConnection)
This method is called by the connection adapter when the user expands a connection. This method must return the child objects to show for that connection.

Specified by:
getConnectionChildren in interface ISystemViewInputProvider
Parameters:
selectedConnection - the connection undergoing expansion
Returns:
the list of objects under the connection

getPreSelectFilterChild

String getPreSelectFilterChild()
Get the name of the item to select when the first filter is expanded. Called by the filter adapter.


getPreSelectFilterChildObject

Object getPreSelectFilterChildObject()
Get the actual object of the item to select when the first filter is expanded. Called by the GUI form after expansion, so it can select this object


setFilterString

void setFilterString(
String string)
Set the filter string to use to resolve the inputs. If this is an absolute filter string, it gets turned into a quick filter string, so that the user sees it and can expand it. If it is a relative filter string to apply to all expansions, it is used to decorate all filtering as the user drills down.


setPreSelectFilterChildObject

void setPreSelectFilterChildObject(
Object obj)
Set actual child object of the first filter to preselect. Called by the filter adapter once the children are resolved and a match on the name is found.


setPreSelectFilterChild

void setPreSelectFilterChild(
String name)
Set child of the first filter to preselect


setQuickFilters

void setQuickFilters(
ISystemFilter[] filters)
Set the quick filters to be exposed to the user. These will be shown to the user when they expand a connection.

See Also:
org.eclipse.rse.core.filters.SystemFilterSimple

setShowNewConnectionPrompt

void setShowNewConnectionPrompt(boolean show)
Specify whether the user should see the "New Connection..." special connection prompt


setSystemConnection

void setSystemConnection(
IHost connection,
                         boolean onlyMode)
Default or Restrict to a specific connection. If default mode, it is preselected. If only mode, it is the only connection listed.

Parameters:
connection - The connection to default or restrict to
onlyMode - true if this is to be the only connection shown in the list

setSystemTypes

void setSystemTypes(
IRSESystemType[] systemTypes)
Specify system types to restrict what types of connections the user can create, and see. This will override subsystemConfigurationId,if that has been set!

Parameters:
systemTypes - An array of system types, or null to allow all registered valid system types. A system type is valid if at least one subsystem configuration is registered against it.

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