[stringtemplate-interest] visualizer mockup
Sam Harwell
sharwell at pixelminegames.com
Mon Nov 23 11:46:39 PST 2009
This could be epic.
-----Original Message-----
From: stringtemplate-interest-bounces at antlr.org
[mailto:stringtemplate-interest-bounces at antlr.org] On Behalf Of Terence
Parr
Sent: Monday, November 23, 2009 12:35 PM
To: StringTemplate Mailing List
Subject: [stringtemplate-interest] visualizer mockup
Hiya...ST v3 has a nice XML tagged output that shows which template
generated which output. I'd like an interactive thing that's easier to
read for ST v4 I'm including a mockup.
It starts with a window with the generated output. As I mouse over a
section generated by a template, it highlights (one at a time) with a
box or whatever. I can collapse output for any expression/template. If
I hit "get info" key it would pop up a dialog showing the template
pattern and the attribute table (an inspector). It seems like I'd need
to detect mouse movement over a textpane and then expand and collapse
sections (hopefully w/o having to do much; perhaps replace the char
sequence with a new "collapse icon"). Intellij does it but I wonder how
much they rely on Swing to do the fancy stuff they do in a textpane.
Any thoughts about which components to use or avoid? Any architectural
suggestions? Everything would happen in the text pane, except for the
inspector which is probably a kind of treeview or something.
Gerald probably has lots of suggestions as he's done something similar I
think for Eclipse.
I can't get to this for a while, but wanna start thinking.
Thanks!
Ter
More information about the stringtemplate-interest
mailing list