|
Re: Access editingDomain from ItemPropertyDescriptor [message #666259 is a reply to message #666255] |
Tue, 19 April 2011 16:07 |
Ed Merks Messages: 33218 Registered: July 2009 |
Senior Member |
|
|
Probably the debugger can answer that question faster than me. Have you
tried that?
elefat@hotmail.com wrote:
> I generated the model and edit packages from my ecore and now I am
> coding a ViewPart to show/edit information. The problem is this: The
> type of an attribute is a collection of objects. I need not only to
> add existing objects (which is what propertyDesciptor implements) but
> also have two additional operations: create and delete when in editing
> that attribute's value. I extended PropertyDescriptor and make it open
> my own dialog box, which has two more buttons, new and delete. However,
> ((ItemPropertyDescriptor) itemPropertyDescriptor)
> .getEditingDomain(object);
>
> returns null and I cannot create the new objects or delete them. Any
> suggestions what to do or why editingDomain is null?
> Thanks in advance
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03347 seconds