How to get the name of the attribute that is edited in the Attributes editor

Hi I'm trying to change my InputURLChooserCustomizer so when it gets called from the "Attribute editor" I know which browse dialog to show. For example I'm editing the href attribute of an image. * I click on the browse icon * In the browse window I click on the icon of my custom InputURLChooserCustomizer * When this action is performed I'd like to get the name of the attribute that is currently selected so I can show my custom browse image dialog Is this possible? Thanks Jan Bevers | Developer | SDL | Content Management Technologies Division | +32 (0)15 400 970 | jbevers@sdl.com

Hi Jan, Sorry, we do not have this kind of API. Maybe when you do not have enough context information to decide what type of choose you want to show, you could show an intermediate dialog and ask the user. Usually images are inserted using the custom action (and you have enough information there to know the user wants to insert an image). The use case for editing an image @href would probably be if the reference has changed but even in this case the user could simply delete and re-insert the image reference. Regards, Radu Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 3/14/2013 3:22 PM, Jan Bevers wrote:
Hi
I’m trying to change my InputURLChooserCustomizer so when it gets called from the “Attribute editor” I know which browse dialog to show.
For example I’m editing the href attribute of an image.
·I click on the browse icon
·In the browse window I click on the icon of my custom InputURLChooserCustomizer
·When this action is performed I’d like to get the name of the attribute that is currently selected so I can show my custom browse image dialog
Is this possible?
Thanks
*Jan Bevers |* Developer *|*SDL *| *Content Management Technologies Division *| *+32 (0)15 400 970*|* jbevers@sdl.com Description: image001
_______________________________________________ oXygen-sdk mailing list oXygen-sdk@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-sdk
participants (2)
-
Jan Bevers
-
Oxygen XML Editor Support