public class NewTestCaseWizardPageTwo extends WizardPage
NewTestCaseWizardPageTwo
contains controls and validation routines
for the second page of the 'New JUnit TestCase Wizard'.
Clients can use the page as-is and add it to their own wizard, or extend it to modify validation or add and remove controls.
ERROR, INFORMATION, NONE, WARNING
Constructor and Description |
---|
NewTestCaseWizardPageTwo()
Creates a new
NewTestCaseWizardPageTwo . |
Modifier and Type | Method and Description |
---|---|
void |
createControl(Composite parent) |
IMethod[] |
getAllMethods()
Returns all the methods in the methods tree.
|
IMethod[] |
getCheckedMethods()
Returns all checked methods in the methods tree.
|
boolean |
getCreateFinalMethodStubsButtonSelection()
Returns true if the checkbox for final method stubs is checked.
|
boolean |
isCreateTasks()
Returns true if the checkbox for creating tasks is checked.
|
void |
setClassUnderTest(IType classUnderTest)
Sets the class under test.
|
void |
setVisible(boolean visible) |
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp
public NewTestCaseWizardPageTwo()
NewTestCaseWizardPageTwo
.public void createControl(Composite parent)
public void setClassUnderTest(IType classUnderTest)
classUnderTest
- the class under testpublic void setVisible(boolean visible)
setVisible
in interface IDialogPage
setVisible
in class DialogPage
public IMethod[] getCheckedMethods()
public boolean isCreateTasks()
true
is returned if tasks should be createdpublic boolean getCreateFinalMethodStubsButtonSelection()
true
is returned if methods should be created finalpublic IMethod[] getAllMethods()
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.