| [news.eclipse.tools.emf] Re: [Databinding] Generic visualization of EObjects |
Hi Tom,
Here is the url to Ed's patch. https://bugs.eclipse.org/bugs/attachment.cgi?id=82033
cheers, John
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.createPropertyEditor 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