|
Eclipse JDT Release 3.5 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jdt.debug.ui.launchConfigurations.JavaLaunchShortcut
org.eclipse.jdt.debug.ui.launchConfigurations.JavaApplicationLaunchShortcut
public class JavaApplicationLaunchShortcut
Launch shortcut for local Java applications.
This class may be instantiated or subclassed.
Constructor Summary | |
---|---|
JavaApplicationLaunchShortcut()
|
Method Summary | |
---|---|
protected ILaunchConfiguration |
createConfiguration(IType type)
Creates and returns a new configuration based on the specified type. |
protected IType[] |
findTypes(Object[] elements,
IRunnableContext context)
Finds and returns the types in the given collection of elements that can be launched. |
protected ILaunchConfigurationType |
getConfigurationType()
Returns the type of configuration this shortcut is applicable to. |
protected String |
getEditorEmptyMessage()
Returns an error message to use when the editor does not contain a type that can be launched. |
protected String |
getSelectionEmptyMessage()
Returns an error message to use when the selection does not contain a type that can be launched. |
protected String |
getTypeSelectionTitle()
Returns a title for a type selection dialog used to prompt the user when there is more than one type that can be launched. |
Methods inherited from class org.eclipse.jdt.debug.ui.launchConfigurations.JavaLaunchShortcut |
---|
chooseConfiguration, chooseType, findLaunchConfiguration, getLaunchableResource, getLaunchableResource, getLaunchConfigurations, getLaunchConfigurations, getShell, launch, launch |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JavaApplicationLaunchShortcut()
Method Detail |
---|
protected ILaunchConfiguration createConfiguration(IType type)
JavaLaunchShortcut
createConfiguration
in class JavaLaunchShortcut
type
- type to create a launch configuration for
protected ILaunchConfigurationType getConfigurationType()
JavaLaunchShortcut
getConfigurationType
in class JavaLaunchShortcut
protected IType[] findTypes(Object[] elements, IRunnableContext context) throws InterruptedException, CoreException
JavaLaunchShortcut
findTypes
in class JavaLaunchShortcut
elements
- scope to search for types that can be launchedcontext
- progress reporting context
InterruptedException
- if the search is canceled
CoreException
- if the search failsprotected String getTypeSelectionTitle()
JavaLaunchShortcut
getTypeSelectionTitle
in class JavaLaunchShortcut
protected String getEditorEmptyMessage()
JavaLaunchShortcut
getEditorEmptyMessage
in class JavaLaunchShortcut
protected String getSelectionEmptyMessage()
JavaLaunchShortcut
getSelectionEmptyMessage
in class JavaLaunchShortcut
|
Eclipse JDT Release 3.5 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |