public class JavaAppletLaunchShortcut extends JavaLaunchShortcut
This class may be instantiated or subclassed.
Constructor and Description |
---|
JavaAppletLaunchShortcut() |
Modifier and Type | Method and Description |
---|---|
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.
|
chooseConfiguration, chooseType, findLaunchConfiguration, getLaunchableResource, getLaunchableResource, getLaunchConfigurations, getLaunchConfigurations, getShell, launch, launch, launch
protected ILaunchConfiguration createConfiguration(IType type)
JavaLaunchShortcut
createConfiguration
in class JavaLaunchShortcut
type
- type to create a launch configuration forprotected 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 contextInterruptedException
- if the search is canceledCoreException
- 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
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.