示例#1
0
 private void correctNotificationIds() {
   boolean notEmpty =
       NotificationsConfigurationImpl.getNotificationsConfigurationImpl()
               .isRegistered("SVN_NO_JNA")
           || NotificationsConfigurationImpl.getNotificationsConfigurationImpl()
               .isRegistered("SVN_NO_CRYPT32")
           || NotificationsConfigurationImpl.getNotificationsConfigurationImpl()
               .isRegistered("SubversionId");
   if (notEmpty) {
     NotificationsConfigurationImpl.remove("SVN_NO_JNA", "SVN_NO_CRYPT32", "SubversionId");
     NotificationsConfiguration.getNotificationsConfiguration()
         .register(getDisplayName(), NotificationDisplayType.BALLOON);
   }
 }
  public SendStatisticsProjectComponent(Project project) {
    myProject = project;
    myAlarm = new Alarm(Alarm.ThreadToUse.POOLED_THREAD, myProject);

    NotificationsConfigurationImpl.remove("SendUsagesStatistics");
    NotificationsConfiguration.getNotificationsConfiguration()
        .register(
            StatisticsNotificationManager.GROUP_DISPLAY_ID,
            NotificationDisplayType.STICKY_BALLOON,
            false);
  }
示例#3
0
 static {
   NotificationsConfigurationImpl.remove("Git");
 }