Lists Home |
Date Index |
- From: Peter Murray-Rust <firstname.lastname@example.org>
- To: email@example.com
- Date: Mon, 27 Apr 1998 20:36:51
At 21:30 27/04/98 +0800, James K. Tauber wrote:
>What I am envisaging is a generic editor that given an editing sheet for
>MathML would become an equation editor or given an editing sheet CML would
>enable editing of molecular structure diagrams. Of course, such editing
>sheets would include code but that code would presumable have a lot of
>overlap with the code attached to XSL stylesheets for display. I would
>imagine Java Classes, for example with both display and editing interfaces
>for this purpose.
I have thought about this a lot and have been working on about the third
version for CML support. Say we are working at a node-centered level - e.g.
the DOM/JUMBO or whatever knows about <MOL>...</MOL> but there is no point
in either a tree- or eventstream display or editing of the children. We
click on <MOL> and might expect the following types of functionality:
- display() // to anywhere , probably a new JFrame
- getDisplayComponent(boolean editable) // returns a JComponent which
// can be embedded in a TabbedPane, Table, etc.
- highlight(String foreignAddress); highlights a subcomponent of the
object (e.g. an atom in a molecule)
- drawToGraphics(Graphics g, Scaler s);
// draw onto an exiting graphics so that many objects can be rendered.
Scaler is a GKS-like scaling (I expect Java2D will supersede that)
This could be very general - it would allow a molecule and a maths eqn to
be draw to the same surface, either to be edited, parts of them to be
I am reasonably confident this will work - if others are interested in
following this discussion I'd be delighted.
>Is anyone working on this sort of thing?
>James Tauber / firstname.lastname@example.org
>Perth, Western Australia
>XML Pages: http://www.jtauber.com/xml/
>xml-dev: A list for W3C XML Developers. To post, mailto:email@example.com
>Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
>To (un)subscribe, mailto:firstname.lastname@example.org the following message;
>To subscribe to the digests, mailto:email@example.com the following message;
>List coordinator, Henry Rzepa (mailto:firstname.lastname@example.org)
Peter Murray-Rust, Director Virtual School of Molecular Sciences, domestic
VSMS http://www.nottingham.ac.uk/vsms, Virtual Hyperglossary
xml-dev: A list for W3C XML Developers. To post, mailto:email@example.com
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:firstname.lastname@example.org the following message;
To subscribe to the digests, mailto:email@example.com the following message;
List coordinator, Henry Rzepa (mailto:firstname.lastname@example.org)