Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [Databinding] Generic visualization of EObjects
[Databinding] Generic visualization of EObjects [message #423093] Mon, 22 September 2008 23:53 Go to next message
Eclipse UserFriend
Originally posted by: jconlon.apache.org

Am attempting to expand the Forms Editor that Ed provided in
https://bugs.eclipse.org/bugs/show_bug.cgi?id=75625

Have been able to deal with EAttributes 0..1 using text and combo
widgets. But still need to:

1. visualize and bind features that are EReferences (0..1 and 0..N)?

2. and to duplicate the functionality that the Property View provides
by displaying EMF validation error messages in the Workbench status line.

Are there any snippets or Examples that demonstrates these?

thanks,
John
Re: [Databinding] Generic visualization of EObjects [message #423113 is a reply to message #423093] Tue, 23 September 2008 14:06 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30804
Registered: July 2009
Senior Member
John,

Maybe Tom has some experience with this...

Looking at what
org.eclipse.emf.edit.ui.provider.PropertyDescriptor.createPr opertyEditor
does and at how some of the specialized cell editors it used are
implemented would likely help...


John E. Conlon wrote:
> Am attempting to expand the Forms Editor that Ed provided in
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=75625
>
> Have been able to deal with EAttributes 0..1 using text and combo
> widgets. But still need to:
>
> 1. visualize and bind features that are EReferences (0..1 and 0..N)?
>
> 2. and to duplicate the functionality that the Property View
> provides by displaying EMF validation error messages in the Workbench
> status line.
>
> Are there any snippets or Examples that demonstrates these?
>
> thanks,
> John
Re: [Databinding] Generic visualization of EObjects [message #423139 is a reply to message #423113] Tue, 23 September 2008 17:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jconlon.apache.org

Ed,
see inline...

Ed Merks wrote:
> John,
>
> Maybe Tom has some experience with this...
Hope so. So far, I am fairly encouraged by how well the view looks
based on what you have done in your patch and the hacks I have added to
visualize this in a master-detail view that uses the GenModel Property
Categories as labeled Widget Groups and Property Descriptions as tool
tips on the detail side. With a little more work it may even prove an
acceptable replacement for our Properties View.


>
> Looking at what
> org.eclipse.emf.edit.ui.provider.PropertyDescriptor.createPr opertyEditor
> does and at how some of the specialized cell editors it used are
> implemented would likely help...

thanks for the reminder.

John
>
>
> John E. Conlon wrote:
>> Am attempting to expand the Forms Editor that Ed provided in
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=75625
>>
>> Have been able to deal with EAttributes 0..1 using text and combo
>> widgets. But still need to:
>>
>> 1. visualize and bind features that are EReferences (0..1 and 0..N)?
>>
>> 2. and to duplicate the functionality that the Property View
>> provides by displaying EMF validation error messages in the Workbench
>> status line.
>>
>> Are there any snippets or Examples that demonstrates these?
>>
>> thanks,
>> John
Re: [Databinding] Generic visualization of EObjects [message #423159 is a reply to message #423139] Tue, 23 September 2008 21:54 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6516
Registered: July 2009
Senior Member
Hi John,

Maybe I'm blind but it couldn't find a patch which gives me a starting
point in bug #75625. I'm traveling the next 2 weeks but if you could
give me some code to play with I'll try to take a look though I can't
promise because my schedule for the next month is fairly tight.

Tom

John E. Conlon schrieb:
> Ed,
> see inline...
>
> Ed Merks wrote:
>> John,
>>
>> Maybe Tom has some experience with this...
> Hope so. So far, I am fairly encouraged by how well the view looks
> based on what you have done in your patch and the hacks I have added to
> visualize this in a master-detail view that uses the GenModel Property
> Categories as labeled Widget Groups and Property Descriptions as tool
> tips on the detail side. With a little more work it may even prove an
> acceptable replacement for our Properties View.
>
>
>>
>> Looking at what
>> org.eclipse.emf.edit.ui.provider.PropertyDescriptor.createPr opertyEditor
>> does and at how some of the specialized cell editors it used are
>> implemented would likely help...
>
> thanks for the reminder.
>
> John
>>
>>
>> John E. Conlon wrote:
>>> Am attempting to expand the Forms Editor that Ed provided in
>>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=75625
>>>
>>> Have been able to deal with EAttributes 0..1 using text and combo
>>> widgets. But still need to:
>>>
>>> 1. visualize and bind features that are EReferences (0..1 and 0..N)?
>>>
>>> 2. and to duplicate the functionality that the Property View
>>> provides by displaying EMF validation error messages in the Workbench
>>> status line.
>>>
>>> Are there any snippets or Examples that demonstrates these?
>>>
>>> thanks,
>>> John


--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
Re: [Databinding] Generic visualization of EObjects [message #423191 is a reply to message #423159] Wed, 24 September 2008 15:26 Go to previous message
Eclipse UserFriend
Originally posted by: jconlon.apache.org

Hi Tom,

Here is the url to Ed's patch.
https://bugs.eclipse.org/bugs/attachment.cgi?id=82033

While I am not using the patched class, I have taken some ideas from it
to get to the point I am at. Again - I am leveraging the genmodel
decorated Edit attributes like description, categories, and filter flags
to add more visual coherence to the form.

As it turned out I began this attempt two months ago and promptly paged
out all knowledge of databinding since then:( So now I will review to
recover lost ground, refactor so it is more applicable to generic emf
usage and then try to advance the solution farther.

Alternatively if someone has already created a generic form to replace
the Properties view for EMF, I will defer to that effort, if not, I
would like to move what I have forward and contribute it back to the
community.


cheers,
John



Tom Schindl wrote:
> Hi John,
>
> Maybe I'm blind but it couldn't find a patch which gives me a starting
> point in bug #75625. I'm traveling the next 2 weeks but if you could
> give me some code to play with I'll try to take a look though I can't
> promise because my schedule for the next month is fairly tight.
>
> Tom
>
> John E. Conlon schrieb:
>> Ed,
>> see inline...
>>
>> Ed Merks wrote:
>>> John,
>>>
>>> Maybe Tom has some experience with this...
>> Hope so. So far, I am fairly encouraged by how well the view looks
>> based on what you have done in your patch and the hacks I have added to
>> visualize this in a master-detail view that uses the GenModel Property
>> Categories as labeled Widget Groups and Property Descriptions as tool
>> tips on the detail side. With a little more work it may even prove an
>> acceptable replacement for our Properties View.
>>
>>
>>> Looking at what
>>> org.eclipse.emf.edit.ui.provider.PropertyDescriptor.createPr opertyEditor
>>> does and at how some of the specialized cell editors it used are
>>> implemented would likely help...
>> thanks for the reminder.
>>
>> John
>>>
>>> John E. Conlon wrote:
>>>> Am attempting to expand the Forms Editor that Ed provided in
>>>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=75625
>>>>
>>>> Have been able to deal with EAttributes 0..1 using text and combo
>>>> widgets. But still need to:
>>>>
>>>> 1. visualize and bind features that are EReferences (0..1 and 0..N)?
>>>>
>>>> 2. and to duplicate the functionality that the Property View
>>>> provides by displaying EMF validation error messages in the Workbench
>>>> status line.
>>>>
>>>> Are there any snippets or Examples that demonstrates these?
>>>>
>>>> thanks,
>>>> John
>
>
Previous Topic:[Ecore] Does EMF has some utility in ecore to store referred EClass(s)
Next Topic:How do I inherit from an EDataType
Goto Forum:
  


Current Time: Sun Jan 19 08:16:32 GMT 2020

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

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

Back to the top