org.eclipse.ocl.examples.common.plugin
Class OCLExamplesCommonPlugin.Implementation

java.lang.Object
  extended by org.eclipse.core.runtime.Plugin
      extended by org.eclipse.emf.common.EMFPlugin.EclipsePlugin
          extended by org.eclipse.ocl.examples.common.plugin.OCLExamplesCommonPlugin.Implementation
All Implemented Interfaces:
org.eclipse.emf.common.EMFPlugin.InternalEclipsePlugin, org.eclipse.emf.common.util.Logger, org.eclipse.emf.common.util.ResourceLocator, org.osgi.framework.BundleActivator
Enclosing class:
OCLExamplesCommonPlugin

public static class OCLExamplesCommonPlugin.Implementation
extends org.eclipse.emf.common.EMFPlugin.EclipsePlugin

The actual implementation of the Eclipse Plugin.


Field Summary
 
Fields inherited from class org.eclipse.emf.common.EMFPlugin.EclipsePlugin
helper
 
Fields inherited from class org.eclipse.core.runtime.Plugin
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME
 
Constructor Summary
OCLExamplesCommonPlugin.Implementation()
          Creates an instance.
 
Method Summary
 void logError(java.lang.String string, java.lang.Throwable e)
           
 void logException(java.lang.Throwable e)
           
 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.
 void start(org.osgi.framework.BundleContext context)
           
 
Methods inherited from class org.eclipse.emf.common.EMFPlugin.EclipsePlugin
doGetImage, getBaseURL, getImage, getString, getString, getString, getString, getSymbolicName, log
 
Methods inherited from class org.eclipse.core.runtime.Plugin
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, startup, stop, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OCLExamplesCommonPlugin.Implementation

public OCLExamplesCommonPlugin.Implementation()
Creates an instance.

Method Detail

logError

public void logError(java.lang.String string,
                     java.lang.Throwable e)

logException

public void logException(java.lang.Throwable e)

newError

public 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.

Parameters:
text - description of exception
exception - optional wrapped exception

start

public void start(org.osgi.framework.BundleContext context)
           throws java.lang.Exception
Specified by:
start in interface org.osgi.framework.BundleActivator
Overrides:
start in class org.eclipse.core.runtime.Plugin
Throws:
java.lang.Exception