|
RSE Release 3.4 |
|||||||||
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.preference.PreferencePage
org.eclipse.ui.dialogs.PropertyPage
org.eclipse.rse.ui.propertypages.SystemBasePropertyPage
org.eclipse.rse.ui.propertypages.SystemFilterStringPropertyPage
public class SystemFilterStringPropertyPage
The property page for filter string properties. This is an output-only page. The plugin.xml file registers this for objects of class org.eclipse.rse.internal.filters.SystemFilterString
Field Summary | |
---|---|
protected Composite |
composite_prompts
|
protected SystemMessage |
dupeFilterStringMessage
|
protected boolean |
editable
|
protected SystemFilterStringEditPane |
editPane
|
protected SystemMessage |
errorMessage
|
protected ISystemValidator |
filterStringValidator
|
protected boolean |
initDone
|
protected Label |
labelFilter
|
protected Label |
labelFilterPool
|
protected Label |
labelProfile
|
protected Label |
labelType
|
protected ResourceBundle |
rb
|
Fields inherited from class org.eclipse.rse.ui.propertypages.SystemBasePropertyPage |
---|
buttonsComposite, contentArea, msgLine, msgLineSet |
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
---|
ERROR, INFORMATION, NONE, WARNING |
Constructor Summary | |
---|---|
SystemFilterStringPropertyPage()
Constructor |
Method Summary | |
---|---|
void |
backupChangedState()
Callback method. |
protected Control |
createContentArea(Composite parent)
Create the page's GUI contents. |
protected void |
doInitializeFields()
Initialize values of input fields based on input |
void |
filterStringChanged(SystemMessage message)
Callback method. |
protected ISystemFilterString |
getFilterString()
Get the input filter string object |
boolean |
performOk()
Called by parent when user presses OK |
void |
restoreChangedState()
Callback method. |
void |
setDuplicateFilterStringErrorMessage(SystemMessage msg)
Configuration method Set the error message to use when the user is editing or creating a filter string, and the Apply processing detects a duplicate filter string in the list. |
void |
setEditable(boolean editable)
Set if the edit pane is not to be editable |
void |
setFilterStringEditPane(SystemFilterStringEditPane editPane)
Configuration method Specify an edit pane that prompts the user for the contents of a filter string. |
void |
setFilterStringValidator(ISystemValidator v)
Configuration method Call this to specify a validator for the filter string. |
void |
setSystemFilterPoolManagerProvider(ISystemFilterPoolManagerProvider provider)
Configuration method Set the contextual system filter pool manager provider. |
void |
setSystemFilterPoolReferenceManagerProvider(ISystemFilterPoolReferenceManagerProvider provider)
Configuration method Set the contextual system filter pool reference manager provider. |
protected boolean |
verifyPageContents()
From parent: do full page validation |
Methods inherited from class org.eclipse.rse.ui.propertypages.SystemBasePropertyPage |
---|
addFillerLine, addSeparatorLine, clearErrorMessage, clearMessage, configureMessageLine, contributeButtons, createContents, createLabeledCombo, createLabeledLabel, createLabeledText, createLabeledVerbiage, getMessageLine, getSystemErrorMessage, grabExcessSpace, okToLeave, setBusyCursor, setErrorMessage, setErrorMessage, setErrorMessage, setHelp, setMessage, setMessage, setMessageLine, wantAutomaticValidManagement, wantDefaultAndApplyButton, wantMnemonics |
Methods inherited from class org.eclipse.ui.dialogs.PropertyPage |
---|
getElement, setElement |
Methods inherited from class org.eclipse.jface.preference.PreferencePage |
---|
applyData, applyDialogFont, computeSize, createControl, createDescriptionLabel, createNoteComposite, doComputeSize, doGetPreferenceStore, getApplyButton, getContainer, getDefaultsButton, getPreferenceStore, isValid, noDefaultAndApplyButton, performApply, performCancel, performDefaults, performHelp, setContainer, setMessage, setPreferenceStore, setSize, setTitle, setValid, toString, updateApplyButton |
Methods inherited from class org.eclipse.jface.dialogs.DialogPage |
---|
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getImage, getMessage, getMessageType, getShell, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, setButtonLayoutData, setControl, setDescription, setImageDescriptor, setVisible |
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.preference.IPreferencePage |
---|
computeSize, isValid, performCancel, setContainer, setSize |
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage |
---|
createControl, dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible |
Field Detail |
---|
protected Label labelType
protected Label labelFilter
protected Label labelFilterPool
protected Label labelProfile
protected SystemFilterStringEditPane editPane
protected ISystemValidator filterStringValidator
protected SystemMessage dupeFilterStringMessage
protected boolean editable
protected Composite composite_prompts
protected SystemMessage errorMessage
protected ResourceBundle rb
protected boolean initDone
Constructor Detail |
---|
public SystemFilterStringPropertyPage()
Method Detail |
---|
public void setFilterStringEditPane(SystemFilterStringEditPane editPane)
public void setSystemFilterPoolReferenceManagerProvider(ISystemFilterPoolReferenceManagerProvider provider)
This is passed into the filter and filter string wizards and dialogs in case it is needed for context.
public void setSystemFilterPoolManagerProvider(ISystemFilterPoolManagerProvider provider)
This is passed into the filter and filter string wizards and dialogs in case it is needed for context.
public void setFilterStringValidator(ISystemValidator v)
Your validator should extend ValidatorFilterString to inherited the uniqueness error checking.
Alternatively, if all you want is a unique error message for the case when duplicates are found, call setDuplicateFilterStringErrorMessage, and it will be used in the default validator.
public void setDuplicateFilterStringErrorMessage(SystemMessage msg)
public void setEditable(boolean editable)
protected Control createContentArea(Composite parent)
createContentArea
in class SystemBasePropertyPage
PreferencePage.createContents(Composite)
protected boolean verifyPageContents()
verifyPageContents
in class SystemBasePropertyPage
protected ISystemFilterString getFilterString()
protected void doInitializeFields()
public boolean performOk()
performOk
in interface IPreferencePage
performOk
in class SystemBasePropertyPage
public void filterStringChanged(SystemMessage message)
ISystemFilterStringEditPaneListener
filterStringChanged
in interface ISystemFilterStringEditPaneListener
public void backupChangedState()
ISystemFilterStringEditPaneListener
backupChangedState
in interface ISystemFilterStringEditPaneListener
public void restoreChangedState()
ISystemFilterStringEditPaneListener
restoreChangedState
in interface ISystemFilterStringEditPaneListener
|
RSE Release 3.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |