com.ibm.rational.test.lt.testgen.ui.wizards
Class NewTestGeneratorWizard
java.lang.Object
org.eclipse.jface.wizard.Wizard
com.ibm.rational.test.lt.recorder.ui.wizards.SubWizard
com.ibm.rational.test.lt.testgen.ui.wizards.NewTestGeneratorWizard
- All Implemented Interfaces:
- IWizard, INewWizard, IWorkbenchWizard
public abstract class NewTestGeneratorWizard
- extends SubWizard
- implements INewWizard
Base class for implementing a test generator wizard. Test Generator wizards are embedded
in the "Generate Test" wizards and interacts with the user for collecting options about
a specific test generator.
Methods inherited from class org.eclipse.jface.wizard.Wizard |
addPage, addPages, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, 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 |
Methods inherited from interface org.eclipse.jface.wizard.IWizard |
addPages, canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, performFinish, setContainer |
NewTestGeneratorWizard
public NewTestGeneratorWizard()
initialize
public void initialize(TestGeneratorConfiguration configuration,
ITestGenerationWizardContext context)
- Initializes the wizard with the given test generator configuration. The wizard
may modify this configuration. It will returned in
NewTestGeneratorWizard.getTestGeneratorConfiguration()
.
- Parameters:
configuration
-
getContext
protected final ITestGenerationWizardContext getContext()
- Returns context information about this wizard.
- Returns:
- context information about this wizard.
getTestGeneratorConfiguration
public final TestGeneratorConfiguration getTestGeneratorConfiguration()
- Returns the configuration, filled from the user input. This method is
invoked only when
SubWizard.canFinish()
returns true
.
- Returns:
getAdditionalPacketConverters
public final List<PacketConverterConfiguration> getAdditionalPacketConverters()
- Returns the configurations of the additional converters required by the test
generator. Note that this list should be populated only with the converters
that are not automatically inserted because of a requirement declared in the
test generator declaration in plugin.xml. The list is by default empty.
- Returns:
- the configurations of the additional converters required by the test
generator.
© Copyright IBM Corp. 2012. All rights reserved.