|Populating a drop down list with existing classes [message #1175643]
||Thu, 07 November 2013 17:25
| Gary Worsham
Registered: September 2013
I'm working on some code generators with Xtext and Xtend. One of the DSLs I created creates Java code for Swing JMenu entries which map to specific classes in a specific package.|
A better solution would be some sort of graphical editor, like ECore diagrammer, where I could create a top-level menu, then add a bunch of menu entries. Each menu entry would require a user-supplied name (to put in the menu) and reference to a specific class. The classes to be offered in the drop down would match a specific naming convention (*.CADBlock.class) and be in a specific package.
Using Xtext and Xtend to parse a menu definition file is OK, but i still have to type in the class names by hand which is tedious and error prone.
Any suggestions as to which tool would be good for this?
Powered by FUDForum
. Page generated in 0.11577 seconds