Enabling users to create custom forms in RCP
I have an Eclipse RCP project, and I need to enable users to create custom views for our information. I see basically two options.
Embed VEP or some other visual GUI builder. It would need to be: easy enough to use; have some hooks to compile generated files and make them available to my application; localizable; and the license must permit such use. Which GUI builders satisfy these requirements?
Generate GUI on the fly from text files in a human-writable format (e.g. XML, but not necessarily). There are some libraries which do this: CookSWT, XSWT, JellySWT, SWTML. However, none of them seem to be actively developed at the moment, and some of them don't even allow event handlers (though this can be worked around). Are there开发者_运维问答 any projects I've missed? Which of them will work with the current SWT versions?
Option 2 seems both easier to get working and have less potential for bugs.
Finally, is there some better way than these 2?
Have you looked at redView? It comes with a GUI-designer.
精彩评论