[Engine-devel] UI Plugins: addMainTabActionButton API improved
Vojtech Szocs
vszocs at redhat.com
Fri Mar 29 14:08:32 UTC 2013
Hi guys,
it's now possible to specify location (representation) of buttons added via addMainTabActionButton API.
For example:
api.addMainTabActionButton('Host', 'My Button', {
location: 'OnlyFromContext',
onClick: function() { ... },
...
});
Supported values for button location:
* 'OnlyFromContext' - button available only from context menu
* 'OnlyFromToolBar' - button available only from toolbar (action panel)
* 'ContextAndToolBar' (default) - button available from both context menu and toolbar (action panel)
Regards,
Vojtech
More information about the Devel
mailing list