Brainstorming: grid as a spreadsheet [message #587580] |
Fri, 11 January 2008 11:52 |
Eclipse User |
|
|
|
Hi all,
current table oriented widgets and their JFace-Viewers are all row
oriented. That means that the number of columns is fixed and each row
represents an (Business-)Object of the same type. This is ok for the
most data-centric applications, where you can focus on a (one
dimensional) collection of things.
But I think there *is* a need for viewers which are able to map a 2
dimensional oriented data-model to a table. So the number of rows *and*
the number columns should depend on the model's state. I think of
concerns in science ore related sectors. At least I have a need for it
(civil engineering).
I think Grid is a prefered Widget for that.
Currently I experimented myself with the existing Viewers and I am sure
I will get a solution - somehow.
But if there is real need from the comunity for that we need a more
professional solution.
Maybe Tom Schindl could give his 2 Cents as well as Chris Gross or Boris
Bokowski.
What is needed most is
a) a ContentProvider which does something like
public Object[][] getElements(Object input)
b) a Viewer which can create and dispose rows and columns on refresh()
c) a DataBinding support to observe (input-)model structure changes to
refresh the viewer
d) a cell oriented DataBinding support for CellEditors
Sebastian
|
|
|
Powered by
FUDForum. Page generated in 0.05838 seconds