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