Package org.eclipse.mat.dtfj
Class InitDTFJ
- java.lang.Object
-
- org.eclipse.core.runtime.Plugin
-
- org.eclipse.mat.dtfj.InitDTFJ
-
- All Implemented Interfaces:
java.util.EventListener
,IRegistryChangeListener
,org.osgi.framework.BundleActivator
public class InitDTFJ extends Plugin implements IRegistryChangeListener
Controls the loading of this plugin and finds the available DTFJ implementations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InitDTFJ.DynamicInfo
This is created and called from the MAT parser handling code It provides a list of parsers E.g.
-
Field Summary
-
Fields inherited from class org.eclipse.core.runtime.Plugin
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME
-
-
Constructor Summary
Constructors Constructor Description InitDTFJ()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getPreferenceStore()
void
registryChanged(IRegistryChangeEvent event)
DTFJ implementation added/removed.void
start(org.osgi.framework.BundleContext context)
Start the bundle - find DTFJ implementations and convert to parsers.void
stop(org.osgi.framework.BundleContext context)
Stop the bundle, deregister parsers associated with DTFJ.-
Methods inherited from class org.eclipse.core.runtime.Plugin
find, find, getBundle, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, startup, toString
-
-
-
-
Method Detail
-
start
public void start(org.osgi.framework.BundleContext context) throws java.lang.Exception
Start the bundle - find DTFJ implementations and convert to parsers. Register listener for new DTFJ implementations.
-
stop
public void stop(org.osgi.framework.BundleContext context) throws java.lang.Exception
Stop the bundle, deregister parsers associated with DTFJ. Deregister listener for new DTFJ implementations.
-
registryChanged
public void registryChanged(IRegistryChangeEvent event)
DTFJ implementation added/removed.- Specified by:
registryChanged
in interfaceIRegistryChangeListener
-
getPreferenceStore
public java.lang.Object getPreferenceStore()
-
-