Eclipse PDE
Release 3.6

org.eclipse.pde.ui.launcher
Class TestTab

java.lang.Object
  extended by org.eclipse.debug.ui.AbstractLaunchConfigurationTab
      extended by org.eclipse.pde.ui.launcher.TestTab
All Implemented Interfaces:
org.eclipse.debug.ui.ILaunchConfigurationTab

public class TestTab
extends org.eclipse.debug.ui.AbstractLaunchConfigurationTab

The launch configuration tab for JUnit Plug-in Tests. This tab enhances the JUnitLaunchConfigurationTab 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
TestTab()
           
 
Method Summary
 void activated(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy workingCopy)
           
 boolean canSave()
           
 void createControl(org.eclipse.swt.widgets.Composite parent)
           
 void deactivated(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy workingCopy)
           
 void dispose()
           
 org.eclipse.swt.widgets.Control getControl()
           
 String getErrorMessage()
           
 String getId()
           
 org.eclipse.swt.graphics.Image getImage()
           
protected  org.eclipse.debug.ui.ILaunchConfigurationDialog getLaunchConfigurationDialog()
           
 String getMessage()
           
 String getName()
           
 void initializeFrom(org.eclipse.debug.core.ILaunchConfiguration config)
           
 boolean isValid(org.eclipse.debug.core.ILaunchConfiguration config)
           
 void performApply(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy config)
           
 void setDefaults(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy config)
           
 void setLaunchConfigurationDialog(org.eclipse.debug.ui.ILaunchConfigurationDialog dialog)
           
 
Methods inherited from class org.eclipse.debug.ui.AbstractLaunchConfigurationTab
createCheckButton, createPushButton, createRadioButton, createSeparator, createUpdateJob, createVerticalSpacer, getLaunchManager, getShell, getUpdateJobDelay, isDirty, launched, scheduleUpdateJob, setAttribute, setControl, setDirty, setErrorMessage, setMessage, updateLaunchConfigurationDialog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestTab

public TestTab()
Method Detail

createControl

public void createControl(org.eclipse.swt.widgets.Composite parent)

initializeFrom

public void initializeFrom(org.eclipse.debug.core.ILaunchConfiguration config)

performApply

public void performApply(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy config)

getId

public String getId()
Overrides:
getId in class org.eclipse.debug.ui.AbstractLaunchConfigurationTab

activated

public void activated(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy workingCopy)
Specified by:
activated in interface org.eclipse.debug.ui.ILaunchConfigurationTab
Overrides:
activated in class org.eclipse.debug.ui.AbstractLaunchConfigurationTab

canSave

public boolean canSave()
Specified by:
canSave in interface org.eclipse.debug.ui.ILaunchConfigurationTab
Overrides:
canSave in class org.eclipse.debug.ui.AbstractLaunchConfigurationTab

deactivated

public void deactivated(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy workingCopy)
Specified by:
deactivated in interface org.eclipse.debug.ui.ILaunchConfigurationTab
Overrides:
deactivated in class org.eclipse.debug.ui.AbstractLaunchConfigurationTab

dispose

public void dispose()
Specified by:
dispose in interface org.eclipse.debug.ui.ILaunchConfigurationTab
Overrides:
dispose in class org.eclipse.debug.ui.AbstractLaunchConfigurationTab

getErrorMessage

public String getErrorMessage()
Specified by:
getErrorMessage in interface org.eclipse.debug.ui.ILaunchConfigurationTab
Overrides:
getErrorMessage in class org.eclipse.debug.ui.AbstractLaunchConfigurationTab

getImage

public org.eclipse.swt.graphics.Image getImage()
Specified by:
getImage in interface org.eclipse.debug.ui.ILaunchConfigurationTab
Overrides:
getImage in class org.eclipse.debug.ui.AbstractLaunchConfigurationTab

getMessage

public String getMessage()
Specified by:
getMessage in interface org.eclipse.debug.ui.ILaunchConfigurationTab
Overrides:
getMessage in class org.eclipse.debug.ui.AbstractLaunchConfigurationTab

getName

public String getName()

isValid

public boolean isValid(org.eclipse.debug.core.ILaunchConfiguration config)
Specified by:
isValid in interface org.eclipse.debug.ui.ILaunchConfigurationTab
Overrides:
isValid in class org.eclipse.debug.ui.AbstractLaunchConfigurationTab

setDefaults

public void setDefaults(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy config)

setLaunchConfigurationDialog

public void setLaunchConfigurationDialog(org.eclipse.debug.ui.ILaunchConfigurationDialog dialog)
Specified by:
setLaunchConfigurationDialog in interface org.eclipse.debug.ui.ILaunchConfigurationTab
Overrides:
setLaunchConfigurationDialog in class org.eclipse.debug.ui.AbstractLaunchConfigurationTab

getControl

public org.eclipse.swt.widgets.Control getControl()
Specified by:
getControl in interface org.eclipse.debug.ui.ILaunchConfigurationTab
Overrides:
getControl in class org.eclipse.debug.ui.AbstractLaunchConfigurationTab

getLaunchConfigurationDialog

protected org.eclipse.debug.ui.ILaunchConfigurationDialog getLaunchConfigurationDialog()
Overrides:
getLaunchConfigurationDialog in class org.eclipse.debug.ui.AbstractLaunchConfigurationTab

Eclipse PDE
Release 3.6

Copyright (c) IBM Corp. and others 2000, 2010. All Rights Reserved.