Package org.palladiosimulator.edp2
Class EDP2Plugin
- java.lang.Object
-
- org.eclipse.core.runtime.Plugin
-
- org.palladiosimulator.edp2.EDP2Plugin
-
- All Implemented Interfaces:
org.osgi.framework.BundleActivator
public class EDP2Plugin extends Plugin
The EDP2 plugin. The plugin persists created Repositories in its meta data location and allows to access these.
-
-
Field Summary
Fields Modifier and Type Field Description static EDP2Plugin
INSTANCE
Instance of this plugin.static String
PLUGIN_ID
The plug-in ID.-
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 EDP2Plugin()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Repositories
getRepositories()
Central method for receiving repositories.void
start(org.osgi.framework.BundleContext context)
void
stop(org.osgi.framework.BundleContext context)
-
Methods inherited from class org.eclipse.core.runtime.Plugin
find, find, getBundle, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, startup, toString
-
-
-
-
Field Detail
-
PLUGIN_ID
public static final String PLUGIN_ID
The plug-in ID.- See Also:
- Constant Field Values
-
INSTANCE
public static EDP2Plugin INSTANCE
Instance of this plugin.
-
-
Method Detail
-
start
public void start(org.osgi.framework.BundleContext context) throws Exception
-
stop
public void stop(org.osgi.framework.BundleContext context) throws Exception
-
getRepositories
public Repositories getRepositories()
Central method for receiving repositories.- Returns:
- The Repositories instance containing all available repositories.
-
-