|
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.remote.ui.PTPRemoteUIPlugin
public class PTPRemoteUIPlugin
The activator class controls the plug-in life cycle
| Field Summary | |
|---|---|
static java.lang.String |
EXTENSION_POINT_ID
|
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 | |
|---|---|
PTPRemoteUIPlugin()
The constructor |
|
| Method Summary | |
|---|---|
static org.eclipse.swt.widgets.Shell |
getActiveWorkbenchShell()
|
static org.eclipse.ui.IWorkbenchWindow |
getActiveWorkbenchWindow()
|
static PTPRemoteUIPlugin |
getDefault()
Returns the shared instance |
IRemoteServices[] |
getRemoteServices(org.eclipse.jface.operation.IRunnableContext context)
Get all the remote service providers and ensure that they are initialized. |
IRemoteServices |
getRemoteServices(java.lang.String id,
org.eclipse.jface.operation.IRunnableContext context)
Look up a remote service provider and ensure it is initialized. |
IRemoteServices |
getRemoteServices(java.net.URI uri,
org.eclipse.jface.operation.IRunnableContext context)
Look up a remote service provider from the supplied URI and ensure it is initialized. |
IRemoteUIServices |
getRemoteUIServices(IRemoteServices services)
Helper method to find UI services that correspond to a particular remote services implementation |
static org.eclipse.swt.widgets.Shell |
getShell()
Returns the active workbench shell or null if none |
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 EXTENSION_POINT_ID
| Constructor Detail |
|---|
public PTPRemoteUIPlugin()
| Method Detail |
|---|
public static org.eclipse.swt.widgets.Shell getActiveWorkbenchShell()
public static org.eclipse.ui.IWorkbenchWindow getActiveWorkbenchWindow()
public static PTPRemoteUIPlugin getDefault()
public static org.eclipse.swt.widgets.Shell getShell()
null if none
null if nonepublic 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 IRemoteServices[] getRemoteServices(org.eclipse.jface.operation.IRunnableContext context)
context - context with progress service, or null to use the platform
progress service
public IRemoteServices getRemoteServices(java.lang.String id,
org.eclipse.jface.operation.IRunnableContext context)
id - id of service to locatecontext - context with progress service, or null to use the platform
progress service
public IRemoteServices getRemoteServices(java.net.URI uri,
org.eclipse.jface.operation.IRunnableContext context)
uri - uri specifying service to locatecontext - context with progress service, or null to use the platform
progress service
public IRemoteUIServices getRemoteUIServices(IRemoteServices services)
services -
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 | |||||||||