Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » [Databinding] Virtual tables
[Databinding] Virtual tables [message #307329] Sun, 20 August 2006 16:45 Go to next message
Eclipse UserFriend
(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 #307333 is a reply to message #307329] Mon, 21 August 2006 06:18 Go to previous messageGo to next message
Eclipse UserFriend
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 #307334 is a reply to message #307333] Mon, 21 August 2006 06:33 Go to previous messageGo to next message
Eclipse UserFriend
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 #307397 is a reply to message #307334] Tue, 22 August 2006 17:18 Go to previous messageGo to next message
Eclipse UserFriend
Tom Schindl wrote:

> 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 binding framework?! Oh...

--
SY, Konstantin.
Advanced Eclipse SWT Designer (http://www.swt-designer.com)
Re: [Databinding] Virtual tables [message #307399 is a reply to message #307397] Wed, 23 August 2006 01:42 Go to previous messageGo to next message
Eclipse UserFriend
Konstantin Scheglov schrieb:
> Tom Schindl wrote:
>
>> 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 binding framework?! Oh...
>

Yes. I've started it long before there was the Databinding-Project maybe
one day the Databinding-Framework is ready I'll use it under the hood.
At the moment I've written the Binding my own which isn't as hard as it
sometimes looks like.

Tom
Re: [Databinding] Virtual tables [message #307427 is a reply to message #307333] Wed, 23 August 2006 12:11 Go to previous message
Eclipse UserFriend
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
Previous Topic:IFile setReadOnly bug?
Next Topic:Jobs: conflicting outer rule on refreshLocal
Goto Forum:
  


Current Time: Fri Jul 18 11:10:32 EDT 2025

Powered by FUDForum. Page generated in 0.28253 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top