org.mockcentral.editor.nodes.fixture.wizard
Class EditSimpleJNDIBoundObjectWizard

java.lang.Object
  extended by org.eclipse.jface.wizard.Wizard
      extended by org.mockcentral.editor.nodes.expectation.part.wizard.EditSignaturePartWizard
          extended by org.mockcentral.editor.nodes.fixture.wizard.EditSimpleJNDIBoundObjectWizard
All Implemented Interfaces:
org.eclipse.jface.wizard.IWizard

public class EditSimpleJNDIBoundObjectWizard
extends EditSignaturePartWizard

An EditSignaturePartWizard used to create a simple (non-Mock) JNDI-bound Object for the current fixture.

Author:
David Hutchinson

Field Summary
 
Fields inherited from class org.mockcentral.editor.nodes.expectation.part.wizard.EditSignaturePartWizard
bean, canFinish
 
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE
 
Constructor Summary
EditSimpleJNDIBoundObjectWizard(java.lang.String operation, java.lang.String description, org.mockcentral.editor.nodes.fixture.FixtureNode fixtureNode, org.mockcentral.editor.nodes.fixture.SimpleBoundObjectModel model, org.mockcentral.editor.nodes.mockobject.IMockObjectDataManager jndiNameValidator, boolean loadSettings)
          Creates a new instance.
 
Method Summary
 void addPages()
           
 
Methods inherited from class org.mockcentral.editor.nodes.expectation.part.wizard.EditSignaturePartWizard
canFinish, getDescription, getDialog, getDialogSettingsManager, getFixtureNode, isAllowRefs, performFinish, setCanFinish, setDialog
 
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

EditSimpleJNDIBoundObjectWizard

public EditSimpleJNDIBoundObjectWizard(java.lang.String operation,
                                       java.lang.String description,
                                       org.mockcentral.editor.nodes.fixture.FixtureNode fixtureNode,
                                       org.mockcentral.editor.nodes.fixture.SimpleBoundObjectModel model,
                                       org.mockcentral.editor.nodes.mockobject.IMockObjectDataManager jndiNameValidator,
                                       boolean loadSettings)
Creates a new instance.

Parameters:
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.
model - the SimpleBoundObjectModel modeling the data.
jndiNameValidator - the IMockObjectDataValidator used to validate the JNDI name.
loadSettings - whether to load stored settings into the bean.
Method Detail

addPages

public void addPages()
Specified by:
addPages in interface org.eclipse.jface.wizard.IWizard
Overrides:
addPages in class EditSignaturePartWizard