@Override
  public void update(@NotNull AnActionEvent e) {
    DeploymentNode node = getDeploymentTarget(e);
    boolean visible = node != null && node.isDeployActionVisible() && node.isDebugActionVisible();
    e.getPresentation().setVisible(visible);
    e.getPresentation().setEnabled(visible && node.isDeployActionEnabled());
  }
@Override
  public void update(@NotNull AnActionEvent e)