|Re: [Databinding] Generic visualization of EObjects [message #423191 is a reply to message #423159]
||Wed, 24 September 2008 15:26
Originally posted by: jconlon.apache.org|
Here is the url to Ed's patch.
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
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.
> John E. Conlon schrieb:
>> see inline...
>> Ed Merks wrote:
>>> 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 E. Conlon wrote:
>>>> Am attempting to expand the Forms Editor that Ed provided in
>>>> 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?
Powered by FUDForum
. Page generated in 0.04677 seconds