void () { myOnlyUpdateMode = true; removeButtons(false); myLayout.setCheckBoxComponent(myChooseUpdateButton = new JCheckBox((String)null, true)); myChooseUpdateButton.setOpaque(false); myChooseUpdateButton.getAccessibleContext() .setAccessibleName(IdeBundle.message("plugins.configurable.choose.update.checkbox.accessible.name")); IdeaPluginDescriptor descriptor = PluginManagerCore.getPlugin(myPlugin.getPluginId()); if (descriptor != null) { if (myDownloads != null) { myMetricsPanel.remove(myDownloads); } if (myRating != null) { myMetricsPanel.remove(myRating); } if (myVendor != null) { myMetricsPanel.remove(myVendor); } if (myVersion != null) { myMetricsPanel.remove(myVersion); } String version = NewUiUtil.getVersion(descriptor, myPlugin); String size = myPlugin instanceof PluginNode ? ((PluginNode)myPlugin).getPresentableSize() : null; myVersion = createRatingLabel(myMetricsPanel, null, size != null ? version + " | " + size : version, null, null, false); } updateColors(EventHandler.SelectionType.NONE); }