Package com._1c.g5.v8.dt.refactoring.ui
Class RefactoringUiPlugin
- java.lang.Object
-
- org.eclipse.core.runtime.Plugin
-
- org.eclipse.ui.plugin.AbstractUIPlugin
-
- com._1c.g5.v8.dt.refactoring.ui.RefactoringUiPlugin
-
- All Implemented Interfaces:
org.osgi.framework.BundleActivator
public class RefactoringUiPlugin extends org.eclipse.ui.plugin.AbstractUIPlugin
-
-
Constructor Summary
Constructors Constructor Description RefactoringUiPlugin()
The constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.eclipse.core.runtime.IStatus
createErrorStatus(String msg, Throwable e)
Create IStatus with error severitystatic org.eclipse.core.runtime.IStatus
createInfoStatus(String msg, Throwable e)
Create IStatus with info severitystatic RefactoringUiPlugin
getDefault()
Returns the shared instancestatic org.eclipse.jface.resource.ImageDescriptor
getImageDescriptor(String path)
Returns an image descriptor for the image file at the given plug-in relative pathprotected void
initializeImageRegistry(org.eclipse.jface.resource.ImageRegistry reg)
static void
log(org.eclipse.core.runtime.IStatus status)
Log specified IStatusstatic void
logError(Throwable e)
Log throwable with error severitystatic void
logInfo(String message)
Log message with info severityvoid
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
-
-
-
-
Field Detail
-
PLUGIN_ID
public static final String PLUGIN_ID
- See Also:
- Constant Field Values
-
T_OBJ
public static final String T_OBJ
- See Also:
- Constant Field Values
-
ICONS
public static final String ICONS
- See Also:
- Constant Field Values
-
IMG_OBJS_BM_OBJECT_TEXT_CONTENT_CHANGE
public static final String IMG_OBJS_BM_OBJECT_TEXT_CONTENT_CHANGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
start
public void start(org.osgi.framework.BundleContext context) throws Exception
- Specified by:
start
in interfaceorg.osgi.framework.BundleActivator
- Overrides:
start
in classorg.eclipse.ui.plugin.AbstractUIPlugin
- Throws:
Exception
-
stop
public void stop(org.osgi.framework.BundleContext context) throws Exception
- Specified by:
stop
in interfaceorg.osgi.framework.BundleActivator
- Overrides:
stop
in classorg.eclipse.ui.plugin.AbstractUIPlugin
- Throws:
Exception
-
getDefault
public static RefactoringUiPlugin getDefault()
Returns the shared instance- Returns:
- the shared instance
-
getImageDescriptor
public static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(String path)
Returns an image descriptor for the image file at the given plug-in relative path- Parameters:
path
- the path- Returns:
- the image descriptor
-
log
public static void log(org.eclipse.core.runtime.IStatus status)
Log specified IStatus- Parameters:
status
- the status to log
-
logError
public static void logError(Throwable e)
Log throwable with error severity- Parameters:
e
- the throwable to log
-
logInfo
public static void logInfo(String message)
Log message with info severity- Parameters:
message
- message to log
-
createErrorStatus
public static org.eclipse.core.runtime.IStatus createErrorStatus(String msg, Throwable e)
Create IStatus with error severity- Parameters:
msg
- the message to put into statuse
- the throwable to put into status- Returns:
- IStatus with error severity
-
createInfoStatus
public static org.eclipse.core.runtime.IStatus createInfoStatus(String msg, Throwable e)
Create IStatus with info severity- Parameters:
msg
- the message to put into statuse
- the throwable to put into status- Returns:
- IStatus with info severity
-
initializeImageRegistry
protected void initializeImageRegistry(org.eclipse.jface.resource.ImageRegistry reg)
- Overrides:
initializeImageRegistry
in classorg.eclipse.ui.plugin.AbstractUIPlugin
-
-