Class ProfilingUIPlugin
java.lang.Object
org.eclipse.core.runtime.Plugin
org.eclipse.ui.plugin.AbstractUIPlugin
com._1c.g5.v8.dt.internal.profiling.ui.ProfilingUIPlugin
- All Implemented Interfaces:
org.osgi.framework.BundleActivator
public class ProfilingUIPlugin
extends org.eclipse.ui.plugin.AbstractUIPlugin
The activator class controls the plug-in life cycle.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from class org.eclipse.core.runtime.Plugin
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.eclipse.core.runtime.IStatus
createErrorStatus
(String message, Throwable throwable) Create error status, based on given message and throwable.static ProfilingUIPlugin
Returns the shared instancestatic org.eclipse.swt.graphics.Image
Get image from image registry.static org.eclipse.jface.resource.ImageDescriptor
Get image descriptor from image registry.com.google.inject.Injector
Creates Guice injector (if not created yet) and returns it.protected void
initializeImageRegistry
(org.eclipse.jface.resource.ImageRegistry reg) static void
log
(org.eclipse.core.runtime.IStatus status) Logs the specified status with this plug-in's log.void
start
(org.osgi.framework.BundleContext context) void
stop
(org.osgi.framework.BundleContext context) Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, startup
Methods inherited from class org.eclipse.core.runtime.Plugin
find, find, getBundle, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, toString
-
Field Details
-
PROFILING_COMMAND_ID
- See Also:
-
SHOW_OUTDATED_COMMAND_ID
- See Also:
-
SHOW_RULER_COMMAND_ID
- See Also:
-
SHOW_OUTDATED
- See Also:
-
SHOW_RULER
- See Also:
-
PLUGIN_ID
- See Also:
-
T_ETOOL16
- See Also:
-
T_OBJ16
- See Also:
-
T_ELCL16
- See Also:
-
T_WIZBAN
- See Also:
-
CLIENT
- See Also:
-
SERVER
- See Also:
-
SERVER_MOBILE_STANDALONE
- See Also:
-
SERVER_CALL
- See Also:
-
INTERNAL_SERVER_CALL
- See Also:
-
PROFILING
- See Also:
-
PROFILING_32
- See Also:
-
TABLE
- See Also:
-
METHOD_LIST
- See Also:
-
EXPAND_ALL
- See Also:
-
GROUP_METHODS
- See Also:
-
GROUP_LINES
- See Also:
-
EXPORT_BANNER
- See Also:
-
IMPORT_BANNER
- See Also:
-
PROFILING_32_EXPORT
- See Also:
-
PROFILING_32_IMPORT
- See Also:
-
PROFILING_EXPORT
- See Also:
-
PROFILING_IMPORT
- See Also:
-
COMPARE
- See Also:
-
ABSOLUTE_COMPARING
- See Also:
-
DIFF_COMPARING
- See Also:
-
COMPARE_BANNER
- See Also:
-
RENAME
- See Also:
-
SERVER16
- See Also:
-
SERVER_MOBILE_STANDALONE16
- See Also:
-
CLIENT16
- See Also:
-
ABSOLUTE_DIFF
- See Also:
-
GROWTH_RATE
- See Also:
-
FILTER_BY_DIFF
- See Also:
-
ENABLED
- See Also:
-
ENABLED_HIGH_CONTRAST
- See Also:
-
DISABLED
- See Also:
-
-
Constructor Details
-
ProfilingUIPlugin
public ProfilingUIPlugin()
-
-
Method Details
-
start
- Specified by:
start
in interfaceorg.osgi.framework.BundleActivator
- Overrides:
start
in classorg.eclipse.ui.plugin.AbstractUIPlugin
- Throws:
Exception
-
stop
- Specified by:
stop
in interfaceorg.osgi.framework.BundleActivator
- Overrides:
stop
in classorg.eclipse.ui.plugin.AbstractUIPlugin
- Throws:
Exception
-
getDefault
Returns the shared instance- Returns:
- the shared instance
-
getInjector
public com.google.inject.Injector getInjector()Creates Guice injector (if not created yet) and returns it.- Returns:
- Guice injector. Never
null
.
-
getImage
Get image from image registry.- Parameters:
id
- id of image to get, cannot benull
- Returns:
- image
-
getImageDescriptor
Get image descriptor from image registry.- Parameters:
id
- id of image to get descriptor of, cannot benull
- Returns:
- image descriptor
-
log
public static void log(org.eclipse.core.runtime.IStatus status) Logs the specified status with this plug-in's log.- Parameters:
status
- status to log, cannot benull
-
createErrorStatus
public static org.eclipse.core.runtime.IStatus createErrorStatus(String message, Throwable throwable) Create error status, based on given message and throwable.- Parameters:
message
- message, cannot benull
throwable
- throwable, can benull
if no needed- Returns:
- error status, based on given message and throwable, never
null
-
initializeImageRegistry
protected void initializeImageRegistry(org.eclipse.jface.resource.ImageRegistry reg) - Overrides:
initializeImageRegistry
in classorg.eclipse.ui.plugin.AbstractUIPlugin
-