org.mockcentral.editor.nodes.mockobject.wizard
Class EditMockObjectWizardDialogSettingsManager

java.lang.Object
  extended by org.mockcentral.editor.wizards.WizardDialogSettingsManager
      extended by org.mockcentral.editor.nodes.mockobject.wizard.EditMockObjectWizardDialogSettingsManager

public class EditMockObjectWizardDialogSettingsManager
extends WizardDialogSettingsManager

WizardDialogSettingsManager class preserving settings for use with the EditMockObjectWizard.

Author:
David Hutchinson

Field Summary
 
Fields inherited from class org.mockcentral.editor.wizards.WizardDialogSettingsManager
dialog, DIALOG_HEIGHT, DIALOG_LOCATION_SETTINGS, DIALOG_LOCATION_X, DIALOG_LOCATION_Y, DIALOG_SIZE_SETTINGS, DIALOG_WIDTH, settings
 
Constructor Summary
EditMockObjectWizardDialogSettingsManager(org.eclipse.jface.wizard.WizardDialog dialog)
          Creates a new instance.
 
Method Summary
protected  void loadSettings(org.mockcentral.editor.nodes.mockobject.MockObjectDataBean bean, boolean loadInterfaceName)
          Loads the IDialogSettings into this instance and sets values on the supplied MockObjectDataBean.
protected  void storeSettings(org.mockcentral.editor.nodes.mockobject.MockObjectDataBean bean)
          Stores the IDialogSettings for the wizard.
 
Methods inherited from class org.mockcentral.editor.wizards.WizardDialogSettingsManager
getBooleanSetting, getDialogLocation, getDialogSize, getInitialDialogLocation, getInitialDialogSize, getStringSetting, loadSettings, storeSizeAndLocationSettings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditMockObjectWizardDialogSettingsManager

public EditMockObjectWizardDialogSettingsManager(org.eclipse.jface.wizard.WizardDialog dialog)
Creates a new instance.

Parameters:
dialog - the WizardDialog.
Method Detail

loadSettings

protected void loadSettings(org.mockcentral.editor.nodes.mockobject.MockObjectDataBean bean,
                            boolean loadInterfaceName)
Loads the IDialogSettings into this instance and sets values on the supplied MockObjectDataBean.

Parameters:
bean - the code>MockObjectDataBean preserving wizard data.
loadInterfaceName - whether the bean's interface value should be set to a stored setting.

storeSettings

protected void storeSettings(org.mockcentral.editor.nodes.mockobject.MockObjectDataBean bean)
Stores the IDialogSettings for the wizard.

Parameters:
bean - the code>MockObjectDataBean preserving wizard data.