From: Robert H. <ha...@st...> - 2010-09-15 15:33:22
|
Also, for now just subclass the consoles to put in anything you want. Then, if you have something you particularly like, we can add it to the standard consoles. The two consoles now are basically just "skins" overlaying the same background process. The application console has a few extra buttons -- undo/redo -- and the applet has a menu, and they have the two different formats -- single panel vs. split input/output panel. On Wed, Sep 15, 2010 at 10:30 AM, Robert Hanson <ha...@st...> wrote: > I can add one. Let's make a list of things we want with these consoles. > Maybe it's time for an upgrade. > > On Wed, Sep 15, 2010 at 4:03 AM, Jim Procter < > jpr...@co...> wrote: > >> Hi Bob - sorry I didn't get back to you yesterday... >> >> On 14/09/2010 01:12, Robert Hanson wrote: >> > Jim, I did some more streamlining. The way to get the app console now >> > is simply: >> > >> > AppConsole a = AppConsole(viewer, externalContainer, enabledButtons); >> > >> > Same for the applet, but without the enabledButtons: >> > >> > AppletConsole a = AppletConsole(viewer, externalContainer); >> > >> > >> > See what you think. >> >> I think its great :) Much simpler, and fits well with the common >> architecture I use for the Jmol binding in the applet and application >> versions of Jalview. I still had to add a listener to the >> externalContainer in order to make sure the (J)Panel containing the >> console was displayed when when it was made visible by Jmol, but that's >> far more elegant than my original 'proxy everything' solution. >> >> The only bit of fancy footwork now is to get the Jmol console to fit >> nicely in a window that's a little too small for it, but that's partly >> up to the user - since they can easily increase the window size >> themselves. There is one inconsistency, however. Unlike AppConsole, the >> AppletConsole doesn't have a hide or close button. Is there something I >> should be doing to make one appear ? >> >> Jim. >> >> -- >> ------------------------------------------------------------------- >> J. B. Procter (JALVIEW/ENFIN) Barton Bioinformatics Research Group >> Phone/Fax:+44(0)1382 388734/345764 http://www.compbio.dundee.ac.uk >> The University of Dundee is a Scottish Registered Charity, No. SC015096. >> >> >> >> ------------------------------------------------------------------------------ >> Start uncovering the many advantages of virtual appliances >> and start using them to simplify application deployment and >> accelerate your shift to cloud computing. >> http://p.sf.net/sfu/novell-sfdev2dev >> _______________________________________________ >> Jmol-developers mailing list >> Jmo...@li... >> https://lists.sourceforge.net/lists/listinfo/jmol-developers >> > > > > -- > 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 > -- 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 |