[
Lists Home |
Date Index |
Thread Index
]
- From: Peter Murray-Rust <peter@ursus.demon.co.uk>
- To: xml-dev@ic.ac.uk
- 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
highlighted, etc.
I am reasonably confident this will work - if others are interested in
following this discussion I'd be delighted.
P.
>
>Is anyone working on this sort of thing?
>
>James
>
>--
>James Tauber / jtauber@jtauber.com
>Perth, Western Australia
>XML Pages: http://www.jtauber.com/xml/
>
>
>xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
>Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
>To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
>(un)subscribe xml-dev
>To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
>subscribe xml-dev-digest
>List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)
>
>
Peter Murray-Rust, Director Virtual School of Molecular Sciences, domestic
net connection
VSMS http://www.nottingham.ac.uk/vsms, Virtual Hyperglossary
http://www.venus.co.uk/vhg
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)
|