This content has been marked as final. Show 4 replies
The VueActionSample included with the AutoVue installation illustrates how to implement a custom hotspot action : <AutoVue Installation Folder>\examples\VueActionSample
To avoid conflicts between AutoVue action and your custom action, don't forget to remove VueActionHotspots from your custom.gui file.
You need to setup a popup trigger to check if an RMB press has been occurred over hotspot.
See com.cimmetry.vueframe.PopupTrigger and the implementation in VueActionSample.PartCatalogueAction (<AutoVue Installation Folder>\examples\VueActionSample) .
In getPopupName(MouseEvent event) you need to keep track of the last hovered hotspot and you should return the right popup name (your custom action menus).
If user fires one of the RMB menus then the performSubAction() (in your custom action) will be invoked with the sub-action name.