|
org.eclipse.jdt.junit.wizards
Class NewTestCaseWizardPageTwo
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.eclipse.jdt.junit.wizards.NewTestCaseWizardPageTwo
-
All Implemented Interfaces:
-
IDialogPage,
IMessageProvider,
IWizardPage
-
public class NewTestCaseWizardPageTwo
- extends
WizardPage
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.
-
Since:
- 3.1
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
|
NewTestCaseWizardPageTwo
public NewTestCaseWizardPageTwo()
- Creates a new
NewTestCaseWizardPageTwo .
createControl
public void createControl(
Composite parent)
-
setClassUnderTest
public void setClassUnderTest(
IType classUnderTest)
- Sets the class under test.
-
-
Parameters:
-
classUnderTest - the class under test
setVisible
public void setVisible(boolean visible)
-
-
Specified by:
-
setVisible
in interface
IDialogPage
-
Overrides:
-
setVisible
in class
DialogPage
-
getCheckedMethods
public
IMethod[] getCheckedMethods()
- Returns all checked methods in the methods tree.
-
-
Returns:
- the checked methods
isCreateTasks
public boolean isCreateTasks()
- Returns true if the checkbox for creating tasks is checked.
-
-
Returns:
-
true is returned if tasks should be created
getCreateFinalMethodStubsButtonSelection
public boolean getCreateFinalMethodStubsButtonSelection()
- Returns true if the checkbox for final method stubs is checked.
-
-
Returns:
-
true is returned if methods should be created final
getAllMethods
public
IMethod[] getAllMethods()
- Returns all the methods in the methods tree.
-
-
Returns:
- all methods in the methods tree
Copyright (c) IBM Corp. and others 2000, 2008. All Rights Reserved.
|
|