|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.common.EMFPlugin
org.eclipse.gmt.umlx.UmlxPlugin
public class UmlxPlugin
This is the central singleton for the Umlx plugin.
Nested Class Summary | |
---|---|
static class |
UmlxPlugin.Implementation
The actual implementation of the Eclipse Plugin. |
Nested classes/interfaces inherited from class org.eclipse.emf.common.EMFPlugin |
---|
org.eclipse.emf.common.EMFPlugin.EclipsePlugin, org.eclipse.emf.common.EMFPlugin.InternalHelper |
Field Summary | |
---|---|
static IEnvironment |
environment
An external environment (that may be varied for unit testing). |
static UmlxPlugin |
INSTANCE
Keep track of the singleton. |
static java.lang.String |
PLUGIN_ID
The plugin id |
Fields inherited from class org.eclipse.emf.common.EMFPlugin |
---|
IS_ECLIPSE_RUNNING |
Constructor Summary | |
---|---|
UmlxPlugin()
Create the instance. |
Method Summary | |
---|---|
static void |
debugPrintln(java.lang.String message)
Output a message for debug tracing. |
static java.lang.Object |
getClipboardContents()
|
static UmlxPlugin.Implementation |
getPlugin()
Returns the singleton instance of the Eclipse plugin. |
org.eclipse.emf.common.util.ResourceLocator |
getPluginResourceLocator()
Returns the singleton instance of the Eclipse plugin. |
java.lang.String |
getString(java.lang.String key)
|
static boolean |
isDebugExecution()
Return true if command execution tracing enabled |
static boolean |
isDebugMarker()
Return true if marker creation/deletion tracing enabled |
static boolean |
isDebugNotification()
Return true if notification dispatch tracing enabled |
static boolean |
isDebugNotificationEventType()
Return true if notification event type print-out enabled |
static boolean |
isDebugNotifier()
Return true if notifier registration tracing enabled |
static boolean |
isDebugRefresh()
Return true if refresh dispatch tracing enabled |
static boolean |
isDebugRegimeLoad()
Return true if regime load tracing enabled |
static boolean |
isDebugSelection()
Return true if selection tracing enabled |
static boolean |
isDebugViewRegistration()
Return true if view registration tracing enabled |
static void |
log(org.eclipse.core.runtime.IStatus status,
boolean showErrorDialog)
|
static void |
logBug(java.lang.String string)
|
static void |
logBug(java.lang.String string,
java.lang.Throwable e)
|
static void |
logError(java.lang.String string)
|
static void |
logError(java.lang.String string,
java.lang.Throwable e)
|
static void |
logException(java.lang.Throwable e,
boolean showErrorDialog)
|
static org.eclipse.core.runtime.CoreException |
newBug(java.lang.String text,
java.lang.Throwable exception)
Return a CoreException with Bug severity containing a text description and optionally wrapping a further exception. |
static org.eclipse.core.runtime.CoreException |
newError(java.lang.String text,
java.lang.Throwable exception)
Return a CoreException with Error severity containing a text description and optionally wrapping a further exception. |
static void |
openError(java.lang.String errorMessage)
|
static void |
openError(java.lang.String errorMessage,
java.lang.Throwable throwable)
|
static void |
openMessage(java.lang.String message)
|
static void |
setClipboardContents(java.lang.Object contents)
|
static void |
setDebugExecution(boolean debug)
Configure the command execution tracing option. |
static void |
setDebugMarker(boolean debug)
Configure the marker creation/deletion tracing option. |
static void |
setDebugNotification(boolean debug)
Configure the notification dispatch tracing option. |
static void |
setDebugNotificationEventType(boolean debug)
Configure the notifier event type print-out option. |
static void |
setDebugNotifier(boolean debug)
Configure the notifier registration tracing option. |
static void |
setDebugRefresh(boolean debug)
Configure the refresh dispatch tracing option. |
static void |
setDebugRegimeLoad(boolean debug)
Configure the regime load tracing option. |
static void |
setDebugSelection(boolean debug)
Configure the selection tracing option. |
static void |
setDebugViewRegistration(boolean debug)
Configure the view registration tracing option. |
void |
setOptions()
Set the configured debug options. |
static void |
showStatus(org.eclipse.core.runtime.IStatus status)
|
Methods inherited from class org.eclipse.emf.common.EMFPlugin |
---|
getBaseURL, getImage, getPluginLogger, getString, getString, getString, getSymbolicName, log, setShouldTranslate, shouldTranslate |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final UmlxPlugin INSTANCE
public static final java.lang.String PLUGIN_ID
public static IEnvironment environment
Constructor Detail |
---|
public UmlxPlugin()
Method Detail |
---|
public static void debugPrintln(java.lang.String message)
message
- public static java.lang.Object getClipboardContents()
public static UmlxPlugin.Implementation getPlugin()
public org.eclipse.emf.common.util.ResourceLocator getPluginResourceLocator()
getPluginResourceLocator
in class org.eclipse.emf.common.EMFPlugin
public java.lang.String getString(java.lang.String key)
getString
in interface org.eclipse.emf.common.util.ResourceLocator
getString
in class org.eclipse.emf.common.EMFPlugin
public static boolean isDebugExecution()
public static boolean isDebugMarker()
public static boolean isDebugNotification()
public static boolean isDebugNotificationEventType()
public static boolean isDebugNotifier()
public static boolean isDebugRefresh()
public static boolean isDebugRegimeLoad()
public static boolean isDebugSelection()
public static boolean isDebugViewRegistration()
public static void log(org.eclipse.core.runtime.IStatus status, boolean showErrorDialog)
public static void logBug(java.lang.String string)
public static void logBug(java.lang.String string, java.lang.Throwable e)
public static void logError(java.lang.String string)
public static void logError(java.lang.String string, java.lang.Throwable e)
public static void logException(java.lang.Throwable e, boolean showErrorDialog)
public static org.eclipse.core.runtime.CoreException newBug(java.lang.String text, java.lang.Throwable exception)
text
- description of exceptionexception
- optional wrapped exceptionpublic static org.eclipse.core.runtime.CoreException newError(java.lang.String text, java.lang.Throwable exception)
text
- description of exceptionexception
- optional wrapped exceptionpublic static void openError(java.lang.String errorMessage)
public static void openError(java.lang.String errorMessage, java.lang.Throwable throwable)
public static void openMessage(java.lang.String message)
public static void setClipboardContents(java.lang.Object contents)
public static void setDebugExecution(boolean debug)
debug
- true to enable debug tracingpublic static void setDebugMarker(boolean debug)
debug
- true to enable debug tracingpublic static void setDebugNotification(boolean debug)
debug
- true to enable debug tracingpublic static void setDebugNotifier(boolean debug)
debug
- true to enable debug tracingpublic static void setDebugNotificationEventType(boolean debug)
debug
- true to enable debug tracingpublic static void setDebugRefresh(boolean debug)
debug
- true to enable debug tracingpublic static void setDebugRegimeLoad(boolean debug)
debug
- true to enable debug tracingpublic static void setDebugSelection(boolean debug)
debug
- true to enable debug tracingpublic static void setDebugViewRegistration(boolean debug)
debug
- true to enable debug tracingpublic void setOptions()
public static void showStatus(org.eclipse.core.runtime.IStatus status)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |