Package org.eclipse.ease.debugging
Class ScriptRegistry
java.lang.Object
org.eclipse.ease.debugging.ScriptRegistry
- All Implemented Interfaces:
IScriptRegistry
- Direct Known Subclasses:
PythonScriptRegistry
Default implementation of
IScriptRegistry simply using maps to perform 1:1 mapping.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ScriptRegistry
public ScriptRegistry()
-
-
Method Details
-
getScript
Description copied from interface:IScriptRegistry -
getResource
Description copied from interface:IScriptRegistry- Specified by:
getResourcein interfaceIScriptRegistry- Parameters:
script-Scriptto getIResourcefor.- Returns:
IResourceidentified byScriptornullif no mapping found.
-
put
Description copied from interface:IScriptRegistryAdd a newScriptto the registry and store its mapping.- Specified by:
putin interfaceIScriptRegistry- Parameters:
script- Script to be stored in registry.
-