Class HpwaUiPlugin
java.lang.Object
org.eclipse.core.runtime.Plugin
org.eclipse.ui.plugin.AbstractUIPlugin
com._1c.g5.v8.dt.internal.hpwa.ui.HpwaActivator
com._1c.g5.v8.dt.internal.hpwa.ui.HpwaUiPlugin
- All Implemented Interfaces:
org.osgi.framework.BundleActivator
The activator class controls the plug-in life cycle.
-
Field Summary
FieldsFields inherited from class com._1c.g5.v8.dt.internal.hpwa.ui.HpwaActivator
COM__1C_G5_V8_DT_HPWA_HPWAFields 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.IStatuscreateErrorStatus(String msg, Throwable e) Creates error status.static org.eclipse.core.runtime.IStatusCreates warning statusstatic org.eclipse.swt.graphics.ImageGets image.static org.eclipse.jface.resource.ImageDescriptorgetImageDescriptor(String symbolicName) Gets image descriptor.static voidlog(org.eclipse.core.runtime.IStatus status) Logs the given status.Methods inherited from class com._1c.g5.v8.dt.internal.hpwa.ui.HpwaActivator
getDefault, getEditingLanguageProvider, getInjector, getInjector, getRuntimeVersionSupport, start, stopMethods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, initializeImageRegistry, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, startupMethods inherited from class org.eclipse.core.runtime.Plugin
find, find, getBundle, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, toString
-
Field Details
-
PLUGIN_ID
- See Also:
-
-
Constructor Details
-
HpwaUiPlugin
public HpwaUiPlugin()
-
-
Method Details
-
log
public static void log(org.eclipse.core.runtime.IStatus status) Logs the given status.- Parameters:
status- the given status
-
createErrorStatus
Creates error status.- Parameters:
msg- the messagee- the throwable- Returns:
- the error status
-
createWarningStatus
Creates warning status- Parameters:
msg- the message- Returns:
- the warning status
-
getImage
Gets image.- Parameters:
symbolicName- the symbolic name- Returns:
- the image
-
getImageDescriptor
Gets image descriptor.- Parameters:
symbolicName- the symbolic name- Returns:
- the image descriptor
-