public class EmfUtilPlugin extends Plugin
Modifier and Type | Field and Description |
---|---|
static String |
ID |
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME
Constructor and Description |
---|
EmfUtilPlugin()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
static BasicDiagnostic |
createDiagnostic(String message) |
static Diagnostic |
createErrorDiagnostic(String message,
Throwable throwable) |
static Diagnostic |
createWarnDiagnostic(String message) |
static EmfUtilPlugin |
getDefault()
Returns the shared instance.
|
static boolean |
isSuccess(Diagnostic diagnostic)
Indicates that the given diagnostic is neither error or canceled.
|
static void |
log(Throwable e) |
void |
start(org.osgi.framework.BundleContext context)
This method is called upon plug-in activation
|
void |
stop(org.osgi.framework.BundleContext context)
This method is called when the plug-in is stopped
|
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, startup, toString
public static final String ID
public void start(org.osgi.framework.BundleContext context) throws Exception
public void stop(org.osgi.framework.BundleContext context) throws Exception
public static EmfUtilPlugin getDefault()
public static void log(Throwable e)
public static BasicDiagnostic createDiagnostic(String message)
public static Diagnostic createErrorDiagnostic(String message, Throwable throwable)
public static Diagnostic createWarnDiagnostic(String message)
public static boolean isSuccess(Diagnostic diagnostic)
diagnostic
- the diagnostic to testtrue
in case of success, false
otherwiseCopyright © 2008, 2018 Borland Software Corporation and others. All Rights Reserved.