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 theJUnitLaunchConfigurationTab
to 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 void
activated(ILaunchConfigurationWorkingCopy workingCopy)
boolean
canSave()
void
createControl(Composite parent)
void
deactivated(ILaunchConfigurationWorkingCopy workingCopy)
void
dispose()
Control
getControl()
String
getErrorMessage()
String
getId()
Image
getImage()
protected ILaunchConfigurationDialog
getLaunchConfigurationDialog()
String
getMessage()
String
getName()
void
initializeFrom(ILaunchConfiguration config)
boolean
isValid(ILaunchConfiguration config)
void
performApply(ILaunchConfigurationWorkingCopy config)
void
setDefaults(ILaunchConfigurationWorkingCopy config)
void
setLaunchConfigurationDialog(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:
getId
in classAbstractLaunchConfigurationTab
-
activated
public void activated(ILaunchConfigurationWorkingCopy workingCopy)
- Specified by:
activated
in interfaceILaunchConfigurationTab
- Overrides:
activated
in classAbstractLaunchConfigurationTab
-
canSave
public boolean canSave()
- Specified by:
canSave
in interfaceILaunchConfigurationTab
- Overrides:
canSave
in classAbstractLaunchConfigurationTab
-
deactivated
public void deactivated(ILaunchConfigurationWorkingCopy workingCopy)
- Specified by:
deactivated
in interfaceILaunchConfigurationTab
- Overrides:
deactivated
in classAbstractLaunchConfigurationTab
-
dispose
public void dispose()
- Specified by:
dispose
in interfaceILaunchConfigurationTab
- Overrides:
dispose
in classAbstractLaunchConfigurationTab
-
getErrorMessage
public String getErrorMessage()
- Specified by:
getErrorMessage
in interfaceILaunchConfigurationTab
- Overrides:
getErrorMessage
in classAbstractLaunchConfigurationTab
-
getImage
public Image getImage()
- Specified by:
getImage
in interfaceILaunchConfigurationTab
- Overrides:
getImage
in classAbstractLaunchConfigurationTab
-
getMessage
public String getMessage()
- Specified by:
getMessage
in interfaceILaunchConfigurationTab
- Overrides:
getMessage
in classAbstractLaunchConfigurationTab
-
getName
public String getName()
-
isValid
public boolean isValid(ILaunchConfiguration config)
- Specified by:
isValid
in interfaceILaunchConfigurationTab
- Overrides:
isValid
in classAbstractLaunchConfigurationTab
-
setDefaults
public void setDefaults(ILaunchConfigurationWorkingCopy config)
-
setLaunchConfigurationDialog
public void setLaunchConfigurationDialog(ILaunchConfigurationDialog dialog)
- Specified by:
setLaunchConfigurationDialog
in interfaceILaunchConfigurationTab
- Overrides:
setLaunchConfigurationDialog
in classAbstractLaunchConfigurationTab
-
getControl
public Control getControl()
- Specified by:
getControl
in interfaceILaunchConfigurationTab
- Overrides:
getControl
in classAbstractLaunchConfigurationTab
-
getLaunchConfigurationDialog
protected ILaunchConfigurationDialog getLaunchConfigurationDialog()
- Overrides:
getLaunchConfigurationDialog
in classAbstractLaunchConfigurationTab
-
-