Lines Matching refs:scope
58 return scope;
77 + public void openFile(URL scriptUrl, Scriptable scope, Runnable closeCallback) {
78 + debugGui.openFile(scriptUrl, scope, closeCallback);
122 + * Evaluates the given script with scope and return value.
124 + public Object evalScriptWithReturn(final String url, final String text, Scriptable scope) {
128 + action.scope = scope;
150 + private Scriptable scope;
161 + return cx.evaluateString(this.scope, text, url, 1, null);
285 + public void openFile(URL scriptUrl, Scriptable scope, Runnable closeCallback) {
286 + if (scope == null) {
288 + "Can't compile scripts: no scope available",
296 + officeScripts.addScript( fileName, scriptUrl, scope, closeCallback );
349 + Scriptable scope = officeScripts.getScriptScope(key);
350 + if (scope == null)
352 + MessageDialogWrapper.showMessageDialog(this, "Can't load scripts: no scope availab…
365 + result = dim.evalScriptWithReturn(url, w.textArea.getText(), scope);
450 + proxy.scope = debugGui.officeScripts.getScriptScope(url);
645 + Scriptable scope;
654 + if (scope != null)
655 + debugGui.dim.evalScriptWithReturn(fileName, text, scope);
698 + public void addScript( URL url, Scriptable scope, Runnable closeCallback )
700 + addScript( url.toString(), url, scope, closeCallback );
703 + public void addScript( String key, URL url, Scriptable scope, Runnable closeCallback )
710 + si.scope = scope;
735 + result = info.scope;
785 + Scriptable scope;