Package org.eclipse.pde.ui.launcher
Class OSGiLaunchShortcut
- java.lang.Object
- 
- org.eclipse.pde.ui.launcher.AbstractLaunchShortcut
- 
- org.eclipse.pde.ui.launcher.OSGiLaunchShortcut
 
 
- 
- All Implemented Interfaces:
- ILaunchShortcut
 
 public class OSGiLaunchShortcut extends AbstractLaunchShortcut A launch shortcut capable of launching an OSGi frameowrkThis class may be instantiated or subclassed by clients. - Since:
- 3.3
 
- 
- 
Constructor SummaryConstructors Constructor Description OSGiLaunchShortcut()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetLaunchConfigurationTypeName()Returns the launch configuration type name.protected voidinitializeConfiguration(ILaunchConfigurationWorkingCopy configuration)Delegates to the initializer associated with the selected OSGI framework to initialize the launch configurationprotected booleanisGoodMatch(ILaunchConfiguration configuration)Determines whether a given launch configuration is a good match given the current application or framework being launched.voidlaunch(ISelection selection, String mode)voidlaunch(IEditorPart editor, String mode)- 
Methods inherited from class org.eclipse.pde.ui.launcher.AbstractLaunchShortcutchooseConfiguration, findLaunchConfiguration, getName, launch
 
- 
 
- 
- 
- 
Method Detail- 
launchpublic void launch(ISelection selection, String mode) 
 - 
launchpublic void launch(IEditorPart editor, String mode) 
 - 
getLaunchConfigurationTypeNameprotected String getLaunchConfigurationTypeName() Description copied from class:AbstractLaunchShortcutReturns the launch configuration type name. Must be overridden by subclasses- Specified by:
- getLaunchConfigurationTypeNamein class- AbstractLaunchShortcut
- Returns:
- the launch configuration type name
 
 - 
initializeConfigurationprotected void initializeConfiguration(ILaunchConfigurationWorkingCopy configuration) Delegates to the initializer associated with the selected OSGI framework to initialize the launch configurationRefer to the org.eclipse.pde.ui.osgiFrameworksextension point.- Specified by:
- initializeConfigurationin class- AbstractLaunchShortcut
- Parameters:
- configuration- the launch configuration working copy to be initialize
- See Also:
- AbstractLaunchShortcut.initializeConfiguration(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy)
 
 - 
isGoodMatchprotected boolean isGoodMatch(ILaunchConfiguration configuration) Description copied from class:AbstractLaunchShortcutDetermines whether a given launch configuration is a good match given the current application or framework being launched. This method must be overridden by subclasses. Its purpose is to add criteria on what makes a good match or not.- Specified by:
- isGoodMatchin class- AbstractLaunchShortcut
- Parameters:
- configuration- the launch configuration being evaluated
- Returns:
- trueif the launch configuration is a good match for the application or framework being launched,- falseotherwise.
 
 
- 
 
-