From: Karl Nicholas <karlnicholas@ho...> - 2002-09-11 22:26:54
I think beanshell would be a great addition to java editor.
I would add beanshell when you want users to do programming in your
application. For a word processor, a user might write a script that counts
the number of words, or converts areas. The trick to using beanshell is to
enhance it with a 'api' to your application. Very easily done. You might
provide a 'document' object for your users that write scripts that accesses
the current document. Then a script might look like.
list = Document.findAll( "wordtofind" );
Hope this helps.
FROM: Raymond LeeDATE: 09/06/2002 11:25:18SUBJECT: [Beanshell-dev] when to
integrate Beanshell in Java application?? I found many java application is
integrated with Beanshell. For example,
Jedit, Forte, and BEA weblogic. Why is that? What's the advantages of doing
that?? I found the macros in JEdit are written in beanshell. I
want to know when is the best way to take advantages of scripting language
like Beanshell when we develop Java application??
I am writing a Java text editer, that allows programmers to edit, compile,
and run java applications. Can I take advantage of Beanshell in my case??
Thanks a lot
MSN Photos is the easiest way to share and print your photos:
Get latest updates about Open Source Projects, Conferences and News.