|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object SystemBasePlugin com.ibm.etools.iseries.edit.IBMiEditPlugin
public class IBMiEditPlugin
The activator class controls the plug-in life cycle
Field Summary | |
---|---|
static String |
copyright
|
static String |
HELPPREFIX
|
static String |
PLUGIN_ID
|
Constructor Summary | |
---|---|
IBMiEditPlugin()
The constructor |
Method Summary | |
---|---|
static IBMiEditPlugin |
getDefault()
Returns the shared instance |
static ImageDescriptor |
getImageDescriptorByFileName(String strImage)
Returns the image descriptor given the file name. |
static URL |
getPluginInstallURL()
Return the file path where this plugin is installed. |
static String |
getString(ResourceBundle resourceBundle,
String key,
String defaultString)
Get a string from a given resource bundle, with an english string to use a default if the given key is not found. |
static String |
getStringForTemplate(String key)
Get a string from this plugin's resource bundle. |
protected void |
initializeImageRegistry()
|
protected static InputStream |
loadInputStream(String strFilename)
iserieseditor Returns the resource bundle given its filename without file extension. |
static Properties |
loadProperties(String strFilename)
iserieseditor Returns the properties object given its filename without file extension. |
ResourceBundle |
loadResourceBundle(String fileName)
Sets the resource bundle. |
boolean |
showView(String strViewId)
iserieseditor Shows the view given a view identifier. |
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 |
---|
public static String copyright
public static final String PLUGIN_ID
public static final String HELPPREFIX
Constructor Detail |
---|
public IBMiEditPlugin()
Method Detail |
---|
public void start(BundleContext context) throws Exception
Exception
public void stop(BundleContext context) throws Exception
Exception
public static IBMiEditPlugin getDefault()
public static URL getPluginInstallURL()
protected void initializeImageRegistry()
public static ImageDescriptor getImageDescriptorByFileName(String strImage)
public boolean showView(String strViewId)
public final ResourceBundle loadResourceBundle(String fileName)
name
- of .properties file, without the '.properties' specified
public static String getStringForTemplate(String key)
public static String getString(ResourceBundle resourceBundle, String key, String defaultString)
If not found, stack trace info is placed in the plugin's log file to help pinpoint the offending code.
public static Properties loadProperties(String strFilename)
protected static InputStream loadInputStream(String strFilename)
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |