|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.core.runtime.Plugin
org.eclipse.ui.plugin.AbstractUIPlugin
net.bpelunit.framework.client.eclipse.BPELUnitActivator
public class BPELUnitActivator
The main plug-in class for the BPELUnit Eclipse client.
| Field Summary | |
|---|---|
static String |
BPELUNIT_CONSOLE_ID
|
static String |
BPELUNIT_COVERAGE_VIEW_ID
|
static String |
BPELUNIT_VIEW_ID
|
static String |
FRAMEWORK_BUNDLE_SYMBOLICNAME
|
static String |
IMAGE_BPEL
|
static String |
IMAGE_ERROR
|
static String |
IMAGE_INFO
|
static String |
IMAGE_WARNING
|
static int |
INTERNAL_ERROR
|
static String |
INTERNAL_ERROR_MESSAGE
|
static String |
PLUGIN_ID
|
| Fields inherited from class org.eclipse.core.runtime.Plugin |
|---|
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME |
| Constructor Summary | |
|---|---|
BPELUnitActivator()
|
|
| Method Summary | |
|---|---|
void |
deregisterLaunchSession(TestRunSession session)
Deregisters the a launch session from the UI. |
static org.eclipse.ui.IWorkbenchWindow |
getActiveWorkbenchWindow()
Returns the active workbench window |
EclipseBPELUnitRunner |
getBPELUnitCore()
Grab the BPEL Unit Core. |
static BPELUnitActivator |
getDefault()
Returns the shared instance |
static org.eclipse.swt.widgets.Display |
getDisplay()
Returns the current, or default display |
static org.eclipse.swt.graphics.Image |
getImage(String key)
Returns a managed image for the given key. |
static org.eclipse.jface.resource.ImageDescriptor |
getImageDescriptor(String path)
Returns an image descriptor for the image file at the given plug-in relative path |
static String |
getUniqueIdentifier()
Convenience method which returns the unique identifier of this plugin. |
void |
initializeCoverageResultView()
|
protected void |
initializeImageRegistry(org.eclipse.jface.resource.ImageRegistry reg)
Initializes the image registry |
static void |
log(org.eclipse.core.runtime.IStatus status)
Logs the specified status with this plug-in's log. |
static void |
log(Throwable e)
Logs an internal error with the specified throwable |
static void |
logErrorMessage(String message)
Logs an internal error with the specified message. |
void |
registerLaunchSession(TestRunSession session)
Registers a new launch session with the UI. |
void |
showCoverageResult(List<String> testCases,
List<net.bpelunit.framework.coverage.result.statistic.IFileStatistic> statistics,
String string)
|
void |
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 |
| Methods inherited from class org.eclipse.core.runtime.Plugin |
|---|
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String PLUGIN_ID
public static final String FRAMEWORK_BUNDLE_SYMBOLICNAME
public static final String BPELUNIT_VIEW_ID
public static final String BPELUNIT_COVERAGE_VIEW_ID
public static final String BPELUNIT_CONSOLE_ID
public static final int INTERNAL_ERROR
public static final String INTERNAL_ERROR_MESSAGE
public static final String IMAGE_INFO
public static final String IMAGE_WARNING
public static final String IMAGE_ERROR
public static final String IMAGE_BPEL
| Constructor Detail |
|---|
public BPELUnitActivator()
| Method Detail |
|---|
public static String getUniqueIdentifier()
public void start(org.osgi.framework.BundleContext context)
throws Exception
start in interface org.osgi.framework.BundleActivatorstart in class org.eclipse.ui.plugin.AbstractUIPluginException
public void stop(org.osgi.framework.BundleContext context)
throws Exception
stop in interface org.osgi.framework.BundleActivatorstop in class org.eclipse.ui.plugin.AbstractUIPluginExceptionpublic static BPELUnitActivator getDefault()
public static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(String path)
path - the path
public static void log(org.eclipse.core.runtime.IStatus status)
status - status to logpublic static void logErrorMessage(String message)
message - the error message to logpublic static void log(Throwable e)
e - the exception to be loggedpublic static org.eclipse.ui.IWorkbenchWindow getActiveWorkbenchWindow()
public void registerLaunchSession(TestRunSession session)
session - public void deregisterLaunchSession(TestRunSession session)
session -
public void showCoverageResult(List<String> testCases,
List<net.bpelunit.framework.coverage.result.statistic.IFileStatistic> statistics,
String string)
public EclipseBPELUnitRunner getBPELUnitCore()
throws IOException,
URISyntaxException,
net.bpelunit.framework.exception.ConfigurationException
URISyntaxException
IOException
net.bpelunit.framework.exception.ConfigurationExceptionpublic static org.eclipse.swt.widgets.Display getDisplay()
protected void initializeImageRegistry(org.eclipse.jface.resource.ImageRegistry reg)
initializeImageRegistry in class org.eclipse.ui.plugin.AbstractUIPluginpublic static org.eclipse.swt.graphics.Image getImage(String key)
key -
public void initializeCoverageResultView()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||