org.springframework.extensions.webscripts
Class ScriptDebugger

java.lang.Object
  extended by org.springframework.extensions.webscripts.ScriptDebugger
All Implemented Interfaces:
Runnable

public class ScriptDebugger
extends Object
implements Runnable

Alfresco implementation of Rhino JavaScript debugger

Author:
davidc

Nested Class Summary
static class ScriptDebugger.AlfrescoScopeProvider
           
 
Field Summary
protected  org.mozilla.javascript.tools.debugger.Dim dim
           
 
Constructor Summary
ScriptDebugger()
           
 
Method Summary
 void activate()
          Activate the Debugger
protected  String getTitle()
           
 void hide()
          Hide the Debugger
protected  void initDebugger()
           
 boolean isActive()
          Is Debugger active?
 boolean isVisible()
          Is Debugger visible?
 void run()
          Exit action.
 void show()
          Show the debugger
 void start()
          Start the Debugger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dim

protected org.mozilla.javascript.tools.debugger.Dim dim
Constructor Detail

ScriptDebugger

public ScriptDebugger()
Method Detail

initDebugger

protected void initDebugger()

start

public void start()
Start the Debugger


activate

public void activate()
Activate the Debugger


getTitle

protected String getTitle()

show

public void show()
Show the debugger


hide

public void hide()
Hide the Debugger


isVisible

public boolean isVisible()
Is Debugger visible?

Returns:

isActive

public boolean isActive()
Is Debugger active?

Returns:

run

public void run()
Exit action.

Specified by:
run in interface Runnable


Copyright © 2009 SpringSource, Inc. All Rights Reserved.