|
RSE Release 3.3 |
|||||||||
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.SystemNewFilterWizardMainPage
public class SystemNewFilterWizardMainPage
Main page of the abstract "New Filter" wizard. This page's content is supplyable in the form of an "edit pane" which essentially is reponsible for the content area of the wizard, and which implements necessary minimal methods for this wizard to interact with it.
As per the design goals of the filter wizard, this page effectively only prompts to create a single new filter string. Thus, the edit pane needed is in fact the "new filter string" edit pane.
Field Summary | |
---|---|
protected String[] |
defaultFilterStrings
|
protected SystemFilterStringEditPane |
editPane
|
protected boolean |
firstVisit
|
protected String |
type
|
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
---|
ERROR, INFORMATION, NONE, WARNING |
Constructor Summary | |
---|---|
SystemNewFilterWizardMainPage(SystemNewFilterWizard wizard,
ISystemNewFilterWizardConfigurator data)
Constructor. |
|
SystemNewFilterWizardMainPage(SystemNewFilterWizard wizard,
SystemFilterStringEditPane editPane,
ISystemNewFilterWizardConfigurator data)
Constructor when unique edit pane supplied Uses the wizard page title as set in the overall wizard. |
Method Summary | |
---|---|
void |
backupChangedState()
Callback method. |
Control |
createContents(Composite parent)
CreateContents is the one method that must be overridden from the parent class. |
void |
filterStringChanged(SystemMessage message)
Callback method. |
protected SystemFilterStringEditPane |
getEditPane(Shell shell)
Overrride this if you want to supply your own edit pane for the filter string. |
Vector |
getFilterStrings()
Return the user-specified filter strings |
protected Control |
getInitialFocusControl()
Return the Control to be given initial focus. |
String |
getType()
Get the type of filter as set by setType(String) |
boolean |
performFinish()
Completes processing of the wizard. |
void |
restoreChangedState()
Callback method. |
void |
setDefaultFilterStrings(String[] defaultFilterStrings)
Supply the default set of filter strings this filter is to have. |
void |
setSystemFilterPoolReferenceManagerProvider(ISystemFilterPoolReferenceManagerProvider provider)
Set the contextual system filter pool reference manager provider. |
void |
setType(String type)
Set the type of filter we are creating. |
void |
setVisible(boolean visible)
This is called when a page is given focus or loses focus |
Methods inherited from class org.eclipse.rse.ui.wizards.AbstractSystemWizardPage |
---|
addFillerLine, addGrowableFillerLine, addSeparatorLine, applyMnemonics, clearErrorMessage, clearMessage, createControl, dispose, getHelpContextId, getInputObject, getMessageLine, getSystemErrorMessage, setErrorMessage, setErrorMessage, setErrorMessage, setFocus, setHelp, setInputObject, setMessage, setMessage, setMessage |
Methods inherited from class org.eclipse.jface.wizard.WizardPage |
---|
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setImageDescriptor, setPageComplete, setPreviousPage, setTitle, setWizard, toString |
Methods inherited from class org.eclipse.jface.dialogs.DialogPage |
---|
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, 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.messages.ISystemMessageLine |
---|
getErrorMessage, getMessage |
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage |
---|
getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp |
Field Detail |
---|
protected SystemFilterStringEditPane editPane
protected String type
protected String[] defaultFilterStrings
protected boolean firstVisit
Constructor Detail |
---|
public SystemNewFilterWizardMainPage(SystemNewFilterWizard wizard, ISystemNewFilterWizardConfigurator data)
wizard
- - the parent new filter wizarddata
- - configurable mri datapublic SystemNewFilterWizardMainPage(SystemNewFilterWizard wizard, SystemFilterStringEditPane editPane, ISystemNewFilterWizardConfigurator data)
wizard
- - the parent new filter wizardeditPane
- - the edit pane that prompts the user for a single filter stringdata
- - configurable mri dataMethod Detail |
---|
public void setSystemFilterPoolReferenceManagerProvider(ISystemFilterPoolReferenceManagerProvider provider)
Will be non-null if the current selection is a reference to a filter pool or filter, or a reference manager provider.
This is not used by default but made available for subclasses.
protected SystemFilterStringEditPane getEditPane(Shell shell)
public Control createContents(Composite parent)
createContents
in class AbstractSystemWizardPage
SystemWidgetHelpers
public boolean performFinish()
performFinish
in interface ISystemWizardPage
performFinish
in class AbstractSystemWizardPage
protected Control getInitialFocusControl()
getInitialFocusControl
in class AbstractSystemWizardPage
public Vector getFilterStrings()
public String getType()
setType(String)
public void setType(String type)
public void setDefaultFilterStrings(String[] defaultFilterStrings)
public void filterStringChanged(SystemMessage message)
filterStringChanged
in interface ISystemFilterStringEditPaneListener
public void backupChangedState()
backupChangedState
in interface ISystemFilterStringEditPaneListener
public void restoreChangedState()
restoreChangedState
in interface ISystemFilterStringEditPaneListener
public void setVisible(boolean visible)
setVisible
in interface IDialogPage
setVisible
in class AbstractSystemWizardPage
|
RSE Release 3.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |