Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse PDE
Release 3.5

org.eclipse.pde.ui.launcher
Class OSGiLaunchConfigurationInitializer


java.lang.Object
  extended by 
org.eclipse.pde.ui.launcher.OSGiLaunchConfigurationInitializer

public class OSGiLaunchConfigurationInitializer
extends Object

Initializes launch configuration attributes for newly-created OSGi Framework launch configurations

Clients may instantiate or subclass this class

Since:
3.3

Field Summary
protected static  String DEFAULT
           
 
Constructor Summary
OSGiLaunchConfigurationInitializer ()
           
 
Method Summary
protected   String getAutoStart ( String bundleID)
          Returns whether the bundle should be started automatically
protected   String getStartLevel ( String bundleID)
          Returns the bundle's start level
 void initialize ( ILaunchConfigurationWorkingCopy configuration)
          Initializes some attributes on a newly-created launch configuration
protected  void initializeBundleState ( ILaunchConfigurationWorkingCopy configuration)
          Initializes the checked/unchecked state of bundles
protected  void initializeFrameworkDefaults ( ILaunchConfigurationWorkingCopy configuration)
          Initializes the start level and auto-start attributes
protected  void initializeSourcePathProvider ( ILaunchConfigurationWorkingCopy configuration)
          Sets the source provider ID
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

protected static final 
String DEFAULT
See Also:
Constant Field Values
Constructor Detail

OSGiLaunchConfigurationInitializer

public OSGiLaunchConfigurationInitializer()
Method Detail

initialize

public void initialize(
ILaunchConfigurationWorkingCopy configuration)
Initializes some attributes on a newly-created launch configuration

Parameters:
configuration - the launch configuration

initializeSourcePathProvider

protected void initializeSourcePathProvider(
ILaunchConfigurationWorkingCopy configuration)
Sets the source provider ID

Parameters:
configuration - the launch configuration

initializeFrameworkDefaults

protected void initializeFrameworkDefaults(
ILaunchConfigurationWorkingCopy configuration)
Initializes the start level and auto-start attributes

Parameters:
configuration - the launch configuration

initializeBundleState

protected void initializeBundleState(
ILaunchConfigurationWorkingCopy configuration)
Initializes the checked/unchecked state of bundles

Parameters:
configuration - the launch configuration

getStartLevel

protected 
String getStartLevel(
String bundleID)
Returns the bundle's start level

Parameters:
bundleID - the bundle ID
Returns:
the start level for the given bundle or the string default

getAutoStart

protected 
String getAutoStart(
String bundleID)
Returns whether the bundle should be started automatically

Parameters:
bundleID - the bundle ID
Returns:
true, false, or default

Eclipse PDE
Release 3.5

Copyright (c) IBM Corp. and others 2000, 2008. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire