IBM Rational Performance Tester SDK

com.ibm.rational.test.lt.testgen.ui.wizards
Class NewTestGeneratorWizard

java.lang.Object
  extended by org.eclipse.jface.wizard.Wizard
      extended by com.ibm.rational.test.lt.recorder.ui.wizards.SubWizard
          extended by 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.


Field Summary
 
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE
 
Constructor Summary
NewTestGeneratorWizard()
           
 
Method Summary
 List<PacketConverterConfiguration> getAdditionalPacketConverters()
          Returns the configurations of the additional converters required by the test generator.
protected  ITestGenerationWizardContext getContext()
          Returns context information about this wizard.
 TestGeneratorConfiguration getTestGeneratorConfiguration()
          Returns the configuration, filled from the user input.
 void initialize(TestGeneratorConfiguration configuration, ITestGenerationWizardContext context)
          Initializes the wizard with the given test generator configuration.
 
Methods inherited from class com.ibm.rational.test.lt.recorder.ui.wizards.SubWizard
canFinish, canFinishThisWizard, doPerformCancel, doPerformFinish, getNextPage, getNextPageForThisWizard, performCancel, performFinish, setNextPage, setParentWizard
 
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.ui.IWorkbenchWizard
init
 
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
 

Constructor Detail

NewTestGeneratorWizard

public NewTestGeneratorWizard()
Method Detail

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.

IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2012. All rights reserved.