Overview

 
Package  Use  Tree  Deprecated  Index  Help 
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD


 

org.eclipse.emf.codegen
Class CodeGenPlugin

java.lang.Object
  extended byorg.eclipse.emf.common.EMFPlugin
      extended byorg.eclipse.emf.codegen.CodeGenPlugin

All Implemented Interfaces:
Logger, ResourceLocator


public final class CodeGenPlugin
extends EMFPlugin

The Plugin for the model EMF.CodeGen library. 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 appopriate to the runtime. During stand-alone invocation no plugin initialization takes place. In this case, common.resources.jar must be on the CLASSPATH.

See Also:
INSTANCE


Nested Class Summary
static class CodeGenPlugin.Implementation
          The actual implementation of the Eclipse Plugin.
 
Nested classes inherited from class org.eclipse.emf.common.EMFPlugin
EMFPlugin.EclipsePlugin
 
Field Summary
static CodeGenPlugin INSTANCE
          The singleton instance of the plugin.
 
Fields inherited from class org.eclipse.emf.common.EMFPlugin
baseURL, delegateResourceLocators, images, resourceBundle, strings
 
Method Summary
static CodeGenPlugin.Implementation getPlugin()
          Returns the singleton instance of the Eclipse plugin.
 ResourceLocator getPluginResourceLocator()
          Returns an Eclipse plugin implementation of a resource locator.
static void write(Exception exception)
          Returns the singleton instance of the Eclipse plugin.
 
Methods inherited from class org.eclipse.emf.common.EMFPlugin
delegatedGetImage, delegatedGetString, doGetImage, getBaseURL, getImage, getPluginLogger, getString, getString, getSymbolicName, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

 

Field Detail

 

 

INSTANCE

public static final CodeGenPlugin INSTANCE

The singleton instance of the plugin.

Method Detail

 

 

getPluginResourceLocator

public ResourceLocator getPluginResourceLocator()

Description copied from class: EMFPlugin
Returns an Eclipse plugin implementation of a resource locator.

Specified by:
getPluginResourceLocator in class EMFPlugin

Returns:
an Eclipse plugin implementation of a resource locator.


 

 

getPlugin

public static CodeGenPlugin.Implementation getPlugin()

Returns the singleton instance of the Eclipse plugin.

Returns:
the singleton instance.


 

 

write

public static void write(Exception exception)

Returns the singleton instance of the Eclipse plugin.


 

Overview

 
Package  Use  Tree  Deprecated  Index  Help 
Copyright 2001-2004 IBM Corporation and others.
All Rights Reserved.
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD