fun showActionGroupPopup()

in src/main/kotlin/com/jetbrains/plugin/jtreg/analysis/actionGroup.kt [44:59]


fun showActionGroupPopup(actionGroupId: String, dataContext: DataContext,
                         component: Component, point: Point) {
    val actionGroup = ActionManager.getInstance().getAction(actionGroupId) as? ActionGroup ?: return

    // Create and show the popup for the action group
    JBPopupFactory.getInstance()
        .createActionGroupPopup(
            null,
            actionGroup,
            dataContext,
            JBPopupFactory.ActionSelectionAid.SPEEDSEARCH,
            true
        )
        .showInScreenCoordinates(component, point)

}