Date selection widgets and DataBinding [message #51566] |
Mon, 14 April 2008 22: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 #51715 is a reply to message #51653] |
Sat, 19 April 2008 18: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 #52071 is a reply to message #52046] |
Mon, 28 April 2008 01: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 #589371 is a reply to message #51653] |
Sat, 19 April 2008 18: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 #589483 is a reply to message #52046] |
Mon, 28 April 2008 01: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.03569 seconds