|
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 String |
PLUGIN_ID
|
static 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(String id)
Get the runtime model presentation for the given resource manager |
static 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(String msg)
Generate a log message |
static void |
log(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 String PLUGIN_ID
public static final 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 String getUniqueIdentifier()
public static void log(org.eclipse.core.runtime.IStatus status)
status
- IStatus objectpublic static void log(String msg)
msg
- message to logpublic static void log(Throwable e)
e
- exception used to generate messagepublic IJobManager getJobManager()
public IMachineManager getMachineManager()
public RMManager getRMManager()
public IRuntimeModelPresentation getRuntimeModelPresentation(String id)
id
- resource manager ID
public void start(BundleContext context) throws Exception
start
in interface BundleActivator
start
in class org.eclipse.ui.plugin.AbstractUIPlugin
Exception
public void stop(BundleContext context) throws Exception
stop
in interface BundleActivator
stop
in class org.eclipse.ui.plugin.AbstractUIPlugin
Exception
|
PTP Release 5.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |