Class PythonScriptRegistry
java.lang.Object
org.eclipse.ease.debugging.ScriptRegistry
org.eclipse.ease.lang.python.debugger.PythonScriptRegistry
- All Implemented Interfaces:
IScriptRegistry,IPythonScriptRegistry
public class PythonScriptRegistry extends ScriptRegistry implements IPythonScriptRegistry
Default implementation of
IPythonScriptRegistry simply using maps to perform 1:1 mapping.-
Constructor Summary
Constructors Constructor Description PythonScriptRegistry() -
Method Summary
Methods inherited from class org.eclipse.ease.debugging.ScriptRegistry
getResource, getScriptMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.ease.debugging.IScriptRegistry
getResource, getScript
-
Constructor Details
-
PythonScriptRegistry
public PythonScriptRegistry()
-
-
Method Details
-
put
Description copied from interface:IScriptRegistryAdd a newScriptto the registry and store its mapping.- Specified by:
putin interfaceIScriptRegistry- Overrides:
putin classScriptRegistry- Parameters:
script- Script to be stored in registry.
-
getScript
Description copied from interface:IPythonScriptRegistry -
getReference
Description copied from interface:IPythonScriptRegistry- Specified by:
getReferencein interfaceIPythonScriptRegistry- Parameters:
script-Scriptto get referenceStringfor.- Returns:
- Reference
StringforScriptornullif no mapping found.
-