|
Re: Intercept changes in multivalued attributes [message #430534 is a reply to message #430531] |
Tue, 26 May 2009 10:29 |
Ed Merks Messages: 33142 Registered: July 2009 |
Senior Member |
|
|
Jose,
The FeatureEditorDialog simply returns the new value and the item
property descriptor uses that value in
ItemPropertyDescriptor.setPropertyValue which creates a SetCommand which
in turn creates AddCommands and RemoveCommands, which you can intercept
in your item provider just as you would a SetCommand for a single valued
property.
Jose Salazar wrote:
> Hello,
>
> To intercept a change in the value of an attribute can be done by
> returning a CompoundCommand (for example) in the createSetCommand of
> XXXItemProvider. The problem is that the multivalued attributes (using
> a FeatureEditorDialog) does not pass through the createSetCommand, so
> I can not take any action I want.
>
> How can I intercept the changes of these attributes?
>
>
> Thanks in advance.
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.02860 seconds