|
||||||||||
| 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.part.wizard.EditSignaturePartWizard
public class EditSignaturePartWizard
The Wizard class used for editing SignaturePartBean
data.
| Field Summary | |
|---|---|
protected org.mockcentral.server.SignaturePartBean |
bean
The SignaturePartBean modeling the data under edit. |
protected boolean |
canFinish
The value for whether the wizard can finish. |
| Fields inherited from class org.eclipse.jface.wizard.Wizard |
|---|
DEFAULT_IMAGE |
| Constructor Summary | |
|---|---|
EditSignaturePartWizard(java.lang.String operation,
java.lang.String description,
org.mockcentral.editor.nodes.fixture.FixtureNode fixtureNode,
org.mockcentral.server.SignaturePartBean bean,
boolean loadSettings,
boolean allowRefs)
Creates a new instance. |
|
| Method Summary | |
|---|---|
void |
addPages()
|
boolean |
canFinish()
|
protected java.lang.String |
getDescription()
Returns the description of the Object being edited, which will be a method parameter, expected result or simple (non-Mock) JNDI-bound Object. |
protected EditSignaturePartWizardDialog |
getDialog()
Returns the EditSignaturePartWizardDialog. |
protected EditSignaturepartWizardDialogSettingsManager |
getDialogSettingsManager()
Returns the EditSignaturepartWizardDialogSettingsManager
used to store and retrieve dialog settings. |
protected org.mockcentral.editor.nodes.fixture.FixtureNode |
getFixtureNode()
Returns the enclosing FixtureNode. |
protected boolean |
isAllowRefs()
Returns whether the user can select ValueType.MOCK_OBJECT to
set the value type. |
boolean |
performFinish()
|
protected void |
setCanFinish(boolean canFinish)
Sets the value for whether the wizard can finish, updates the button bar. |
protected void |
setDialog(EditSignaturePartWizardDialog dialog)
Sets the EditSignaturePartWizardDialog. |
| 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 |
| Field Detail |
|---|
protected org.mockcentral.server.SignaturePartBean bean
SignaturePartBean modeling the data under edit.
protected boolean canFinish
| Constructor Detail |
|---|
public EditSignaturePartWizard(java.lang.String operation,
java.lang.String description,
org.mockcentral.editor.nodes.fixture.FixtureNode fixtureNode,
org.mockcentral.server.SignaturePartBean bean,
boolean loadSettings,
boolean allowRefs)
operation - the operation for the Wizard (indicating
whether the user is editing or creating new data).description - the description of the Object being edited. This will
be a method parameter, expected result or simple (non-Mock) JNDI-bound
Object.fixtureNode - the enclosing FixtureNode.bean - the SignaturePartBean modeling the data.loadSettings - whether to load stored settings into the bean.allowRefs - whether the user can select
ValueType.MOCK_OBJECT to set the value type.| Method Detail |
|---|
public void addPages()
addPages in interface org.eclipse.jface.wizard.IWizardaddPages in class org.eclipse.jface.wizard.Wizardpublic boolean canFinish()
canFinish in interface org.eclipse.jface.wizard.IWizardcanFinish in class org.eclipse.jface.wizard.Wizardpublic boolean performFinish()
performFinish in interface org.eclipse.jface.wizard.IWizardperformFinish in class org.eclipse.jface.wizard.Wizardprotected org.mockcentral.editor.nodes.fixture.FixtureNode getFixtureNode()
FixtureNode.
FixtureNode.protected boolean isAllowRefs()
ValueType.MOCK_OBJECT to
set the value type.
ValueType.MOCK_OBJECT to
set the value type.protected EditSignaturepartWizardDialogSettingsManager getDialogSettingsManager()
EditSignaturepartWizardDialogSettingsManager
used to store and retrieve dialog settings.
EditSignaturepartWizardDialogSettingsManager
used to store and retrieve dialog settings.protected void setCanFinish(boolean canFinish)
canFinish - whether the wizard can finish.protected java.lang.String getDescription()
protected void setDialog(EditSignaturePartWizardDialog dialog)
EditSignaturePartWizardDialog.
dialog - the EditSignaturePartWizardDialog.protected EditSignaturePartWizardDialog getDialog()
EditSignaturePartWizardDialog.
EditSignaturePartWizardDialog.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||