Class BslUITemplatesPlugin
- java.lang.Object
-
- org.eclipse.core.runtime.Plugin
-
- org.eclipse.ui.plugin.AbstractUIPlugin
-
- com.e1c.g5.v8.dt.bsl.ui.templates.BslUITemplatesPlugin
-
- All Implemented Interfaces:
org.osgi.framework.BundleActivator
public class BslUITemplatesPlugin extends org.eclipse.ui.plugin.AbstractUIPluginThis class represents this plug-in. Shall not be created manually
-
-
Constructor Summary
Constructors Constructor Description BslUITemplatesPlugin()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.eclipse.core.runtime.IStatuscreateErrorStatus(String msg, Throwable e)Creates errorIStatusby the message andThrowablestatic org.eclipse.core.runtime.IStatuscreateWarningStatus(String msg)Creates warningIStatusby the messagestatic BslUITemplatesPlugingetDefault()Gets default implementationTemplateStorageManagerProvidergeTemplateStorageManagerProvider()Gets active instance ofTemplateStorageManagerProviderfor gettingTemplateStorageManagerstatic BslUITemplatesPlugingetInstance()This method shall be called to get instance of plug-instatic voidlog(org.eclipse.core.runtime.IStatus status)LogsIStatusvoidstart(org.osgi.framework.BundleContext bundleContext)voidstop(org.osgi.framework.BundleContext bundleContext)-
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
-
-
-
-
Field Detail
-
PLUGIN_ID
public static final String PLUGIN_ID
Plugin unique id- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static BslUITemplatesPlugin getInstance()
This method shall be called to get instance of plug-in- Returns:
- plug-in instance, cannot be
null
-
getDefault
public static BslUITemplatesPlugin getDefault()
Gets default implementation- Returns:
- default implementation, cannot
null
-
log
public static void log(org.eclipse.core.runtime.IStatus status)
LogsIStatus- Parameters:
status- loggingIStatus, cannot benull
-
createErrorStatus
public static org.eclipse.core.runtime.IStatus createErrorStatus(String msg, Throwable e)
Creates errorIStatusby the message andThrowable- Parameters:
msg- error message, cannot benulle- exception for creatingIStatus, can benull- Returns:
- created
IStatus, cannotnull
-
createWarningStatus
public static org.eclipse.core.runtime.IStatus createWarningStatus(String msg)
Creates warningIStatusby the message- Parameters:
msg- warning message, cannot benull- Returns:
- created
IStatus, cannotnull
-
start
public void start(org.osgi.framework.BundleContext bundleContext) throws Exception- Specified by:
startin interfaceorg.osgi.framework.BundleActivator- Overrides:
startin classorg.eclipse.ui.plugin.AbstractUIPlugin- Throws:
Exception
-
stop
public void stop(org.osgi.framework.BundleContext bundleContext) throws Exception- Specified by:
stopin interfaceorg.osgi.framework.BundleActivator- Overrides:
stopin classorg.eclipse.ui.plugin.AbstractUIPlugin- Throws:
Exception
-
geTemplateStorageManagerProvider
public TemplateStorageManagerProvider geTemplateStorageManagerProvider()
Gets active instance ofTemplateStorageManagerProviderfor gettingTemplateStorageManager- Returns:
- active instance of
TemplateStorageManagerProvider, nevernull
-
-