Date selection widgets and DataBinding [message #51566] |
Mon, 14 April 2008 18:55  |
Eclipse User |
|
|
|
Originally posted by: tskaufma.gmail.com
Hello,
I am wondering whether any of the various date selecting Nebula widgets
support databinding.
CDateTime, DateChooser(Combo), and others provide nice looking date
selection, but is it possible to use Eclipse Databinding with these widgets?
Thanks,
Trevor
|
|
|
|
|
|
|
|
Re: Date selection widgets and DataBinding [message #52071 is a reply to message #52046] |
Sun, 27 April 2008 21:59  |
Eclipse User |
|
|
|
Originally posted by: tskaufma.gmail.com
Thank you for the information.
I planned on getting a CVS copy since the widget isn't packaged as a plugin
(at least the last binary download I found).
Trevor
"Peter Centgraf" <peter@centgraf.net> wrote in message
news:fv2tgu$t3k$1@build.eclipse.org...
> CDateTime does support DataBinding, and I have been using it this way for
> about a year. Simply instantiate a CDateTimeObservableValue for the
> target side of the binding and use a java.util.Date type model. There is
> also a CDateTimeCellEditor for use with Tables, Trees, or Grids.
>
> FYI, I've been terrible about producing binary builds. The CVS version
> has a number of stability and API improvements.
>
> --
> Peter
|
|
|
Re: Date selection widgets and DataBinding [message #589338 is a reply to message #51566] |
Tue, 15 April 2008 06:43  |
Eclipse User |
|
|
|
Hi Trevor,
I'm not aware of such a thing. I'd say let's file a bug against those
components. There 2 possibilities to proceed because you'll need
additional dependencies (org.eclipse.core.databinding and
org.eclipse.jface.databinding).
There are 2 possibilities:
a) Create a seperate plugin with the databinding stuff
b) Create a non-mandatory dependency in the MANIFEST.MF
I'd prefer a) but I think nebula-subcomponents have also used b) because
starting the work is much easier because you can simply produce patches
against the current CVS. If you filed a bug please CC and I can help you
with the my databinding knowledge.
Tom
Trevor Kaufman schrieb:
> Hello,
>
> I am wondering whether any of the various date selecting Nebula widgets
> support databinding.
>
> CDateTime, DateChooser(Combo), and others provide nice looking date
> selection, but is it possible to use Eclipse Databinding with these
> widgets?
>
> Thanks,
> Trevor
--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
|
|
|
Re: Date selection widgets and DataBinding [message #589371 is a reply to message #51653] |
Sat, 19 April 2008 14:48  |
Eclipse User |
|
|
|
Originally posted by: tskaufma.gmail.com
It appears that CDateTime has databinding support.
This bug [https://bugs.eclipse.org/bugs/show_bug.cgi?id=177013] is the
enhancement request.
So I guess the question becomes is there any examples of this? How does it
work?
Trevor Kaufman
"Tom Schindl" <tom.schindl@bestsolution.at> wrote in message
news:fu20sl$jpr$1@build.eclipse.org...
> Hi Trevor,
>
> I'm not aware of such a thing. I'd say let's file a bug against those
> components. There 2 possibilities to proceed because you'll need
> additional dependencies (org.eclipse.core.databinding and
> org.eclipse.jface.databinding).
>
> There are 2 possibilities:
> a) Create a seperate plugin with the databinding stuff
> b) Create a non-mandatory dependency in the MANIFEST.MF
>
> I'd prefer a) but I think nebula-subcomponents have also used b) because
> starting the work is much easier because you can simply produce patches
> against the current CVS. If you filed a bug please CC and I can help you
> with the my databinding knowledge.
>
> Tom
>
> Trevor Kaufman schrieb:
>> Hello,
>>
>> I am wondering whether any of the various date selecting Nebula widgets
>> support databinding.
>>
>> CDateTime, DateChooser(Combo), and others provide nice looking date
>> selection, but is it possible to use Eclipse Databinding with these
>> widgets?
>>
>> Thanks,
>> Trevor
>
>
> --
> B e s t S o l u t i o n . at
> ------------------------------------------------------------ --------
> Tom Schindl JFace-Committer
> ------------------------------------------------------------ --------
|
|
|
Re: Date selection widgets and DataBinding [message #589416 is a reply to message #51653] |
Wed, 23 April 2008 13:01  |
Eclipse User |
|
|
|
Last I heard wasn't Nebula against using JFace dependencies? Just checking,
or I wouldn't mind implementing for CalendarCombo, but I recall when I
submitted the widgets I had to remove all JFace code and rework it to use
pure SWT...
--
Emil Crumhorn
Nebula Committer
http://www.hexapixel.com/
"Tom Schindl" <tom.schindl@bestsolution.at> wrote in message
news:fu20sl$jpr$1@build.eclipse.org...
> Hi Trevor,
>
> I'm not aware of such a thing. I'd say let's file a bug against those
> components. There 2 possibilities to proceed because you'll need
> additional dependencies (org.eclipse.core.databinding and
> org.eclipse.jface.databinding).
>
> There are 2 possibilities:
> a) Create a seperate plugin with the databinding stuff
> b) Create a non-mandatory dependency in the MANIFEST.MF
>
> I'd prefer a) but I think nebula-subcomponents have also used b) because
> starting the work is much easier because you can simply produce patches
> against the current CVS. If you filed a bug please CC and I can help you
> with the my databinding knowledge.
>
> Tom
>
> Trevor Kaufman schrieb:
>> Hello,
>>
>> I am wondering whether any of the various date selecting Nebula widgets
>> support databinding.
>>
>> CDateTime, DateChooser(Combo), and others provide nice looking date
>> selection, but is it possible to use Eclipse Databinding with these
>> widgets?
>>
>> Thanks,
>> Trevor
>
>
> --
> B e s t S o l u t i o n . at
> ------------------------------------------------------------ --------
> Tom Schindl JFace-Committer
> ------------------------------------------------------------ --------
|
|
|
Re: Date selection widgets and DataBinding [message #589438 is a reply to message #51864] |
Wed, 23 April 2008 18:27  |
Eclipse User |
|
|
|
Well the plain widget yes but if nebula provides e.g. Viewers (like Grid
and Gallery do you need to have an at least optional dependency on JFace
and the same would IMHO apply if you want to provide obervables).
Tom
Emil Crumhorn schrieb:
> Last I heard wasn't Nebula against using JFace dependencies? Just checking,
> or I wouldn't mind implementing for CalendarCombo, but I recall when I
> submitted the widgets I had to remove all JFace code and rework it to use
> pure SWT...
>
--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
|
|
|
Re: Date selection widgets and DataBinding [message #589475 is a reply to message #51715] |
Sun, 27 April 2008 18:08  |
Eclipse User |
|
|
|
CDateTime does support DataBinding, and I have been using it this way
for about a year. Simply instantiate a CDateTimeObservableValue for the
target side of the binding and use a java.util.Date type model. There
is also a CDateTimeCellEditor for use with Tables, Trees, or Grids.
FYI, I've been terrible about producing binary builds. The CVS version
has a number of stability and API improvements.
--
Peter
|
|
|
Re: Date selection widgets and DataBinding [message #589483 is a reply to message #52046] |
Sun, 27 April 2008 21:59  |
Eclipse User |
|
|
|
Originally posted by: tskaufma.gmail.com
Thank you for the information.
I planned on getting a CVS copy since the widget isn't packaged as a plugin
(at least the last binary download I found).
Trevor
"Peter Centgraf" <peter@centgraf.net> wrote in message
news:fv2tgu$t3k$1@build.eclipse.org...
> CDateTime does support DataBinding, and I have been using it this way for
> about a year. Simply instantiate a CDateTimeObservableValue for the
> target side of the binding and use a java.util.Date type model. There is
> also a CDateTimeCellEditor for use with Tables, Trees, or Grids.
>
> FYI, I've been terrible about producing binary builds. The CVS version
> has a number of stability and API improvements.
>
> --
> Peter
|
|
|
Powered by
FUDForum. Page generated in 0.05818 seconds