Rational Developer for i
7.5.0

com.ibm.etools.iseries.migration
Class IBMiMigrationPlugin

java.lang.Object
  extended by SystemBasePlugin
      extended by com.ibm.etools.iseries.migration.IBMiMigrationPlugin

public class IBMiMigrationPlugin
extends SystemBasePlugin

The activator class controls the IBM i workspace migration plug-in life cycle


Field Summary
static String copyright
           
static String PLUGIN_ID
           
 
Constructor Summary
IBMiMigrationPlugin()
          The constructor
 
Method Summary
static IBMiMigrationPlugin getDefault()
          Returns the shared instance
protected  void initializeImageRegistry()
           
 ResourceBundle loadBundle(String fileName)
          Sets the resource bundle.
 void start(BundleContext context)
           
 void stop(BundleContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static String copyright

PLUGIN_ID

public static final String PLUGIN_ID
See Also:
Constant Field Values
Constructor Detail

IBMiMigrationPlugin

public IBMiMigrationPlugin()
The constructor

Method Detail

start

public void start(BundleContext context)
           throws Exception
Throws:
Exception

stop

public void stop(BundleContext context)
          throws Exception
Throws:
Exception

getDefault

public static IBMiMigrationPlugin getDefault()
Returns the shared instance

Returns:
the shared instance

initializeImageRegistry

protected void initializeImageRegistry()

loadBundle

public final ResourceBundle loadBundle(String fileName)
Sets the resource bundle. Called by child class in their constructor, say, to load in their resource bundle. Handles rare case when not found by telling user, then dying. Note: This is NOT to be used for plugin.properties since Eclipse handles that file differently.

Parameters:
name - of .properties file, without the '.properties' specified
Returns:
ResourceBundle if loaded successfully, null if not.

Rational Developer for i
7.5.0

Copyright 2009 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.