void () { myRootPanel.remove(myControlledByOrgNotification); myRootPanel.remove(myPlatformIncompatibleNotification); myRootPanel.remove(myUninstallFeedbackNotification); myRootPanel.remove(myDisableFeedbackNotification); if (!myIsPluginAvailable) { if (!myIsPluginCompatible) { myRootPanel.add(myPlatformIncompatibleNotification, BorderLayout.NORTH); } else { myRootPanel.add(myControlledByOrgNotification, BorderLayout.NORTH); } } if (myPlugin != null && !mySentFeedbackPlugins.contains(myPlugin.getPluginId())) { final Map<PluginId, IdeaPluginDescriptorImpl> pluginIdMap = PluginManagerCore.INSTANCE.buildPluginIdMap(); final IdeaPluginDescriptorImpl pluginDescriptor = pluginIdMap.getOrDefault(myPlugin.getPluginId(), null); if (pluginDescriptor != null && myPluginModel.isUninstalled(pluginDescriptor)) { myRootPanel.add(myUninstallFeedbackNotification, BorderLayout.NORTH); } else if (myPluginModel.isDisabledInDiff(myPlugin.getPluginId())) { myRootPanel.add(myDisableFeedbackNotification, BorderLayout.NORTH); } } }