void (ServiceViewContributor<?> extension) { String actionId = getActivateContributorActionId(extension); if (actionId != null) { ActionManager actionManager = ActionManager.getInstance(); AnAction action = actionManager.getAction(actionId); if (action != null) { actionManager.unregisterAction(actionId); } } }