View Single Post
  #7  
Old September 13th, 2006, 12:10 PM
Ed Kolis's Avatar

Ed Kolis Ed Kolis is offline
General
 
Join Date: Apr 2001
Location: Cincinnati, Ohio, USA
Posts: 4,547
Thanks: 1
Thanked 7 Times in 5 Posts
Ed Kolis is on a distinguished road
Default Re: Contemplating a graphical Templatizer...

Thread necromancy strikes again! :twisted:
I was thinking of returning the templatizer to Java, and making it more user-friendly, more along the lines of DavidG's SE4Modder. Version 6 (which is still in beta) of Java allows you to mix Java and Javascript (http://java.sun.com/developer/techni...ing/index.html for details), which means that I could have it so the user interface is in Java, but all the template code (the code that the user actually writes) is in Javascript. So you might have some field, say, Tonnage Structure, with a text box where you can type in a formula, or hit buttons to insert variables. Since Javascript in Java 6 can manipulate real Java objects, I might even make it so you can type field names (such as Tonnage) into other fields (such as Tonnage Structure) - or drag fields around - to make "references" between them. I'd have to prevent circular references, of course, but that shouldn't be too hard - just give each field a reference tree and make sure no object appears in its own reference tree!
Of course, this might all be rather irrelevant with SE5 coming out in the next month or so... any thoughts?
__________________
The Ed draws near! What dost thou deaux?
Reply With Quote