public class OSGiLaunchShortcut extends AbstractLaunchShortcut
This class may be instantiated or subclassed by clients.
Constructor and Description |
---|
OSGiLaunchShortcut() |
Modifier and Type | Method and Description |
---|---|
protected String |
getLaunchConfigurationTypeName()
Returns the launch configuration type name.
|
protected void |
initializeConfiguration(ILaunchConfigurationWorkingCopy configuration)
Delegates to the initializer associated with the selected OSGI framework
to initialize the launch configuration
Refer to the
org.eclipse.pde.ui.osgiFrameworks extension point. |
protected boolean |
isGoodMatch(ILaunchConfiguration configuration)
Determines whether a given launch configuration is a good match given the current application or framework
being launched.
|
void |
launch(IEditorPart editor,
String mode) |
void |
launch(ISelection selection,
String mode) |
chooseConfiguration, findLaunchConfiguration, getName, launch
public void launch(ISelection selection, String mode)
public void launch(IEditorPart editor, String mode)
protected String getLaunchConfigurationTypeName()
AbstractLaunchShortcut
getLaunchConfigurationTypeName
in class AbstractLaunchShortcut
protected void initializeConfiguration(ILaunchConfigurationWorkingCopy configuration)
Refer to the org.eclipse.pde.ui.osgiFrameworks
extension point.
initializeConfiguration
in class AbstractLaunchShortcut
configuration
- the launch configuration working copy to be initializeAbstractLaunchShortcut.initializeConfiguration(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy)
protected boolean isGoodMatch(ILaunchConfiguration configuration)
AbstractLaunchShortcut
isGoodMatch
in class AbstractLaunchShortcut
configuration
- the launch configuration being evaluatedtrue
if the launch configuration is a good match for the application or
framework being launched, false
otherwise.
Copyright (c) 2000, 2017 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.