|
Eclipse JDT Release 3.7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.eclipse.jdt.junit.wizards.NewTestCaseWizardPageTwo
public class NewTestCaseWizardPageTwo
The class 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.
Field Summary |
---|
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
---|
ERROR, INFORMATION, NONE, WARNING |
Constructor Summary | |
---|---|
NewTestCaseWizardPageTwo()
Creates a new NewTestCaseWizardPageTwo . |
Method Summary | |
---|---|
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)
|
Methods inherited from class org.eclipse.jface.wizard.WizardPage |
---|
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString |
Methods inherited from class org.eclipse.jface.dialogs.DialogPage |
---|
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage |
---|
dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp |
Constructor Detail |
---|
public NewTestCaseWizardPageTwo()
NewTestCaseWizardPageTwo
.
Method Detail |
---|
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()
|
Eclipse JDT Release 3.7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) 2000, 2011 IBM Corporation and others. All rights reserved.