Eclipse Rich Beans

Primary tabs

This project allows user interfaces to be created from beans or graphs of beans. The user interface available has standard widgets which have few dependencies to reuse. For instance there are widgets for editing numbers with bounds validation, units and that allow expressions of other boxes. There are widgets for entering a range of values and expanding out bean graphs to complete Design of Experiments work.

The API will be simple to use, have great widgets for science and be fast for huge field lists. So even though it is a minnow in the world of models, data binding and UI generation, it has some strong points.

Screenshots from three of the examples:

UI

BEAN GRAPH

publicclass ExampleBean {

private List<ExampleItem> items;

//…

publicclass ExampleItem {

publicenum ItemChoice {

XY, POLAR;

publicstatic Map<String, ItemChoice> names() {

final Map<String,ItemChoice> ret = new HashMap<String,ItemChoice>(2);

ret.put("X-Y Graph", XY);

ret.put("Polar", POLAR);

return ret;

}

}

private String itemName;

private ItemChoice choice = ItemChoice.XY;

private Double x,y;

privatedouble r,theta;

//…

publicclass ExampleBean {

private List<ExampleItem> items;

//…

publicclass ExampleItem {

private String itemName;

private ItemChoice choice = ItemChoice.XY;

private Double x,y;

privatedouble r,theta;

private List<OptionItem> options;

//…

publicclass OptionItem {

private String optionName;

privateboolean showAxes, showTitle, showLegend, showData;

privatestaticintcount = 0;

//…

So more than 200,000 fields are linked and editable in a speedy fashion!