Java jp.carabiner.treeeditor.js.JSRunner
import jp.carabiner.treeeditor.js.JSRunner; ... JSRunner runner = window.getJSRunner();
public class JSSampleTask implements jp.carabiner.treeeditor.js.JSRunnable { public void run(org.mozilla.javascript.Context context, org.mozilla.javascript.Scriptable scope) { JSDocument document = jp.carabiner.treeeditor.js.JSUtils.getJSDocument(scope); JSWindow window = jp.carabiner.treeeditor.js.JSUtils.getJSWindow(scope); // 処理 } }
import jp.carabiner.treeeditor.js.JSRunner; ... JSRunner runner = window.getCore().getJSRunner(); runner.invokeAndWait(new JSSampleTask());
Java jp.carabiner.treeeditor.js.JSRunnable
Java jp.carabiner.treeeditor.js.JSUtils