We created a new button e.g.
Download
, then use
setAction
in
AbstractEditor.init()
to give it a
new ItemTrackingAction()
, but desired auto enable function was not in effect, by which, means if you don’t have item selected then the button is disabled.
Ideally, if we create a new action that extends ItemTrackingAction, then register this action in xml, and assign it to the button, like the standard action does, it should work fine. But I did not test.