org.mockcentral.editor.nodes.expectation.part.wizard
Class SelectSignaturePartTypePage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.mockcentral.editor.nodes.expectation.part.wizard.SelectSignaturePartTypePage
- All Implemented Interfaces:
- org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage
public class SelectSignaturePartTypePage
- extends org.eclipse.jface.wizard.WizardPage
The WizardPage for an EditSignaturePartWizard used
to display the controls for editing a SignaturePartBean
instance. This page provides a read-only Combo to select the
value type and provides a StackLayout used to display the
various AbstractFieldEditor instances used to edit the value
class name and value fields (as appropriate).
- Author:
- David Hutchinson
| Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
ERROR, INFORMATION, NONE, WARNING |
| Methods inherited from class org.eclipse.jface.wizard.WizardPage |
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, 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, setMessage |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage |
dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp |
SelectSignaturePartTypePage
public SelectSignaturePartTypePage(EditSignaturePartWizard wizard,
org.mockcentral.server.SignaturePartBean bean)
- Creates a new instance.
- Parameters:
wizard - the EditSignaturePartWizard.bean - the SignaturePartBean.
createControl
public void createControl(org.eclipse.swt.widgets.Composite parent)
setVisible
public void setVisible(boolean visible)
- Specified by:
setVisible in interface org.eclipse.jface.dialogs.IDialogPage- Overrides:
setVisible in class org.eclipse.jface.dialogs.DialogPage
setErrorMessage
public void setErrorMessage(java.lang.String s)
- Overrides:
setErrorMessage in class org.eclipse.jface.wizard.WizardPage
getWizard
public EditSignaturePartWizard getWizard()
- Specified by:
getWizard in interface org.eclipse.jface.wizard.IWizardPage- Overrides:
getWizard in class org.eclipse.jface.wizard.WizardPage
getCurrentEditor
protected AbstractFieldEditor getCurrentEditor()
- Returns the currently displayed
AbstractFieldEditor.
- Returns:
- the currently displayed
AbstractFieldEditor.
showEditor
protected void showEditor(org.mockcentral.server.ValueType newValueType)
- Shows the
AbstractFieldEditor appropriate for editing the
supplied ValueType. If the argument is null, the type of the
current SignaturePartBean is used.