|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectWizardPage
com.ibm.etools.systems.core.ui.wizards.AbstractSystemWizardPage
com.ibm.etools.systems.filters.ui.dialogs.SystemNewFilterWizardNamePage
Second page of the New Filter wizard that prompts for the name of the filter.
Field Summary | |
---|---|
protected boolean |
contentsCreated
|
static String |
copyright
|
protected SystemMessage |
errorMessage
|
protected ISystemFilterPoolSelectionValidator |
filterPoolSelectionValidator
|
protected boolean |
ignoreChanges
|
protected String |
inputFilterName
|
protected Text |
nameText
|
protected ISystemValidator |
nameValidator
|
protected ISystemValidator[] |
nameValidators
|
protected SystemFilterPool |
parentPool
|
protected Combo |
poolCombo
|
protected Label |
poolComboLabel
|
protected SystemFilterPool[] |
poolsToSelectFrom
|
protected Label |
poolVerbage
|
protected Combo |
poolWrapperCombo
|
protected ISystemFilterPoolWrapperInformation |
poolWrapperInformation
|
protected ISystemFilterPoolWrapper[] |
poolWrappers
|
protected Button |
uniqueCB
|
protected boolean |
userEditedName
|
Constructor Summary | |
---|---|
SystemNewFilterWizardNamePage(SystemNewFilterWizard wizard,
SystemFilterPool parentPool,
ISystemNewFilterWizardConfigurator data)
Constructor. |
Method Summary | |
---|---|
Control |
createContents(Composite parent)
Populate the dialog area with our widgets. |
String |
getFilterName()
Return name of filter Call this after finish ends successfully. |
protected Control |
getInitialFocusControl()
Return the Control to be given initial focus. |
SystemFilterPool |
getParentSystemFilterPool()
Return the filter pool that was explicitly chosen by the user, or implicitly set by the caller. |
boolean |
getUniqueToThisConnection()
Return the user's decision whether to create this filter uniquely for this connection, or for all applicable connections. |
boolean |
isPageComplete()
Return true if the page is complete, so to enable Finish. |
boolean |
performFinish()
Completes processing of the wizard. |
void |
setAllowFilterPoolSelection(ISystemFilterPoolWrapperInformation poolWrappersToSelectFrom,
ISystemValidator[] nameValidators)
This is an alternative to setAllowFilterPoolSelection(SystemFilterPool[], ISystemValidator[])
If you want to prompt the user for the parent filter pool to create this filter in,
but want to not use the term "pool" say, you can use an array of euphamisms. |
void |
setAllowFilterPoolSelection(SystemFilterPool[] poolsToSelectFrom,
ISystemValidator[] nameValidators)
Call if you want to allow the user to select the filter pool to create this filter in. |
void |
setFilterName(String filterName)
Set the filter name to default the entry field to |
void |
setFilterNameValidator(ISystemValidator nameValidator)
Set the validator to use to verify the filter name is correct |
void |
setFilterPoolSelectionValidator(ISystemFilterPoolSelectionValidator validator)
Set the validator to call when the user selects a filter pool. |
void |
setPageComplete()
Inform caller of page-complete status of this page |
void |
setVisible(boolean visible)
This is called when a page is given focus or loses focus |
protected SystemMessage |
validateNameInput()
This hook method is called whenever the text changes in the filter name input field. |
SystemMessage |
verify()
Verify all contents |
void |
widgetDefaultSelected(SelectionEvent e)
User has selected something and pressed Enter |
void |
widgetSelected(SelectionEvent e)
User has selected something |
Methods inherited from class com.ibm.etools.systems.core.ui.wizards.AbstractSystemWizardPage |
---|
addFillerLine, addGrowableFillerLine, addSeparatorLine, applyMnemonics, clearErrorMessage, clearMessage, createControl, getHelpContextId, getInputObject, getMessageLine, getSystemErrorMessage, setBusyCursor, setErrorMessage, setErrorMessage, setErrorMessage, setFocus, setHelp, setHelp, setInputObject, setMessage, setMessage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.etools.systems.core.ui.messages.ISystemMessageLine |
---|
getErrorMessage, getMessage |
Field Detail |
public static final String copyright
protected Text nameText
protected Button uniqueCB
protected Label poolVerbage
protected Label poolComboLabel
protected Combo poolWrapperCombo
protected Combo poolCombo
protected SystemMessage errorMessage
protected String inputFilterName
protected boolean contentsCreated
protected boolean userEditedName
protected boolean ignoreChanges
protected ISystemValidator nameValidator
protected ISystemValidator[] nameValidators
protected ISystemFilterPoolSelectionValidator filterPoolSelectionValidator
protected SystemFilterPool[] poolsToSelectFrom
protected ISystemFilterPoolWrapper[] poolWrappers
protected ISystemFilterPoolWrapperInformation poolWrapperInformation
protected SystemFilterPool parentPool
Constructor Detail |
public SystemNewFilterWizardNamePage(SystemNewFilterWizard wizard, SystemFilterPool parentPool, ISystemNewFilterWizardConfigurator data)
Method Detail |
public void setFilterName(String filterName)
public void setFilterNameValidator(ISystemValidator nameValidator)
public void setAllowFilterPoolSelection(SystemFilterPool[] poolsToSelectFrom, ISystemValidator[] nameValidators)
public void setAllowFilterPoolSelection(ISystemFilterPoolWrapperInformation poolWrappersToSelectFrom, ISystemValidator[] nameValidators)
setAllowFilterPoolSelection(SystemFilterPool[], ISystemValidator[])
If you want to prompt the user for the parent filter pool to create this filter in, but want to not use the term "pool" say, you can use an array of euphamisms. That is, you can pass an array of objects that map to filter pools, but have a different display name that is shown in the dropdown.
Of course, if you want to do this, then you will likely want to offer a different label and tooltip for the prompt, and different verbage above the prompt. The object this method accepts as a parameter encapsulates all that information, and there is a default class you can use for this.
public void setFilterPoolSelectionValidator(ISystemFilterPoolSelectionValidator validator)
public Control createContents(Composite parent)
createContents
in class AbstractSystemWizardPage
SystemWidgetHelpers
protected Control getInitialFocusControl()
getInitialFocusControl
in class AbstractSystemWizardPage
public boolean performFinish()
performFinish
in interface ISystemWizardPage
performFinish
in class AbstractSystemWizardPage
public boolean isPageComplete()
public void setPageComplete()
public void widgetSelected(SelectionEvent e)
public void widgetDefaultSelected(SelectionEvent e)
public SystemMessage verify()
protected SystemMessage validateNameInput()
public String getFilterName()
public SystemFilterPool getParentSystemFilterPool()
public boolean getUniqueToThisConnection()
public void setVisible(boolean visible)
setVisible
in class AbstractSystemWizardPage
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |