rero.client.script
Class ScriptManager
java.lang.Object
rero.client.Feature
rero.client.script.ScriptManager
- All Implemented Interfaces:
- ClientStateListener
public class ScriptManager
- extends Feature
- implements ClientStateListener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
loader
protected ScriptLoader loader
environment
protected Hashtable environment
lock
protected boolean lock
ScriptManager
public ScriptManager()
init
public void init()
- Specified by:
init in class Feature
storeDataStructures
public void storeDataStructures(WeakHashMap data)
- Overrides:
storeDataStructures in class Feature
hashScripts
public void hashScripts()
loadTheme
public void loadTheme(String filename)
addScript
public void addScript(String filename)
evalScript
public void evalScript(String code)
setDebug
public void setDebug(String filename,
String debuglevel)
evalString
public String evalString(String code)
reloadScript
public void reloadScript(String filename)
removeScript
public void removeScript(String filename)
loadLameScripts
public void loadLameScripts()
cleanup
public void cleanup()
- Description copied from class:
Feature
- execute any cleanup that needs to be done so we don't have memory leaks
- Overrides:
cleanup in class Feature
loadScripts
public void loadScripts()
propertyChanged
public void propertyChanged(String name,
String value)
- Description copied from interface:
ClientStateListener
- when the property gets changed you will be notified!
- Specified by:
propertyChanged in interface ClientStateListener
processScriptWarning
public void processScriptWarning(ScriptWarning warn)