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, launchprotected ILaunchConfiguration createConfiguration(IType type)
JavaLaunchShortcutcreateConfiguration in class JavaLaunchShortcuttype - type to create a launch configuration forprotected ILaunchConfigurationType getConfigurationType()
JavaLaunchShortcutgetConfigurationType in class JavaLaunchShortcutprotected IType[] findTypes(Object[] elements, IRunnableContext context) throws InterruptedException, CoreException
JavaLaunchShortcutfindTypes in class JavaLaunchShortcutelements - scope to search for types that can be launchedcontext - progress reporting contextInterruptedException - if the search is canceledCoreException - if the search failsprotected String getTypeSelectionTitle()
JavaLaunchShortcutgetTypeSelectionTitle in class JavaLaunchShortcutprotected String getEditorEmptyMessage()
JavaLaunchShortcutgetEditorEmptyMessage in class JavaLaunchShortcutprotected String getSelectionEmptyMessage()
JavaLaunchShortcutgetSelectionEmptyMessage in class JavaLaunchShortcut
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.