@Override
    public void updateVisibility() {
      StatusBarWidgetsManager widgetManager = myProject.getService(StatusBarWidgetsManager.class);
      widgetManager.updateWidget(HgIncomingOutgoingWidget.IncomingFactory.class);
      widgetManager.updateWidget(HgIncomingOutgoingWidget.OutgoingFactory.class);
    }
@Override
    public void updateVisibility()