Rozmiar pliku: 183,11 KB
Presented on the Ninth IASTED International Conference on Software Engineering and Applications (SEA’08). November 16 – 18, 2008, Orlando, Florida, USA. ISBN: 978-0-88986-776-5. pp. 112-117.
Creating GUIs for data-intense application is a time consuming task. A promising approach, saving the developer’s time, assumes a declarative way of generating such interfaces. In this paper we present an extended version of our library called the senseGUI. Using simple annotations of the source code, the library is able to automatically generate common business-oriented windows. As a result, an application’s user is able to create, update or just see appropriate parts of the data model. Moreover, the extended version of the library gives a programmer an easy way to internationalize the application’s interface, validate the input or create GUIs which are not connected to a formal model (a particular class). The simplest usage scenario requires only marking attributes or methods for which widgets should be created. It is also possible to define a more detailed description including different widgets for particular data items, the order of items, labels, etc. Contrary to many existing solutions, our proposal does not require complicated tools. The implemented prototype is dedicated for the Java language but could be easily ported to other languages like, for example, Microsoft C#.