ANN: JinSitu 0.3 - Interactive introspection environment for Java and Jython

JinSitu - Interactive introspection environment for Java and Jython. The application includes a JScrapbook for evaluating jython code and a component for exploring an object tree. As you navigate through java classes and methods the corresponding javadoc is displayed. Evaluate your jython code using three different ways: CTRL+Return : Evaluate current line (inserts newline, like Interpreter) SHIFT+Return : Evaluate current selection CTRL+SHIFT+Return : Evaluate complete buffer Press 'F5' to update the object tree display. Embed JinSitu in your application like follows (adapt to your needs): #------------------------- my_locals = { 'p': p, 'graph': graph } # doc_url = "file:///D:/Programme/jdk1.3.1_01/docs/api/" # windows path # doc_url = "file:///home/mkrause/j/jdk1.3.1_01/docs/api/" # unix path # doc_url = "http://java.sun.com/j2se/1.3/docs/api/" # http doc_url = { # multiple doc paths using class prefixes 'default' : "file:///D:/Programme/jdk1.3.1_01/docs/api/", 'javax.mail' : "file:///C:/j2sdkee1.3.1/doc/api/" } from jinsitu.JinSitu import JinSituApp js = JinSituApp(locals=my_locals, doc_url=doc_url) js.show_in_frame(size=(1260, 950), exitOnClose=1) #------------------------- This example is from the included Graph.py which is the example in Demo\awt from the jython distribution enhanced with JinSitu. NOTES - a bigger jython example instead of Graph.py is needed to demonstrate the JinSitu features. HISTORY 0.3 improved speed of tree view values of protected and private fields are displayed changes in the local namespace are immediately displayed in the tree view tree view remembers expanded nodes on refresh and update fixed evaluation of multiple dependend code lines fixed refresh of the tree view for JDK 1.4 0.2 feature multiple doc paths (Brad Clements) 0.1 initial release to the public CREDITS The icons are used with permission from Karmira's Bugseeker2. WEB SITE http://www.krause-software.de/jinsitu/ AUTHOR Michael Krause <michael@krause-software.de> LICENSE Copyright (c) 2001 Michael Krause Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -- - Michael Krause - Email michael@krause-software.de
participants (1)
-
Michael Krause