org.eclipse.emf.henshin
Class HenshinModelPlugin

java.lang.Object
  extended by org.eclipse.emf.common.util.DelegatingResourceLocator
      extended by org.eclipse.emf.common.EMFPlugin
          extended by org.eclipse.emf.henshin.HenshinModelPlugin
All Implemented Interfaces:
Logger, ResourceLocator

public class HenshinModelPlugin
extends EMFPlugin

Henshin model plug-in.


Nested Class Summary
static class HenshinModelPlugin.Implementation
          The actual implementation of the Eclipse Plugin.
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.EMFPlugin
EMFPlugin.EclipsePlugin, EMFPlugin.InternalEclipsePlugin, EMFPlugin.InternalHelper
 
Field Summary
static HenshinModelPlugin INSTANCE
          Static plug-in instance.
static String PLUGIN_ID
          Henshin model plug-in 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
 
Constructor Summary
HenshinModelPlugin()
          Default constructor.
HenshinModelPlugin(ResourceLocator[] delegateResourceLocators)
          Constructor.
 
Method Summary
 Map<String,HenshinModelExporter> getExporters()
          Get the map of registered exporters.
 Map<String,HenshinModelImporter> getImporters()
          Get the map of registered importers.
static HenshinModelPlugin.Implementation getPlugin()
           
 ResourceLocator getPluginResourceLocator()
           
 void logError(String message, Throwable t)
          Log an error message.
 void logInfo(String message)
          Log an info message.
 void logWarning(String message, Throwable t)
          Log a warning message.
 
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 String PLUGIN_ID
Henshin model plug-in ID.

See Also:
Constant Field Values

INSTANCE

public static final HenshinModelPlugin INSTANCE
Static plug-in instance.

Constructor Detail

HenshinModelPlugin

public HenshinModelPlugin()
Default constructor.


HenshinModelPlugin

public HenshinModelPlugin(ResourceLocator[] delegateResourceLocators)
Constructor.

Parameters:
delegateResourceLocators - Resource locators.
Method Detail

getImporters

public Map<String,HenshinModelImporter> getImporters()
Get the map of registered importers.

Returns:
Map of importers.

getExporters

public Map<String,HenshinModelExporter> getExporters()
Get the map of registered exporters.

Returns:
Map of exporters.

logInfo

public void logInfo(String message)
Log an info message.

Parameters:
message - The message.

logWarning

public void logWarning(String message,
                       Throwable t)
Log a warning message.

Parameters:
message - The message.
t - Exception.

logError

public void logError(String message,
                     Throwable t)
Log an error message.

Parameters:
message - The message.
t - Exception.

getPluginResourceLocator

public ResourceLocator getPluginResourceLocator()
Specified by:
getPluginResourceLocator in class EMFPlugin

getPlugin

public static HenshinModelPlugin.Implementation getPlugin()