[Databinding] Virtual tables [message #307329] |
Sun, 20 August 2006 16:45  |
Eclipse User |
|
|
|
(is platform the correct newsgroup for JFace Data Binding questions?)
Is it possible to use binding with virtual tables? If so, how would one
do that?
If binding to a regular table with SWT.VIRTUAL style isn't possible,
then I understand that binding is supported with CompositeTable, which
is similar to a virtual table? But what are CompositeTable's other
advantages over a regular virtual table -- why would I use CompositeTable?
If it helps to answer the questions, we are building an RCP application
which is mostly a user interface to a database -- we will have editable
tables that mostly correspond to database tables.
Erkki
|
|
|
|
Re: [Databinding] Virtual tables [message #307334 is a reply to message #307333] |
Mon, 21 August 2006 06:33   |
Eclipse User |
|
|
|
Hi,
Well I've implemented my own database binding framework and we are in
the process of releasing it to the public. I wanted to release it since
a month but hadn't the time to do so.
One more sentence to SWT.VIRTUAL: There are some problems with Viewers
and Virtual Tables and you can't really use them at the moment to edit
(add/remove items) tables.
Tom
Erkki Lindpere schrieb:
> I see that "Cell editing support for JFace viewers" is in the TODO (
> http://wiki.eclipse.org/index.php/JFace_Data_Binding_TODO )
>
> Actually, I think I should rephrase the question. I see the need for binding
> to mostly 3 kinds of UI elements:
> * tables: displaying data in a table with TableViewer; currently using
> custom ILazyContentProvider & ITableLabelProvider implementations.
> * editable tables: currently using CellEditors and custom ICellModifier
> implementation, optionally TableCursor.
> * detail forms: haven't done any real tests yet, but this one seems easy
> enough.
>
> We need a reliable solution for this fast -- should we rely on JFace Data
> Binding in its current state at all? Maybe it would make more sense to
> implement some kind of simple binding mechanism of our own, using the
> interfaces mentioned above?
>
> "Erkki Lindpere" <villane@gmail.com> wrote in message
> news:ecahkn$mm3$1@utils.eclipse.org...
>> (is platform the correct newsgroup for JFace Data Binding questions?)
>>
>> Is it possible to use binding with virtual tables? If so, how would one do
>> that?
>>
>> If binding to a regular table with SWT.VIRTUAL style isn't possible, then
>> I understand that binding is supported with CompositeTable, which is
>> similar to a virtual table? But what are CompositeTable's other advantages
>> over a regular virtual table -- why would I use CompositeTable?
>>
>> If it helps to answer the questions, we are building an RCP application
>> which is mostly a user interface to a database -- we will have editable
>> tables that mostly correspond to database tables.
>>
>> Erkki
>
>
|
|
|
|
|
Re: [Databinding] Virtual tables [message #307427 is a reply to message #307333] |
Wed, 23 August 2006 12:11  |
Eclipse User |
|
|
|
Erkki Lindpere wrote:
> We need a reliable solution for this fast -- should we rely on JFace Data
> Binding in its current state at all? Maybe it would make more sense to
> implement some kind of simple binding mechanism of our own, using the
> interfaces mentioned above?
I finally had time to get a bit more of an understanding of the
Databinding framework, and it looks quite awesome!
We are most likely going to use it, and perhaps can even contribute
something (at least more eyes for finding bugs).
Erkki
|
|
|
Powered by
FUDForum. Page generated in 0.40703 seconds