RSE
Release 3.0

org.eclipse.rse.ui.filters.dialogs
Class SystemNewFilterWizardConfigurator

java.lang.Object
  extended by org.eclipse.rse.ui.filters.dialogs.SystemNewFilterWizardConfigurator
All Implemented Interfaces:
ISystemNewFilterWizardConfigurator

public class SystemNewFilterWizardConfigurator
extends Object
implements ISystemNewFilterWizardConfigurator

Much of the new filter wizard is configurable, especially with respect to translated strings. While there exists setters and overridable methods for most of it, sometimes that gets overwhelming. This class is designed to capture all the configurable attributes that are not likely to change from usage to usage of the wizard (eg, not context sensitive) such that for convenience you can subclass it in a class and instantiate a singleton instance of that class to re-use in your wizard.

Your best option is to subclass this and override just those things you want to change.


Constructor Summary
protected SystemNewFilterWizardConfigurator()
          Constructor for SystemNewFilterWizardConfigurator.
protected SystemNewFilterWizardConfigurator(String pageTitle)
          Constructor for SystemNewFilterWizardConfigurator when you want to change the page title
 
Method Summary
 String getPage1Description()
          Return the description for page 1 (which prompts for the filter string)
 String getPage1Title()
          Return the page title for page 1 (which prompts for the filter string)
 String getPage2Description()
          Return the description for page 2 (which prompts for the name and filter pool)
 String getPage2HelpID()
          Return the help ID for page 2
 String getPage2NamePromptLabel()
          Return the label for the filter name prompt on page 2.
 String getPage2NamePromptTooltip()
          Return the tooltip for the filter name prompt on page 2.
 String getPage2NameVerbiage()
          Return the verbiage for the name prompt on page 2
 String getPage2PoolPromptLabel()
          Return the label for the filter pool prompt on page 2.
 String getPage2PoolPromptTooltip()
          Return the label for the filter pool prompt on page 2.
 String getPage2PoolVerbiage()
          Return the verbiage for the name prompt on page 2
 String getPage2PoolVerbiageTip()
          Return the verbiage tooltip for the name prompt on page 2
 String getPage2Title()
          Return the page title for page 2 (which prompts for the name and filter pool)
 String getPage2UniqueToConnectionLabel()
          Get the "Unique to this connection" checkbox label
 String getPage2UniqueToConnectionToolTip()
          Set the "Unique to this connection" checkbox tooltip
 String getPage3Description()
          Return the description for page 3 (which shows 2 tips)
 String getPage3Tip1()
          Return the description for page 3 (which shows 2 tips)
 String getPage3Tip2()
          Return the second tip on page 3
 String getPage3Title()
          Return the page title for page 3 (which shows 2 tips)
 String getPageTitle()
          Return the default page title to use for each page, unless overridden individually
 void setPage1Description(String description)
          Set the description for page 1
 void setPage2HelpID(String helpId)
          Set the help ID for page 2
 void setPage3Tip1(String tip)
          Set the first tip to show for page 3
 void setPage3Tip2(String tip)
          Set the second tip to show for page 3
 void setPageTitle(String pageTitle)
          Set the default page title.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemNewFilterWizardConfigurator

protected SystemNewFilterWizardConfigurator()
Constructor for SystemNewFilterWizardConfigurator.


SystemNewFilterWizardConfigurator

protected SystemNewFilterWizardConfigurator(String pageTitle)
Constructor for SystemNewFilterWizardConfigurator when you want to change the page title

Method Detail

getPageTitle

public String getPageTitle()
Return the default page title to use for each page, unless overridden individually

Specified by:
getPageTitle in interface ISystemNewFilterWizardConfigurator

getPage1Title

public String getPage1Title()
Return the page title for page 1 (which prompts for the filter string)

Specified by:
getPage1Title in interface ISystemNewFilterWizardConfigurator

getPage1Description

public String getPage1Description()
Return the description for page 1 (which prompts for the filter string)

Specified by:
getPage1Description in interface ISystemNewFilterWizardConfigurator

getPage2Title

