EGF Engine
Release 0.1.0

org.eclipse.egf.mapping
Class EgfMappingActivator

java.lang.Object
  extended by Plugin
      extended by org.eclipse.egf.common.activator.AbstractActivator
          extended by org.eclipse.egf.mapping.EgfMappingActivator

public class EgfMappingActivator
extends AbstractActivator

The activator class controls the plug-in life cycle.


Constructor Summary
EgfMappingActivator()
           
 
Method Summary
static EgfMappingActivator getDefault()
          Returns the shared instance
 MappingServices getMappingServices(String mappingId_p)
          Returns the mapping services related to given mapping id.
 void start(BundleContext context_p)
           
 void stop(BundleContext context_p)
           
 
Methods inherited from class org.eclipse.egf.common.activator.AbstractActivator
getPluginID, log, log, log, log, log, log, log, newErrorStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EgfMappingActivator

public EgfMappingActivator()
Method Detail

start

public void start(BundleContext context_p)
           throws Exception
Throws:
Exception
See Also:
org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)

stop

public void stop(BundleContext context_p)
          throws Exception
Throws:
Exception
See Also:
org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)

getDefault

public static EgfMappingActivator getDefault()
Returns the shared instance

Returns:
the shared instance

getMappingServices

public MappingServices getMappingServices(String mappingId_p)
Returns the mapping services related to given mapping id.
The mapping id must be defined within a mapping located in a factory component either in the workspace or in the target platform.

Parameters:
mappingId_p -
Returns:
a MappingServices instance or null if not found.

EGF Engine
Release 0.1.0

Copyright (c) Thales Corporate Services S.A.S, 2009.

This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.