nemi
Class TextPaneJythonConsole

public class TextPaneJythonConsole
extends javax.swing.JTextPane
An interactive console that supports Jython evaluation, nesting of commands, and completion.

This is based heavily on Javier Iglesias's code, provided as part of GUESS system We cleaned up the code, removed features that weren't needed for our interpreter, and added completion. (see http://www.hpl.hp.com/research/idl/projects/graphs/) Their copyright notice follows

The text pane that implement short-cut and general behaviour from a bash interpreter.

Copyright (C) 2003, 2004 Javier Iglesias.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Version:
$Id: TextPaneJythonConsole.java 74 2006-02-02 18:21:17Z sundsdal $
Author:
javier iglesias <javier.iglesias@alawa.ch>
Constructor Detail

TextPaneJythonConsole

public TextPaneJythonConsole(org.python.util.PythonInterpreter jython)
A set of document and writer, wrapping around a Jython interpreter