[was Jmol-users]

Li,

An interesting idea, to use the ScriptWindow console in other applications.
It was really designed as a Jmol application-specific class.

The public status of methods in Viewer are specific to how Jmol uses those.
Periodically people ask for classes to be made public, and I'm happy to do
that. But it's very helpful from a development perspective to have them
private or "default" when that is applicable.

For Jmol 11.7.6, ScriptWindow.java the following are now public:

sendConsoleEcho
sendConsoleMessage
notifyScriptStart
notifyScriptTermination


Bob

On Fri, Oct 24, 2008 at 10:22 AM, Li Yang <[EMAIL PROTECTED]> wrote:

> Hi,
>
> I tried to embed Jmol 11.6 in my application. I also send script from my
> application to Jmol, and use Jmol consol window to show the scripts and the
> status. But several previously public methods are now protected:
>        notifyScriptStart()
>        notifyScriptTermination()
>        sendConsoleMessage(String strStatus)
>
> Are there special reasons to protect these methods? Is it possible to make
> them public again? If they can not be public, are there anyway to use the
> console window from outside the Jmol application?
>
> Thanks,
>
> Li Yang
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Jmol-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>



-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to