Package org.eclipse.pde.launching
Class OSGiLaunchConfigurationInitializer
java.lang.Object
org.eclipse.pde.launching.OSGiLaunchConfigurationInitializer
Initializes launch configuration attributes for newly-created OSGi Framework
launch configurations
Clients may instantiate or subclass this class
This class originally existed in 3.3 as
org.eclipse.pde.ui.launcher.OSGiLaunchConfigurationInitializer
.
- Since:
- 3.6
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
getAutoStart
(String bundleID) Returns whether the bundle should be started automaticallyprotected String
getStartLevel
(String bundleID) Returns the bundle's start levelvoid
initialize
(ILaunchConfigurationWorkingCopy configuration) Initializes some attributes on a newly-created launch configurationprotected void
initializeBundleState
(ILaunchConfigurationWorkingCopy configuration) Initializes the checked/unchecked state of bundlesprotected void
initializeFrameworkDefaults
(ILaunchConfigurationWorkingCopy configuration) Initializes the start level and auto-start attributesprotected void
initializeSourcePathProvider
(ILaunchConfigurationWorkingCopy configuration) Sets the source provider ID
-
Field Details
-
DEFAULT
- See Also:
-
-
Constructor Details
-
OSGiLaunchConfigurationInitializer
public OSGiLaunchConfigurationInitializer()
-
-
Method Details
-
initialize
Initializes some attributes on a newly-created launch configuration- Parameters:
configuration
- the launch configuration
-
initializeSourcePathProvider
Sets the source provider ID- Parameters:
configuration
- the launch configuration
-
initializeFrameworkDefaults
Initializes the start level and auto-start attributes- Parameters:
configuration
- the launch configuration
-
initializeBundleState
Initializes the checked/unchecked state of bundles- Parameters:
configuration
- the launch configuration
-
getStartLevel
Returns the bundle's start level- Parameters:
bundleID
- the bundle ID- Returns:
- the start level for the given bundle or the string
default
-
getAutoStart
Returns whether the bundle should be started automatically- Parameters:
bundleID
- the bundle ID- Returns:
true
,false
, ordefault
-