Eclipse Plugin to view Objects that return MathML toString()
Brought to you by:
maxberger
When working with mathematical objects in Java, one normally has to cope with a makeshift toString() method which does the best job possible of ASCII-formatting a representation of the state.
For example, you might represent a matrix like:
{
(1, 2),
(3, 4)
}
This is pretty lame in comparison to what JEuclid could render to the developer.
So, as an alternative we could consider that an Object could a full MathML XML document with its toString() method. Then, as long as there was a plugin for the debug window which understood MathML and could render it to the user, we could see a representation of the object in its full glory :)
Screenshot attached.
Interesting idea, and very nice. However, for the moment a little bit far out.
Prerequesite:
- Finally creating the SWT JEuclid component. This has not happend yet because SWT and Maven are still difficult to combine.
Once this is done, here are some useful links:
http://www.eclipse.org/articles/article.php?file=Article-Eclipse-and-Maven2/index.html
http://help.eclipse.org/stable/nftopic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/debug/ui/IDetailPaneFactory.html
http://help.eclipse.org/stable/nftopic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/debug/ui/IDetailPane2.html
http://wiki.eclipse.org/Debug_FAQ#What_are_detail_formatters.3F
This Feature is "HELP WANTED", meaning I would surely accept it, but cannot invest too much time in it.