|
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.ui.plugin.AbstractUIPlugin
org.eclipse.ptp.ui.PTPUIPlugin
public class PTPUIPlugin
The main PTP user interface plugin.
| Field Summary | |
|---|---|
static java.lang.String |
PLUGIN_ID
|
static java.lang.String |
RUNTIME_MODEL_PRESENTATION_EXTENSION_POINT_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 | |
|---|---|
PTPUIPlugin()
|
|
| Method Summary | |
|---|---|
static org.eclipse.ui.IWorkbenchPage |
getActivePage()
Get the currently active workbench page from the active workbench window. |
static org.eclipse.ui.IWorkbenchWindow |
getActiveWorkbenchWindow()
Gets the currently active workbench window |
static PTPUIPlugin |
getDefault()
Returns the shared instance. |
static org.eclipse.swt.widgets.Display |
getDisplay()
Get the display instance. |
IJobManager |
getJobManager()
Get the job manager instance |
IMachineManager |
getMachineManager()
Get the machine manager instance |
RMManager |
getRMManager()
Get the RM manager instance |
IRuntimeModelPresentation |
getRuntimeModelPresentation(java.lang.String id)
Get the runtime model presentation for the given resource manager |
static java.lang.String |
getUniqueIdentifier()
Get a unique identifier for this plugin (used for logging) |
static void |
log(org.eclipse.core.runtime.IStatus status)
Generate a log message given an IStatus object |
static void |
log(java.lang.String msg)
Generate a log message |
static void |
log(java.lang.Throwable e)
Generate a log message for an exception |
void |
start(BundleContext context)
|
void |
stop(BundleContext context)
|
| Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin |
|---|
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, initializeImageRegistry, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, startup |
| Methods inherited from class org.eclipse.core.runtime.Plugin |
|---|
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, 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
public static final java.lang.String RUNTIME_MODEL_PRESENTATION_EXTENSION_POINT_ID
| Constructor Detail |
|---|
public PTPUIPlugin()
| Method Detail |
|---|
public static org.eclipse.ui.IWorkbenchPage getActivePage()
public static org.eclipse.ui.IWorkbenchWindow getActiveWorkbenchWindow()
public static PTPUIPlugin getDefault()
public static org.eclipse.swt.widgets.Display getDisplay()
public static java.lang.String getUniqueIdentifier()
public static void log(org.eclipse.core.runtime.IStatus status)
status - IStatus objectpublic static void log(java.lang.String msg)
msg - message to logpublic static void log(java.lang.Throwable e)
e - exception used to generate messagepublic IJobManager getJobManager()
public IMachineManager getMachineManager()
public RMManager getRMManager()
public IRuntimeModelPresentation getRuntimeModelPresentation(java.lang.String id)
id - resource manager ID
public void start(BundleContext context)
throws java.lang.Exception
start in interface BundleActivatorstart in class org.eclipse.ui.plugin.AbstractUIPluginjava.lang.Exception
public void stop(BundleContext context)
throws java.lang.Exception
stop in interface BundleActivatorstop in class org.eclipse.ui.plugin.AbstractUIPluginjava.lang.Exception
|
PTP Release 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||