****This is an edited version of a previous post****
So, I spent a bit of time this morning trying to clarify in my own mind further what I think would be beneficial here. To that end I came up with this...basically a program that will, to start, assist a Ruleset designer with the creation of Properties and Components. All of the Properties and Components will be tracked and saved in a neutral format. (Right now it's all Java [ugh, I know, but I can get something working quickly in it, especially GUI stuff, if I were to actually do this I'd probably use Python and wxPython or something like that, not entirely sure] and stores data as Properties files [ugh, but it works!]) The format that was used in the mtsec ruleset, i.e. all of the individual initialization functions for the properties and components lends itself well to auto-generation by the program following that format. I think that that would be quite easy to do, really. After the relationships betwee Properties and Components is tied down well I would like to move on to a TPCL editor type widget. Basically a formula editor, as I think of it, that's aware of all the Properties in the Ruleset and knows also about basic TPCL construct (cond, apply, yadda yadda yar) and can help people basically plug things in quickly without worrying about the code so much. Also built into that would be some sort of validation system I guess, though the specifics of that are beyond me right now, definately workable, though... Anyway, below are two screenshots showing what I've got working so far (ugh, Java. ugh, Windows...but look...not the default theme! And...don't worry...I have a linux box that I VNC into on my local network...I can just do stuff more rapidly in NetBeans and I wanted a psuedo-functional prototype here) http://www1.pacific.edu/~j-gardn1/tp/prop_edit_ex.png This is the editor window looking at a Property. Pretty simple, eh? http://www1.pacific.edu/~j-gardn1/tp/comp_edit_ex.png The editor window looking at a Component. The list of Properties grabs the property name from a table of PropIDs and PropNames. The add button would function by popping up a window of Properties that aren't yet associated with this Component. And of course there would need to be a way to edit the Property Value function. But...I figured I'd stop after four hours and make sure I wasn't barking up the wrong tree. Compiled jar and source can be found here: http://www1.pacific.edu/~j-gardn1/tp/RulesetDevEnv.zip (ack, zip! ack! so uncool) Anyway...is this what you're looking for? Or have I wandered off in my own space? Thanks, -Fro _______________________________________________ tp-devel mailing list [email protected] http://www.thousandparsec.net/tp/mailman.php/listinfo/tp-devel
