org.eclipse.ocl.examples.emf.validation.validity.ui.plugin
Class ValidityUIPlugin

java.lang.Object
  extended by org.eclipse.emf.common.util.DelegatingResourceLocator
      extended by org.eclipse.emf.common.EMFPlugin
          extended by org.eclipse.ocl.examples.emf.validation.validity.ui.plugin.ValidityUIPlugin
All Implemented Interfaces:
org.eclipse.emf.common.util.Logger, org.eclipse.emf.common.util.ResourceLocator

public final class ValidityUIPlugin
extends org.eclipse.emf.common.EMFPlugin

The Plugin for the model Validation UI. EMF must run within an Eclipse workbench, within a headless Eclipse workspace, or just stand-alone as part of some other application. To support this, all resource access should be directed to the resource locator, which can redirect the service as appropriate to the runtime. During stand-alone invocation no plugin initialization takes place. In this case, emf.edit.resources.jar must be on the CLASSPATH.

See Also:
INSTANCE

Nested Class Summary
static class ValidityUIPlugin.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.InternalEclipsePlugin, org.eclipse.emf.common.EMFPlugin.InternalHelper, org.eclipse.emf.common.EMFPlugin.OSGiDelegatingBundleActivator
 
Field Summary
static ValidityUIPlugin INSTANCE
          The singleton instance of the plugin.
static java.lang.String PLUGIN_ID
           
 
Fields inherited from class org.eclipse.emf.common.EMFPlugin
delegateResourceLocators, IS_ECLIPSE_RUNNING, IS_RESOURCES_BUNDLE_AVAILABLE
 
Fields inherited from class org.eclipse.emf.common.util.DelegatingResourceLocator
baseURL, images, resourceBundle, shouldTranslate, strings, untranslatedResourceBundle, untranslatedStrings
 
Method Summary
static ValidityUIPlugin.Implementation getPlugin()
          Returns the singleton instance of the Eclipse plugin.
 org.eclipse.emf.common.util.ResourceLocator getPluginResourceLocator()
           
 
Methods inherited from class org.eclipse.emf.common.EMFPlugin
getDelegateResourceLocators, getPluginLogger, getPrimaryResourceLocator, getSymbolicName, log, main
 
Methods inherited from class org.eclipse.emf.common.util.DelegatingResourceLocator
delegatedGetImage, delegatedGetString, doGetImage, doGetString, extensionFor, getBaseURL, getImage, getString, getString, getString, getString, setShouldTranslate, shouldTranslate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.common.util.ResourceLocator
getBaseURL, getImage, getString, getString, getString, getString
 

Field Detail

PLUGIN_ID

public static final java.lang.String PLUGIN_ID
See Also:
Constant Field Values

INSTANCE

public static final ValidityUIPlugin INSTANCE
The singleton instance of the plugin.

Method Detail

getPluginResourceLocator

public org.eclipse.emf.common.util.ResourceLocator getPluginResourceLocator()
Specified by:
getPluginResourceLocator in class org.eclipse.emf.common.EMFPlugin

getPlugin

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

Returns:
the singleton instance.