|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.eclipse.rse.ui.wizards.AbstractSystemWizardPage
org.eclipse.rse.ui.filters.dialogs.SystemFilterNewFilterPoolWizardDefaultMainPage
Default main page of the "New Filter Pool" wizard. This page asks for the name of the connection pool. Also allows user to select from a list of filter pool managers to put the filter pool into.
| Field Summary | |
|---|---|
protected Label |
labelMgr
|
protected Label |
labelName
|
protected Combo |
mgrCombo
|
protected String[] |
mgrNames
|
protected int |
mgrSelection
|
protected SystemFilterAbstractFilterPoolAction |
parentWizardAction
|
protected Text |
textName
|
protected ISystemValidator[] |
validatorsByManager
|
| Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
|---|
ERROR, INFORMATION, NONE, WARNING |
| Constructor Summary | |
|---|---|
SystemFilterNewFilterPoolWizardDefaultMainPage(Wizard wizard,
String title,
String description)
Constructor. |
|
| Method Summary | |
|---|---|
Control |
createContents(Composite parent)
CreateContents is the one method that must be overridden from the parent class. |
SystemFilterPoolDialogOutputs |
getFilterPoolDialogOutputs()
Return an object containing user-specified information pertinent to filter pool actions |
protected String[] |
getFilterPoolManagerNames()
Returns array of manager names to show in combo box. |
protected int |
getFilterPoolManagerNameSelectionIndex()
Returns the zero-based index of the manager name to preselect. |
Control |
getInitialFocusControl()
Return control to recieve initial focus |
String |
getPoolManagerName()
Return user-selected pool manager name. |
protected String |
getPoolManagerPromptText()
Retrieve the pool manager combo prompt text. |
protected String |
getPoolManagerToolTip()
Retrieve the pool manager combo field tooltip text. |
String |
getPoolName()
Return user-entered pool name. |
protected String |
getPoolNamePromptText()
Retrieve the pool name entry field prompt text. |
protected String |
getPoolNameToolTip()
Retrieve the pool name entry field tooltip text. |
void |
handleEvent(Event e)
Handles events generated by controls on this page. |
boolean |
performFinish()
Completes processing of the wizard. |
void |
setFilterPoolManagerNameSelectionIndex(int index)
Set the zero-based index of the manager name to preselect. |
void |
setFilterPoolManagers(ISystemFilterPoolManager[] mgrs)
Call this to specify the list of filter pool managers to allow the user to select from. |
void |
setNameValidator(ISystemValidator v)
Call this to specify a validator for the pool name. |
void |
setNameValidators(ISystemValidator[] v)
Even if you call setFilterPoolManagers and you really want your own validators, then call this. |
protected void |
setPoolNameTextLimit(int mgrIndex)
Set the name length for the filter pool based on the currently selected manager |
protected SystemMessage |
validateNameInput()
This hook method is called whenever the text changes in the input field. |
void |
widgetDefaultSelected(SelectionEvent event)
Combo selection listener method |
void |
widgetSelected(SelectionEvent event)
Combo selection listener method |
| Methods inherited from class org.eclipse.rse.ui.wizards.AbstractSystemWizardPage |
|---|
addFillerLine, addGrowableFillerLine, addSeparatorLine, applyMnemonics, clearErrorMessage, clearMessage, createControl, getHelpContextId, getInputObject, getMessageLine, getSystemErrorMessage, setBusyCursor, setErrorMessage, setErrorMessage, setErrorMessage, setFocus, setHelp, setHelp, setInputObject, setMessage, setMessage, setVisible |
| Methods inherited from class org.eclipse.jface.wizard.WizardPage |
|---|
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString |
| Methods inherited from class org.eclipse.jface.dialogs.DialogPage |
|---|
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.rse.ui.wizards.ISystemWizardPage |
|---|
getHelpContextId, getInputObject, setHelp, setInputObject |
| Methods inherited from interface org.eclipse.rse.ui.messages.ISystemMessageLine |
|---|
getErrorMessage, getMessage |
| Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage |
|---|
dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp |
| Field Detail |
protected Label labelName
protected Label labelMgr
protected Text textName
protected Combo mgrCombo
protected int mgrSelection
protected String[] mgrNames
protected ISystemValidator[] validatorsByManager
protected SystemFilterAbstractFilterPoolAction parentWizardAction
| Constructor Detail |
public SystemFilterNewFilterPoolWizardDefaultMainPage(Wizard wizard,
String title,
String description)
| Method Detail |
public void setNameValidator(ISystemValidator v)
setNameValidator in interface SystemFilterNewFilterPoolWizardMainPageInterfacepublic void setNameValidators(ISystemValidator[] v)
setNameValidators in interface SystemFilterNewFilterPoolWizardMainPageInterfacepublic void setFilterPoolManagers(ISystemFilterPoolManager[] mgrs)
setFilterPoolManagers in interface SystemFilterNewFilterPoolWizardMainPageInterfaceprotected String[] getFilterPoolManagerNames()
public void setFilterPoolManagerNameSelectionIndex(int index)
setFilterPoolManagerNameSelectionIndex in interface SystemFilterNewFilterPoolWizardMainPageInterfaceprotected int getFilterPoolManagerNameSelectionIndex()
protected String getPoolNamePromptText()
protected String getPoolNameToolTip()
protected String getPoolManagerPromptText()
protected String getPoolManagerToolTip()
public Control createContents(Composite parent)
createContents in class AbstractSystemWizardPageparent - The parent compositeSystemWidgetHelperspublic Control getInitialFocusControl()
getInitialFocusControl in class AbstractSystemWizardPagepublic void widgetDefaultSelected(SelectionEvent event)
widgetDefaultSelected in interface SelectionListenerpublic void widgetSelected(SelectionEvent event)
widgetSelected in interface SelectionListenerpublic void handleEvent(Event e)
handleEvent in interface Listenerpublic boolean performFinish()
performFinish in interface ISystemWizardPageperformFinish in class AbstractSystemWizardPageprotected SystemMessage validateNameInput()
ISystemValidator object.
If the ISystemValidator reports an error the error message is displayed
in the Dialog's message line.
setNameValidator(ISystemValidator)protected void setPoolNameTextLimit(int mgrIndex)
public String getPoolName()
getPoolName in interface SystemFilterNewFilterPoolWizardMainPageInterfacepublic String getPoolManagerName()
getPoolManagerName in interface SystemFilterNewFilterPoolWizardMainPageInterfacepublic SystemFilterPoolDialogOutputs getFilterPoolDialogOutputs()
getFilterPoolDialogOutputs in interface SystemFilterNewFilterPoolWizardMainPageInterface
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||