Change custom action name depending on some event
Posted: Wed Feb 07, 2018 7:42 am
Hi,
I have a custom action dita framework to create a link and it modifies the link if selection is already link.
I want to change the display name of the action in context menu. In normal case it will display "Link..." and when the selection is already a link it should display "Modify Link..." in the context menu.
Any help how to do this..
Thanks.
Regards,
Himangshu
I have a custom action dita framework to create a link and it modifies the link if selection is already link.
I want to change the display name of the action in context menu. In normal case it will display "Link..." and when the selection is already a link it should display "Modify Link..." in the context menu.
Any help how to do this..
Thanks.
Regards,
Himangshu