org.mockcentral.editor.nodes.expectation.part.wizard
Class EditSignaturepartWizardDialogSettingsManager
java.lang.Object
org.mockcentral.editor.wizards.WizardDialogSettingsManager
org.mockcentral.editor.nodes.expectation.part.wizard.EditSignaturepartWizardDialogSettingsManager
public class EditSignaturepartWizardDialogSettingsManager
- extends WizardDialogSettingsManager
A utility class used to manage storage and retrieval of dialog settings for
the EditSignaturePartWizard and related classes.
- Author:
- David Hutchinson
|
Method Summary |
protected void |
loadModelSettings()
Loads any stored settings for the bean's value class name and value
fields based on what its value type is. |
protected void |
loadModelSettings(org.mockcentral.server.ValueType valueType)
Checks for any stored valueClassName and value settings for the supplied
ValueType; if found, the SignaturepartBean
modeling the data is updated. |
protected void |
storeSizeAndLocationSettings()
Stores dialog size and location as well as settings from the current
SignaturepartBean. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EditSignaturepartWizardDialogSettingsManager
public EditSignaturepartWizardDialogSettingsManager(org.eclipse.jface.wizard.WizardDialog dialog,
org.mockcentral.server.SignaturePartBean bean,
boolean loadSettings)
- Creates a new instance.
- Parameters:
dialog - the EditSignaturePartWizardDialog.bean - the SignaturePartBean being edited.loadSettings - whether the stored settings should be loaded or not.
loadModelSettings
protected void loadModelSettings()
- Loads any stored settings for the bean's value class name and value
fields based on what its value type is.
loadModelSettings
protected void loadModelSettings(org.mockcentral.server.ValueType valueType)
- Checks for any stored valueClassName and value settings for the supplied
ValueType; if found, the SignaturepartBean
modeling the data is updated.
- Parameters:
valueType - the current ValueType selected by the user.
storeSizeAndLocationSettings
protected void storeSizeAndLocationSettings()
- Stores dialog size and location as well as settings from the current
SignaturepartBean.
- Overrides:
storeSizeAndLocationSettings in class WizardDialogSettingsManager