org.eclipse.emf.mwe.ui.debug.processing
Class PluginExtensionManager

java.lang.Object
  extended by org.eclipse.emf.mwe.ui.debug.processing.PluginExtensionManager

public class PluginExtensionManager
extends java.lang.Object

This class handles all handler and adapter extensions provided by other eclipse plugins.
It is implemented as a singleton, that is instantiated at first usage, what could be breakpoint toggling or debugger run.
The plugin adapters are collected at instantiation time, all handlers and runtime adapters will be collected during init, since they depend on the existence of a DebugModelManager.
Since there is a new DebugModelManager for every debugger run, the init method will be called multiple times.


Method Summary
 PluginAdapter getAdapterByResourceExtension(java.lang.String ext)
           
 PluginAdapter getAdapterByType(java.lang.String type)
           
static PluginExtensionManager getDefault()
           
 void init(DebugModelManager dmm, Connection connection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDefault

public static PluginExtensionManager getDefault()

init

public void init(DebugModelManager dmm,
                 Connection connection)
          throws org.eclipse.debug.core.DebugException
Throws:
org.eclipse.debug.core.DebugException

getAdapterByResourceExtension

public PluginAdapter getAdapterByResourceExtension(java.lang.String ext)

getAdapterByType

public PluginAdapter getAdapterByType(java.lang.String type)