|
Eclipse JDT Release 3.3 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.jdt.junit.launcher.JUnitLaunchShortcut
The launch shortcut to launch JUnit tests.
This class may be instantiated and subclassed.
| Constructor Summary | |
|---|---|
JUnitLaunchShortcut()
Default constructor. |
|
| Method Summary | |
|---|---|
protected ILaunchConfigurationWorkingCopy |
createLaunchConfiguration(IJavaElement element)
Creates a launch configuration working copy for the given element. |
protected String[] |
getAttributeNamesToCompare()
Returns the attribute names of the attributes that are compared when looking for an existing similar launch configuration. |
protected String |
getLaunchConfigurationTypeId()
Returns the launch configuration type id of the launch configuration this shortcut will create. |
void |
launch(IEditorPart editor,
String mode)
|
void |
launch(ISelection selection,
String mode)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JUnitLaunchShortcut()
| Method Detail |
public void launch(IEditorPart editor,
String mode)
launch in interface ILaunchShortcut
public void launch(ISelection selection,
String mode)
launch in interface ILaunchShortcutprotected String getLaunchConfigurationTypeId()
protected ILaunchConfigurationWorkingCopy createLaunchConfiguration(IJavaElement element)
throws CoreException
getLaunchConfigurationTypeId().
The element type can only be of type IJavaProject, IPackageFragmentRoot, IPackageFragment, IType or IMethod.
Clients can extend this method (should call super) to configure additional attributes on the launch configuration working copy.
CoreExceptionprotected String[] getAttributeNamesToCompare()
|
Eclipse JDT Release 3.3 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||