Package com._1c.g5.v8.dt.internal.ide.ui
Class V8IdeUiPlugin
java.lang.Object
org.eclipse.core.runtime.Plugin
org.eclipse.ui.plugin.AbstractUIPlugin
com._1c.g5.v8.dt.internal.ide.ui.V8IdeUiPlugin
- All Implemented Interfaces:
org.osgi.framework.BundleActivator
public class V8IdeUiPlugin
extends org.eclipse.ui.plugin.AbstractUIPlugin
The activator class controls the plug-in life cycle
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields 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) static org.eclipse.core.runtime.IStatusstatic V8IdeUiPluginReturns the shared instancestatic org.eclipse.swt.graphics.ImageПолучение картинки по идентификаторуstatic org.eclipse.jface.resource.ImageDescriptorПолучение дескриптора картинки по идентификаторуstatic org.eclipse.core.resources.IWorkspaceprotected voidinitializeImageRegistry(org.eclipse.jface.resource.ImageRegistry reg) static voidlog(org.eclipse.core.runtime.IStatus status) voidstart(org.osgi.framework.BundleContext context) voidstop(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, 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:
-
ID_NAVIGATOR
- See Also:
-
T_OBJ16
- See Also:
-
T_ETOOL
- See Also:
-
T_WIZBAN
- See Also:
-
T_OVR16
- See Also:
-
IMG_OBJS_V8PROJECT
- See Also:
-
IMG_ETOOL_NEW_V8PROJECT
- See Also:
-
IMG_WIZBAN_NEW_V8PROJECT
- See Also:
-
IMG_EXTENSION_OVR
- See Also:
-
-
Constructor Details
-
V8IdeUiPlugin
public V8IdeUiPlugin()The constructor
-
-
Method Details
-
start
- Specified by:
startin interfaceorg.osgi.framework.BundleActivator- Overrides:
startin classorg.eclipse.ui.plugin.AbstractUIPlugin- Throws:
Exception
-
stop
- Specified by:
stopin interfaceorg.osgi.framework.BundleActivator- Overrides:
stopin classorg.eclipse.ui.plugin.AbstractUIPlugin- Throws:
Exception
-
getDefault
Returns the shared instance- Returns:
- the shared instance
-
getWorkspace
public static org.eclipse.core.resources.IWorkspace getWorkspace() -
log
public static void log(org.eclipse.core.runtime.IStatus status) -
createErrorStatus
-
createWarningStatus
-
getImage
Получение картинки по идентификатору- Parameters:
id- символьный идентификатор картинки- Returns:
- картинка или null, если для указанного идентификатора картинка не обнаружена
-
getImageDescriptor
Получение дескриптора картинки по идентификатору- Parameters:
id- символьный идентификатор картинки- Returns:
- дескриптор картинки или null, если для указанного идентификатора картинка не обнаружена
-
initializeImageRegistry
protected void initializeImageRegistry(org.eclipse.jface.resource.ImageRegistry reg) - Overrides:
initializeImageRegistryin classorg.eclipse.ui.plugin.AbstractUIPlugin
-