|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jface.wizard.Wizard
org.mockcentral.editor.nodes.expectation.wizard.EditExpectationWizard
public class EditExpectationWizard
A Wizard used for editing Mock Object method expecttion data,
including the method name and Mock Object method type. This wizard contains a
single EditExpectationDataPage.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.jface.wizard.Wizard |
|---|
DEFAULT_IMAGE |
| Constructor Summary | |
|---|---|
EditExpectationWizard(org.mockcentral.editor.nodes.expectation.ExpectationModel model,
org.mockcentral.editor.nodes.expectation.MethodNameValidator methodNamevalidator,
boolean isNewExpectation)
Creates a new instance. |
|
| Method Summary | |
|---|---|
void |
addPages()
|
boolean |
canFinish()
|
EditExpectationWizardDialogSettingsManager |
getDialogSettingsManager()
Returns the EditExpectationWizardDialogSettingsManager. |
org.mockcentral.editor.nodes.expectation.ExpectationModel |
getModel()
Returns the ExpectationElementDataBean. |
boolean |
performFinish()
|
protected void |
setCanFinish(boolean canFinish)
Sets the flag for whether this wizard can finish. |
protected void |
setDialog(EditExpectationWizardDialog dialog)
Sets the EditExpectationWizardDialog. |
| Methods inherited from class org.eclipse.jface.wizard.Wizard |
|---|
addPage, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EditExpectationWizard(org.mockcentral.editor.nodes.expectation.ExpectationModel model,
org.mockcentral.editor.nodes.expectation.MethodNameValidator methodNamevalidator,
boolean isNewExpectation)
model - the ExpectationModel containing the Mock Object
method data.methodNamevalidator - the MethodNameValidator used to
ensure a valid method name.isNewExpectation - a flag for whether this wizard is editing new
Mock Object method expectation data.| Method Detail |
|---|
public org.mockcentral.editor.nodes.expectation.ExpectationModel getModel()
ExpectationElementDataBean.
ExpectationElementDataBean.public EditExpectationWizardDialogSettingsManager getDialogSettingsManager()
EditExpectationWizardDialogSettingsManager.
EditExpectationWizardDialogSettingsManager.public boolean performFinish()
performFinish in interface org.eclipse.jface.wizard.IWizardperformFinish in class org.eclipse.jface.wizard.Wizardpublic boolean canFinish()
canFinish in interface org.eclipse.jface.wizard.IWizardcanFinish in class org.eclipse.jface.wizard.Wizardpublic void addPages()
addPages in interface org.eclipse.jface.wizard.IWizardaddPages in class org.eclipse.jface.wizard.Wizardprotected void setDialog(EditExpectationWizardDialog dialog)
EditExpectationWizardDialog. If a new expectation is
being edited, this method loads a stored setting from the
EditExpectationWizardDialogSettingsManager for the Mock
Object method type.
dialog - the EditExpectationWizardDialog.protected void setCanFinish(boolean canFinish)
canFinish - the flag for whether this wizard can finish.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||