IBM Rational Performance Tester SDK

com.ibm.rational.test.lt.testeditor.wizard
Class NewLoadTestWizard

java.lang.Object
  extended by org.eclipse.jface.wizard.Wizard
      extended by com.ibm.rational.test.lt.ui.wizards.NewFileWizard
          extended by com.ibm.rational.common.test.editor.framework.wizard.RptTestSuiteNewWizard
              extended by com.ibm.rational.test.lt.testeditor.wizard.NewLoadTestWizard
All Implemented Interfaces:
IWizard, INewWizard, IWorkbenchWizard

public class NewLoadTestWizard
extends com.ibm.rational.common.test.editor.framework.wizard.RptTestSuiteNewWizard

This wizard creates a new performance load test. The test is created but no recording is used.

The wizard loads available features declared by com.ibm.rational.test.lt.licensing.feature extensions, and protocol option pages declared with com.ibm.rational.test.lt.testeditor.wizardPageContributor extensions.

Since:
7.0.1 This class is modified to load features. For the sake of common look and feel, it is recommended that protocol extensions use this class to create tests manully.
See Also:
SelectFeaturePage, FeatureManager, Feature, WizardPageProvider

Field Summary
 
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE
 
Constructor Summary
NewLoadTestWizard()
           
 
Method Summary
 void addPage(IWizardPage page)
           
 void addPages()
           
protected  void adjustTestSuite(org.eclipse.hyades.models.common.facades.behavioral.ITestSuite arg0)
           
protected  boolean createObject(IFile file)
           
 IWizardPage getPage(String name, String feature)
           
protected  WizardPageProvider getProtocolPage(String featureId)
           
 ArrayList getSelectedProtocolPages()
           
 NewLoadTestWizardPage getSummaryPage()
           
protected  String getTestDescription()
           
protected  String getType()
           
 void setSelectedProtocolPages(ArrayList selectedPages)
           
 
Methods inherited from class com.ibm.rational.common.test.editor.framework.wizard.RptTestSuiteNewWizard
createResource, getFileExtension, openEditor
 
Methods inherited from class com.ibm.rational.test.lt.ui.wizards.NewFileWizard
getLocationPage, getLocationPageHelpId, getNewFile, getSelection, handleException, init, performFinish
 
Methods inherited from class org.eclipse.jface.wizard.Wizard
canFinish, 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
 
Methods inherited from interface org.eclipse.jface.wizard.IWizard
canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer
 

Constructor Detail

NewLoadTestWizard

public NewLoadTestWizard()
Method Detail

addPage

public void addPage(IWizardPage page)
Overrides:
addPage in class Wizard

getPage

public IWizardPage getPage(String name,
                           String feature)

getProtocolPage

protected WizardPageProvider getProtocolPage(String featureId)

addPages

public void addPages()
Specified by:
addPages in interface IWizard
Overrides:
addPages in class com.ibm.rational.test.lt.ui.wizards.NewFileWizard

getType

protected String getType()
Specified by:
getType in class com.ibm.rational.common.test.editor.framework.wizard.RptTestSuiteNewWizard

adjustTestSuite

protected void adjustTestSuite(org.eclipse.hyades.models.common.facades.behavioral.ITestSuite arg0)
Overrides:
adjustTestSuite in class com.ibm.rational.common.test.editor.framework.wizard.RptTestSuiteNewWizard

getTestDescription

protected String getTestDescription()
Overrides:
getTestDescription in class com.ibm.rational.common.test.editor.framework.wizard.RptTestSuiteNewWizard

createObject

protected boolean createObject(IFile file)
                        throws Exception
Overrides:
createObject in class com.ibm.rational.common.test.editor.framework.wizard.RptTestSuiteNewWizard
Throws:
Exception

setSelectedProtocolPages

public void setSelectedProtocolPages(ArrayList selectedPages)

getSummaryPage

public final NewLoadTestWizardPage getSummaryPage()

getSelectedProtocolPages

public final ArrayList getSelectedProtocolPages()

IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2012. All rights reserved.