Remote Systems
v6.4.1

com.ibm.etools.systems.filters
Class SystemFilterPoolWrapperInformation

java.lang.Object
  extended bycom.ibm.etools.systems.filters.SystemFilterPoolWrapperInformation
All Implemented Interfaces:
ISystemFilterPoolWrapperInformation

public class SystemFilterPoolWrapperInformation
extends Object
implements ISystemFilterPoolWrapperInformation

The system filter wizard allows callers to pass a list of wrapper objects for the user to select a filter pool. Effectively, this prompting for euphamisms to filter pools. This requires an array of wrapper objects, and requires replacement mri for the pool prompt and tooltip text, and the verbage above it.

This is all encapsulated in this class. The information is set via setters or constructor parameters.


Field Summary
static String copyright
           
 
Constructor Summary
SystemFilterPoolWrapperInformation(ResourceBundle rb, String promptRBKey, String verbageRBKey)
          Constructor for SystemFilterPoolWrapperInformation.
 
Method Summary
 void addWrapper(ISystemFilterPoolWrapper wrapper)
          Add a wrapper object
 void addWrapper(String displayName, SystemFilterPool poolToWrap, boolean preSelect)
          Add a filter pool, which we will wrapper here by creating a SystemFilterPoolWrapper object for you
 ISystemFilterPoolWrapper getPreSelectWrapper()
          Get the wrapper to preselect in the list.
 String getPromptRBKey()
          Get the resource bundle key for the filter pool prompt label and tip.
 ResourceBundle getResourceBundle()
          Get the resource bundle to use for the filter pool prompt label, tooltip, and preceding verbage.
 String getVerbageRBKey()
          Get the resource bundle key for the filter pool prompt verbage that goes above the combo box in the New Filter wizard.
 ISystemFilterPoolWrapper[] getWrappers()
          Get the list of wrappered filter pool objects to show in the combo.
 void setPreSelectWrapper(ISystemFilterPoolWrapper wrapper)
          Set the wrapper to preselect
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values
Constructor Detail

SystemFilterPoolWrapperInformation

public SystemFilterPoolWrapperInformation(ResourceBundle rb,
                                          String promptRBKey,
                                          String verbageRBKey)
Constructor for SystemFilterPoolWrapperInformation.

Method Detail

addWrapper

public void addWrapper(ISystemFilterPoolWrapper wrapper)
Add a wrapper object


addWrapper

public void addWrapper(String displayName,
                       SystemFilterPool poolToWrap,
                       boolean preSelect)
Add a filter pool, which we will wrapper here by creating a SystemFilterPoolWrapper object for you


setPreSelectWrapper

public void setPreSelectWrapper(ISystemFilterPoolWrapper wrapper)
Set the wrapper to preselect


getResourceBundle

public ResourceBundle getResourceBundle()
Description copied from interface: ISystemFilterPoolWrapperInformation
Get the resource bundle to use for the filter pool prompt label, tooltip, and preceding verbage.

Specified by:
getResourceBundle in interface ISystemFilterPoolWrapperInformation
See Also:
ISystemFilterPoolWrapperInformation.getResourceBundle()

getPromptRBKey

public String getPromptRBKey()
Description copied from interface: ISystemFilterPoolWrapperInformation
Get the resource bundle key for the filter pool prompt label and tip. Will add ".label" and ".tooltip" to this key, then use getString on the resource bundle.

Specified by:
getPromptRBKey in interface ISystemFilterPoolWrapperInformation
See Also:
ISystemFilterPoolWrapperInformation.getPromptRBKey()

getVerbageRBKey

public String getVerbageRBKey()
Description copied from interface: ISystemFilterPoolWrapperInformation
Get the resource bundle key for the filter pool prompt verbage that goes above the combo box in the New Filter wizard. Return null if you don't want any verbage, else what is returned will be used in getString() on the resource bundle to get the mri.

Specified by:
getVerbageRBKey in interface ISystemFilterPoolWrapperInformation
See Also:
ISystemFilterPoolWrapperInformation.getVerbageRBKey()

getWrappers

public ISystemFilterPoolWrapper[] getWrappers()
Description copied from interface: ISystemFilterPoolWrapperInformation
Get the list of wrappered filter pool objects to show in the combo. The wrappering allows each to be displayed with a different name in the list than just pool.getName()

Specified by:
getWrappers in interface ISystemFilterPoolWrapperInformation
See Also:
ISystemFilterPoolWrapperInformation.getWrappers()

getPreSelectWrapper

public ISystemFilterPoolWrapper getPreSelectWrapper()
Description copied from interface: ISystemFilterPoolWrapperInformation
Get the wrapper to preselect in the list.

Specified by:
getPreSelectWrapper in interface ISystemFilterPoolWrapperInformation
See Also:
ISystemFilterPoolWrapperInformation.getPreSelectWrapper()

Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.