|
|
|
Re: AdapterFactoryTreeEditor or IUpdateableItemText not notifying editor of chan [message #417499 is a reply to message #417490] |
Thu, 13 March 2008 12:26 |
Ed Merks Messages: 33142 Registered: July 2009 |
Senior Member |
|
|
Gemma,
Yes, if you are going through a property descriptor's implementation, it
should properly construct a command and execute it.
Gemma Bowers wrote:
> Hi Ed,
>
> After some further investigation I think I might have found the problem.
> Previously in my setText method (in my ItemProvider) I was doing
> something like:
> public void setText(Object object, String text) {
> object.setName(text);
> }
> whereas I've now changed it to:
> public void setText(Object object, String text) {
> setPropertyValue(object, "Name", text);
> }
> Am I right in that by doing this I'm triggering the necessary command
> you mentioned?
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03781 seconds