Class AppearanceTemplateUiPlugin
java.lang.Object
org.eclipse.core.runtime.Plugin
org.eclipse.ui.plugin.AbstractUIPlugin
com._1c.g5.v8.dt.internal.dcsat.ui.AppearanceTemplateUiPlugin
- All Implemented Interfaces:
- org.osgi.framework.BundleActivator
public class AppearanceTemplateUiPlugin
extends org.eclipse.ui.plugin.AbstractUIPlugin
The activator class controls the plug-in life cycle
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringThe plugin id.static 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.PluginPLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic org.eclipse.core.runtime.IStatuscreateErrorStatus(String msg, Throwable e) Create new error status with messagestatic AppearanceTemplateUiPluginReturns default plugin instance.static org.eclipse.swt.graphics.ImageReturns image.static org.eclipse.jface.resource.ImageDescriptorgetImageDescriptor(String symbolicName) Returns image descriptor.com.google.inject.InjectorReturns the Guice injector for the binary module.protected voidinitializeImageRegistry(org.eclipse.jface.resource.ImageRegistry reg) static voidlog(org.eclipse.core.runtime.IStatus status) Writes the given status to the log.voidstart(org.osgi.framework.BundleContext context) voidstop(org.osgi.framework.BundleContext context) Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugincreateImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, startupMethods inherited from class org.eclipse.core.runtime.Pluginfind, find, getBundle, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, toString
- 
Field Details- 
PLUGIN_IDThe plugin id.- See Also:
 
- 
ICONS_PATH- See Also:
 
- 
T_OBJ16- See Also:
 
- 
IMG_APPEARANCE_TEMPLATE- See Also:
 
- 
IMG_STANDARD_APPEARANCE_TEMPLATE- See Also:
 
- 
IMG_CLEAR_APPEARANCE_TEMPLATE- See Also:
 
- 
TEMPLATES_PATH- See Also:
 
- 
TEMPLATE_NONE_PATH- See Also:
 
- 
TEMPLATE_MAIN_PATH- See Also:
 
- 
TEMPLATE_GAUDY_PATH- See Also:
 
- 
TEMPLATE_SEA_PATH- See Also:
 
- 
TEMPLATE_ARCTIC_PATH- See Also:
 
- 
TEMPLATE_GREEN_PATH- See Also:
 
- 
TEMPLATE_ANTIQUE_PATH- See Also:
 
 
- 
- 
Constructor Details- 
AppearanceTemplateUiPluginpublic AppearanceTemplateUiPlugin()
 
- 
- 
Method Details- 
createErrorStatusCreate new error status with message
- 
getDefaultReturns default plugin instance.- Returns:
- the default plugin instance, cannot be null
 
- 
getImageReturns image.- Parameters:
- symbolicName- the name, cannot be- null
- Returns:
- the image, or null if none
 
- 
getImageDescriptorReturns image descriptor.- Parameters:
- symbolicName- the name, cannot be- null
- Returns:
- the image descriptor, or null if none
 
- 
logpublic static void log(org.eclipse.core.runtime.IStatus status) Writes the given status to the log.- Parameters:
- status- is the- IStatus, cannot be- null
 
- 
start- Specified by:
- startin interface- org.osgi.framework.BundleActivator
- Overrides:
- startin class- org.eclipse.ui.plugin.AbstractUIPlugin
- Throws:
- Exception
 
- 
stop- Specified by:
- stopin interface- org.osgi.framework.BundleActivator
- Overrides:
- stopin class- org.eclipse.ui.plugin.AbstractUIPlugin
- Throws:
- Exception
 
- 
getInjectorpublic com.google.inject.Injector getInjector()Returns the Guice injector for the binary module.- Returns:
- Injectorinstance, cannot be- null
 
- 
initializeImageRegistryprotected void initializeImageRegistry(org.eclipse.jface.resource.ImageRegistry reg) - Overrides:
- initializeImageRegistryin class- org.eclipse.ui.plugin.AbstractUIPlugin
 
 
-