|
PTP Release 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.core.runtime.Plugin
org.eclipse.ptp.core.PTPCorePlugin
public class PTPCorePlugin
| Field Summary | |
|---|---|
static java.lang.String |
PLUGIN_ID
|
| Fields inherited from class org.eclipse.core.runtime.Plugin |
|---|
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME |
| Constructor Summary | |
|---|---|
PTPCorePlugin()
The constructor. |
|
| Method Summary | |
|---|---|
static PTPCorePlugin |
getDefault()
Returns the shared instance. |
IModelManager |
getModelManager()
Get the model manager |
IModelPresentation |
getModelPresentation()
Get the presentation manager. |
java.util.ResourceBundle |
getResourceBundle()
Returns the plugin's resource bundle, |
static java.lang.String |
getResourceString(java.lang.String key)
Returns the string from the plugin's resource bundle, or 'key' if not found. |
static java.lang.String |
getUniqueIdentifier()
Generate a unique identifier |
java.lang.String |
locateFragmentFile(java.lang.String fragment,
java.lang.String file)
Locate the fragment for our architecture. |
static void |
log(org.eclipse.core.runtime.IStatus status)
Create log entry from an IStatus |
static void |
log(java.lang.String msg)
Create log entry from a string |
static void |
log(java.lang.Throwable e)
Create log entry from a Throwable |
void |
start(BundleContext context)
This method is called upon plug-in activation |
void |
stop(BundleContext context)
This method is called when the plug-in is stopped |
| Methods inherited from class org.eclipse.core.runtime.Plugin |
|---|
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, startup, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PLUGIN_ID
| Constructor Detail |
|---|
public PTPCorePlugin()
| Method Detail |
|---|
public static PTPCorePlugin getDefault()
public static java.lang.String getResourceString(java.lang.String key)
public static java.lang.String getUniqueIdentifier()
public static void log(org.eclipse.core.runtime.IStatus status)
status - public static void log(java.lang.String msg)
msg - public static void log(java.lang.Throwable e)
e - public IModelManager getModelManager()
public IModelPresentation getModelPresentation()
public java.util.ResourceBundle getResourceBundle()
public java.lang.String locateFragmentFile(java.lang.String fragment,
java.lang.String file)
fragment - file -
public void start(BundleContext context)
throws java.lang.Exception
start in interface BundleActivatorstart in class org.eclipse.core.runtime.Pluginjava.lang.Exception
public void stop(BundleContext context)
throws java.lang.Exception
stop in interface BundleActivatorstop in class org.eclipse.core.runtime.Pluginjava.lang.Exception
|
PTP Release 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||