Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » [DataBinding] will it support command pattern or EMF generated models?
[DataBinding] will it support command pattern or EMF generated models? [message #302240] Mon, 17 April 2006 15:52 Go to next message
Eclipse UserFriend
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 #302241 is a reply to message #302240] Mon, 17 April 2006 16:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

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 #302247 is a reply to message #302241] Mon, 17 April 2006 19:06 Go to previous messageGo to next message
Eclipse UserFriend
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 #302259 is a reply to message #302247] Tue, 18 April 2006 06:46 Go to previous messageGo to next message
Eclipse UserFriend
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 #303384 is a reply to message #302259] Sun, 14 May 2006 14:52 Go to previous messageGo to next message
Eclipse UserFriend
Ed Merks wrote:
> 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 agaDain and do
> some of the cool long neglected things...

Steve & Ed,

The Dali project recently started working on data binding for EMF.
There's a bug for it but I can't find it at the moment. Maybe it's
against Dali? Ahhh, yes. Here it is:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=136895


Regards,

Dave Orme
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:Global IContentAssistProcessor
Next Topic:New Project wizard, nature and builder coordination
Goto Forum:
  


Current Time: Tue Jul 22 15:35:26 EDT 2025

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

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

Back to the top