RSE
Release 1.0

org.eclipse.rse.filters
Class SystemFilterPoolWrapperInformation

java.lang.Object
  extended byorg.eclipse.rse.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.


Constructor Summary
SystemFilterPoolWrapperInformation(String promptLabel, String promptTooltip, String verbageLabel)
          Constructor for SystemFilterPoolWrapperInformation.
 
Method Summary
 void addWrapper(ISystemFilterPoolWrapper wrapper)
          Add a wrapper object
 void addWrapper(String displayName, ISystemFilterPool 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 getPromptLabel()
          Get the label
 String getPromptTooltip()
          Get the tooltip
 String getVerbageLabel()
           
 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
 

Constructor Detail

SystemFilterPoolWrapperInformation

public SystemFilterPoolWrapperInformation(String promptLabel,
                                          String promptTooltip,
                                          String verbageLabel)
Constructor for SystemFilterPoolWrapperInformation.

Method Detail

addWrapper

public void addWrapper(ISystemFilterPoolWrapper wrapper)
Add a wrapper object


addWrapper

public void addWrapper(String displayName,
                       ISystemFilterPool 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


getPromptLabel

public String getPromptLabel()
Description copied from interface: ISystemFilterPoolWrapperInformation
Get the label

Specified by:
getPromptLabel in interface ISystemFilterPoolWrapperInformation

getPromptTooltip

public String getPromptTooltip()
Description copied from interface: ISystemFilterPoolWrapperInformation
Get the tooltip

Specified by:
getPromptTooltip in interface ISystemFilterPoolWrapperInformation

getVerbageLabel

public String getVerbageLabel()
Specified by:
getVerbageLabel in interface ISystemFilterPoolWrapperInformation

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()

RSE
Release 1.0

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