public String getPage2Title()
Return the page title for page 2 (which prompts for the name and filter pool)

Specified by:
getPage2Title in interface ISystemNewFilterWizardConfigurator

getPage2Description

public String getPage2Description()
Return the description for page 2 (which prompts for the name and filter pool)

Specified by:
getPage2Description in interface ISystemNewFilterWizardConfigurator

getPage2HelpID

public String getPage2HelpID()
Return the help ID for page 2

Specified by:
getPage2HelpID in interface ISystemNewFilterWizardConfigurator

getPage2NameVerbiage

public String getPage2NameVerbiage()
Return the verbiage for the name prompt on page 2

Specified by:
getPage2NameVerbiage in interface ISystemNewFilterWizardConfigurator

getPage2PoolVerbiage

public String getPage2PoolVerbiage()
Return the verbiage for the name prompt on page 2

Specified by:
getPage2PoolVerbiage in interface ISystemNewFilterWizardConfigurator

getPage2PoolVerbiageTip

public String getPage2PoolVerbiageTip()
Return the verbiage tooltip for the name prompt on page 2

Specified by:
getPage2PoolVerbiageTip in interface ISystemNewFilterWizardConfigurator

getPage2NamePromptLabel

public String getPage2NamePromptLabel()
Description copied from interface: ISystemNewFilterWizardConfigurator
Return the label for the filter name prompt on page 2.

Specified by:
getPage2NamePromptLabel in interface ISystemNewFilterWizardConfigurator

getPage2NamePromptTooltip

public String getPage2NamePromptTooltip()
Description copied from interface: ISystemNewFilterWizardConfigurator
Return the tooltip for the filter name prompt on page 2.

Specified by:
getPage2NamePromptTooltip in interface ISystemNewFilterWizardConfigurator

getPage2PoolPromptLabel

public String getPage2PoolPromptLabel()
Description copied from interface: ISystemNewFilterWizardConfigurator
Return the label for the filter pool prompt on page 2.

Specified by:
getPage2PoolPromptLabel in interface ISystemNewFilterWizardConfigurator

getPage2PoolPromptTooltip

public String getPage2PoolPromptTooltip()
Description copied from interface: ISystemNewFilterWizardConfigurator
Return the label for the filter pool prompt on page 2.

Specified by:
getPage2PoolPromptTooltip in interface ISystemNewFilterWizardConfigurator

getPage2UniqueToConnectionLabel

public String getPage2UniqueToConnectionLabel()
Get the "Unique to this connection" checkbox label

Specified by:
getPage2UniqueToConnectionLabel in interface ISystemNewFilterWizardConfigurator

getPage2UniqueToConnectionToolTip

public String getPage2UniqueToConnectionToolTip()
Set the "Unique to this connection" checkbox tooltip

Specified by:
getPage2UniqueToConnectionToolTip in interface ISystemNewFilterWizardConfigurator

getPage3Title

public String getPage3Title()
Return the page title for page 3 (which shows 2 tips)

Specified by:
getPage3Title in interface ISystemNewFilterWizardConfigurator

getPage3Description

public String getPage3Description()
Return the description for page 3 (which shows 2 tips)

Specified by:
getPage3Description in interface ISystemNewFilterWizardConfigurator

getPage3Tip1

public String getPage3Tip1()
Return the description for page 3 (which shows 2 tips)

Specified by:
getPage3Tip1 in interface ISystemNewFilterWizardConfigurator

getPage3Tip2

public String getPage3Tip2()
Return the second tip on page 3

Specified by:
getPage3Tip2 in interface ISystemNewFilterWizardConfigurator

setPageTitle

public void setPageTitle(String pageTitle)
Set the default page title. Sometimes this is all you want to change and don't want to subclass.


setPage1Description

public void setPage1Description(String description)
Set the description for page 1


setPage2HelpID

public void setPage2HelpID(String helpId)
Set the help ID for page 2


setPage3Tip1

public void setPage3Tip1(String tip)
Set the first tip to show for page 3


setPage3Tip2

public void setPage3Tip2(String tip)
Set the second tip to show for page 3


RSE
Release 3.0

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