org.eclipse.stp.core.internal
Class STPCorePlugin

java.lang.Object
  extended by org.eclipse.emf.common.EMFPlugin
      extended by org.eclipse.stp.core.internal.STPCorePlugin
All Implemented Interfaces:
org.eclipse.emf.common.util.Logger, org.eclipse.emf.common.util.ResourceLocator

public class STPCorePlugin
extends org.eclipse.emf.common.EMFPlugin


Nested Class Summary
static class STPCorePlugin.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 java.lang.String copyright
           
static STPCorePlugin 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
STPCorePlugin()
           
 
Method Summary
static org.eclipse.core.runtime.IStatus createErrorStatus(int aCode, java.lang.String aMessage, java.lang.Throwable exception)
           
static org.eclipse.core.runtime.IStatus createErrorStatus(java.lang.String aMessage, java.lang.Throwable exception)
           
static org.eclipse.core.runtime.IStatus createStatus(int severity, int aCode, java.lang.String aMessage, java.lang.Throwable exception)
           
static STPCorePlugin.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.
static void log(int severity, int aCode, java.lang.String aMessage, java.lang.Throwable exception)
           
static void log(org.eclipse.core.runtime.IStatus aStatus)
           
static void logError(int aCode, java.lang.String aMessage, java.lang.Throwable anException)
           
 
Methods inherited from class org.eclipse.emf.common.EMFPlugin
getBaseURL, getImage, getPluginLogger, getString, 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

copyright

public static final java.lang.String copyright

See Also:
Constant Field Values

PLUGIN_ID

public static java.lang.String PLUGIN_ID
The plugin id.


INSTANCE

public static final STPCorePlugin INSTANCE
Keep track of the singleton.

Constructor Detail

STPCorePlugin

public STPCorePlugin()
Method Detail

getPluginResourceLocator

public org.eclipse.emf.common.util.ResourceLocator getPluginResourceLocator()
Returns the singleton instance of the Eclipse plugin.

Specified by:
getPluginResourceLocator in class org.eclipse.emf.common.EMFPlugin
Returns:
the singleton instance.

getPlugin

public static STPCorePlugin.Implementation getPlugin()
Returns the singleton instance of the Eclipse plugin.

Returns:
the singleton instance.

logError

public static void logError(int aCode,
                            java.lang.String aMessage,
                            java.lang.Throwable anException)

log

public static void log(int severity,
                       int aCode,
                       java.lang.String aMessage,
                       java.lang.Throwable exception)

log

public static void log(org.eclipse.core.runtime.IStatus aStatus)

createStatus

public static org.eclipse.core.runtime.IStatus createStatus(int severity,
                                                            int aCode,
                                                            java.lang.String aMessage,
                                                            java.lang.Throwable exception)

createErrorStatus

public static org.eclipse.core.runtime.IStatus createErrorStatus(int aCode,
                                                                 java.lang.String aMessage,
                                                                 java.lang.Throwable exception)

createErrorStatus

public static org.eclipse.core.runtime.IStatus createErrorStatus(java.lang.String aMessage,
                                                                 java.lang.Throwable exception)