|
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 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. |
ResourceBundle |
getResourceBundle()
Returns the plugin's resource bundle, |
static String |
getResourceString(String key)
Returns the string from the plugin's resource bundle, or 'key' if not found. |
static String |
getUniqueIdentifier()
Generate a unique identifier |
String |
locateFragmentFile(String fragment,
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(String msg)
Create log entry from a string |
static void |
log(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 String PLUGIN_ID
| Constructor Detail |
|---|
public PTPCorePlugin()
| Method Detail |
|---|
public static PTPCorePlugin getDefault()
public static String getResourceString(String key)
public static String getUniqueIdentifier()
public static void log(org.eclipse.core.runtime.IStatus status)
status - public static void log(String msg)
msg - public static void log(Throwable e)
e - public IModelManager getModelManager()
public IModelPresentation getModelPresentation()
public ResourceBundle getResourceBundle()
public String locateFragmentFile(String fragment,
String file)
fragment - file -
public void start(BundleContext context)
throws Exception
start in interface BundleActivatorstart in class org.eclipse.core.runtime.PluginException
public void stop(BundleContext context)
throws Exception
stop in interface BundleActivatorstop in class org.eclipse.core.runtime.PluginException
|
PTP Release 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||