[DataBinding] will it support command pattern or EMF generated models? [message #302240] |
Mon, 17 April 2006 15:52  |
Eclipse User |
|
|
|
Hi,
I just read about the new data binding API which - as far as I
understand - binds SWT controls to POJO properties.
Will there be support for editors that use the command pattern to
implement undo/redo functionality? Especially, will there be support for
EMF generated models and editors?
It might be interesting to be able to connect an EMF generated
model/editor to a VE painted UI.
Just curious,
Andreas
|
|
|
|
|
Re: [DataBinding] will it support command pattern or EMF generated models? [message #302259 is a reply to message #302247] |
Tue, 18 April 2006 06:46   |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Steve,
Yeah, I suspect it could well be automated. With Dave's generator
extensibility work, it should be much easier to plug in new templates to
invoke them while generating the rest of the code, so it should be much
easier for the community to experiment and perhaps contribute the useful
templates back. I feel badly that we don't have the resource to
incorporate all the useful donations, like the nice forms work.
Hopefully this summer we'll be able to take a deep breath again and do
some of the cool long neglected things...
Steve Blass wrote:
> I went through one little exercise using the EMF library example. It
> was a bit tedious creating the binding code by hand for each element
> following the databinding example but straight forward enough that it
> looks like it could be automated or maybe even generated with the
> editor by EMF with 'a little work' ;)
>
> Ed Merks wrote:
>> Andreas,
>>
>> It would be very interesting to look at how to make this new stuff
>> and EMF work well together. I don't think anyone is looking into
>> that. It would be a great thing to explore this and contribute the
>> results back to the framework...
>>
>>
>> Andreas Voss wrote:
>>
>>> Hi,
>>>
>>> I just read about the new data binding API which - as far as I
>>> understand - binds SWT controls to POJO properties.
>>>
>>> Will there be support for editors that use the command pattern to
>>> implement undo/redo functionality? Especially, will there be support
>>> for EMF generated models and editors?
>>>
>>> It might be interesting to be able to connect an EMF generated
>>> model/editor to a VE painted UI.
>>>
>>> Just curious,
>>> Andreas
>>
>>
|
|
|
|
Re: [DataBinding] will it support command pattern or EMF generated models? [message #303385 is a reply to message #302240] |
Sun, 14 May 2006 14:56  |
Eclipse User |
|
|
|
Andreas Voss wrote:
> Hi,
>
> I just read about the new data binding API which - as far as I
> understand - binds SWT controls to POJO properties.
>
> Will there be support for editors that use the command pattern to
> implement undo/redo functionality?
JFace DataBinding has actually gone through two generations of design.
In the design we had pre-M5, I had written extensions for data binding
that would automatically execute all changes via the Eclipse undo/redo
stack, and it worked for everything except tables.
During The Big Refactoring during the M5 timeframe, we revised the API
to make it possible to automatically support Undo/Redo throughout (among
other things).
The bug where we're tracking Undo/Redo concern is:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=116465
In the future, we'll see your posts faster if you post to the RCP
newsgroup. We'll find them here too; we just tend to monitor the RCP
newsgroup more aggressively.
Thanks for your interest!
Best regards,
Dave Orme
|
|
|
Powered by
FUDForum. Page generated in 0.04313 seconds