TPTP 4.1.0 Testing Tools Project
Public API Specification

org.eclipse.hyades.test.ui.wizard
Class TestSuiteNewWizard

java.lang.Object
  extended byorg.eclipse.jface.wizard.Wizard
      extended byorg.eclipse.hyades.ui.internal.wizard.HyadesWizard
          extended byorg.eclipse.hyades.ui.internal.wizard.HyadesNewWizard
              extended byorg.eclipse.hyades.test.ui.wizard.TestSuiteNewWizard
All Implemented Interfaces:
org.eclipse.hyades.ui.util.IDisposable, org.eclipse.ui.INewWizard, org.eclipse.jface.wizard.IWizard, org.eclipse.ui.IWorkbenchWizard

public class TestSuiteNewWizard
extends org.eclipse.hyades.ui.internal.wizard.HyadesNewWizard

Extends the HyadesNewWizard to create the Hyades Generic Test Suite.

Since:
3.0

Field Summary
 
Fields inherited from class org.eclipse.hyades.ui.internal.wizard.HyadesNewWizard
SET_LAST_SELECTION
 
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE
 
Constructor Summary
TestSuiteNewWizard()
          Constructor for TestSuiteNewWizard
 
Method Summary
 void addPages()
           
protected  org.eclipse.emf.ecore.EObject createEObject()
          Creates the EObject setting the attributes based on the information the user has defined in this wizard's pages.
protected  boolean createObject(org.eclipse.core.resources.IFile file)
           
protected  org.eclipse.emf.ecore.resource.Resource createResource(org.eclipse.core.resources.IFile file)
          Creates the EMF resource in which the object is added to.
protected  java.lang.String getFileExtension()
           
protected  java.lang.String getType()
          Returns the type for the test suite created by this wizard.
protected  void openEditor(org.eclipse.core.resources.IFile file)
           
 
Methods inherited from class org.eclipse.hyades.ui.internal.wizard.HyadesNewWizard
adjustSeletion, getAttributeWizardPage, getLocationPage, getNewFile, handleException, initPages, performFinish, selectAndReveal, setAttributeWizardPage, setLocationPage
 
Methods inherited from class org.eclipse.hyades.ui.internal.wizard.HyadesWizard
createPageControls, dispose, getSelection, getWorkbench, init, setPageHelpIds
 
Methods inherited from class org.eclipse.jface.wizard.Wizard
addPage, canFinish, 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.ui.IWorkbenchWizard
init
 
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

TestSuiteNewWizard

public TestSuiteNewWizard()
Constructor for TestSuiteNewWizard

Method Detail

getType

protected java.lang.String getType()
Returns the type for the test suite created by this wizard.

Returns:
String

getFileExtension

protected java.lang.String getFileExtension()
See Also:
HyadesNewWizard.getFileExtension()

addPages

public void addPages()
See Also:
IWizard.addPages()

createObject

protected boolean createObject(org.eclipse.core.resources.IFile file)
                        throws java.lang.Exception
Throws:
java.lang.Exception
See Also:
org.eclipse.hyades.ui.test.internal.wizard.HyadesNewWizard#createObject(org.eclipse.core.resources.IFile)

createEObject

protected org.eclipse.emf.ecore.EObject createEObject()
Creates the EObject setting the attributes based on the information the user has defined in this wizard's pages.

Returns:
a not null EObject

createResource

protected org.eclipse.emf.ecore.resource.Resource createResource(org.eclipse.core.resources.IFile file)
Creates the EMF resource in which the object is added to.

Returns:
a not null Resource

openEditor

protected void openEditor(org.eclipse.core.resources.IFile file)
                   throws org.eclipse.ui.PartInitException
Throws:
org.eclipse.ui.PartInitException
See Also:
HyadesNewWizard.openEditor(org.eclipse.core.resources.IFile)

TPTP 4.1.0 Testing Tools Project
Public API Specification