Package org.eclipse.pde.ui.launcher
Class TestTab
- java.lang.Object
-
- org.eclipse.debug.ui.AbstractLaunchConfigurationTab
-
- org.eclipse.pde.ui.launcher.TestTab
-
- All Implemented Interfaces:
IPrototypeAttributesLabelProvider,ILaunchConfigurationTab,ILaunchConfigurationTab2
public class TestTab extends AbstractLaunchConfigurationTab
The launch configuration tab for JUnit Plug-in Tests. This tab enhances theJUnitLaunchConfigurationTabto allow for tests to (optionally) run on a non-UI thread.This class may be instantiated but is not intended to be subclassed.
- Since:
- 3.5
- Restriction:
- This class is not intended to be subclassed by clients.
-
-
Constructor Summary
Constructors Constructor Description TestTab()Constructor to create a new junit test tab
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactivated(ILaunchConfigurationWorkingCopy workingCopy)booleancanSave()voidcreateControl(Composite parent)voiddeactivated(ILaunchConfigurationWorkingCopy workingCopy)voiddispose()ControlgetControl()StringgetErrorMessage()StringgetId()ImagegetImage()protected ILaunchConfigurationDialoggetLaunchConfigurationDialog()StringgetMessage()StringgetName()voidinitializeFrom(ILaunchConfiguration config)booleanisValid(ILaunchConfiguration config)voidperformApply(ILaunchConfigurationWorkingCopy config)voidsetDefaults(ILaunchConfigurationWorkingCopy config)voidsetLaunchConfigurationDialog(ILaunchConfigurationDialog dialog)-
Methods inherited from class org.eclipse.debug.ui.AbstractLaunchConfigurationTab
createCheckButton, createPushButton, createRadioButton, createSeparator, createUpdateJob, createVerticalSpacer, getAttributeLabel, getAttributesLabelsForPrototype, getHelpContextId, getLaunchManager, getShell, getUpdateJobDelay, getWarningMessage, initializeAttributes, isDirty, launched, scheduleUpdateJob, setAttribute, setControl, setDirty, setErrorMessage, setHelpContextId, setMessage, setWarningMessage, updateLaunchConfigurationDialog
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.debug.ui.ILaunchConfigurationTab
OkToLeaveTab, postApply
-
-
-
-
Method Detail
-
createControl
public void createControl(Composite parent)
-
initializeFrom
public void initializeFrom(ILaunchConfiguration config)
-
performApply
public void performApply(ILaunchConfigurationWorkingCopy config)
-
getId
public String getId()
- Overrides:
getIdin classAbstractLaunchConfigurationTab
-
activated
public void activated(ILaunchConfigurationWorkingCopy workingCopy)
- Specified by:
activatedin interfaceILaunchConfigurationTab- Overrides:
activatedin classAbstractLaunchConfigurationTab
-
canSave
public boolean canSave()
- Specified by:
canSavein interfaceILaunchConfigurationTab- Overrides:
canSavein classAbstractLaunchConfigurationTab
-
deactivated
public void deactivated(ILaunchConfigurationWorkingCopy workingCopy)
- Specified by:
deactivatedin interfaceILaunchConfigurationTab- Overrides:
deactivatedin classAbstractLaunchConfigurationTab
-
dispose
public void dispose()
- Specified by:
disposein interfaceILaunchConfigurationTab- Overrides:
disposein classAbstractLaunchConfigurationTab
-
getErrorMessage
public String getErrorMessage()
- Specified by:
getErrorMessagein interfaceILaunchConfigurationTab- Overrides:
getErrorMessagein classAbstractLaunchConfigurationTab
-
getImage
public Image getImage()
- Specified by:
getImagein interfaceILaunchConfigurationTab- Overrides:
getImagein classAbstractLaunchConfigurationTab
-
getMessage
public String getMessage()
- Specified by:
getMessagein interfaceILaunchConfigurationTab- Overrides:
getMessagein classAbstractLaunchConfigurationTab
-
getName
public String getName()
-
isValid
public boolean isValid(ILaunchConfiguration config)
- Specified by:
isValidin interfaceILaunchConfigurationTab- Overrides:
isValidin classAbstractLaunchConfigurationTab
-
setDefaults
public void setDefaults(ILaunchConfigurationWorkingCopy config)
-
setLaunchConfigurationDialog
public void setLaunchConfigurationDialog(ILaunchConfigurationDialog dialog)
- Specified by:
setLaunchConfigurationDialogin interfaceILaunchConfigurationTab- Overrides:
setLaunchConfigurationDialogin classAbstractLaunchConfigurationTab
-
getControl
public Control getControl()
- Specified by:
getControlin interfaceILaunchConfigurationTab- Overrides:
getControlin classAbstractLaunchConfigurationTab
-
getLaunchConfigurationDialog
protected ILaunchConfigurationDialog getLaunchConfigurationDialog()
- Overrides:
getLaunchConfigurationDialogin classAbstractLaunchConfigurationTab
-
-