void (boolean showRestart) { if (myInstallButton != null) { myLayout.removeButtonComponent(myInstallButton); myInstallButton = null; } if (myUpdateButton != null) { myLayout.removeButtonComponent(myUpdateButton); myUpdateButton = null; } if (myEnableDisableButton != null) { myLayout.removeButtonComponent(myEnableDisableButton); myEnableDisableButton = null; } if (myIsAvailable && showRestart && myRestartButton == null) { myLayout.addButtonComponent(myRestartButton = new RestartButton(myPluginModel), 0); } if (myAlignButton != null) { myAlignButton.setVisible(true); } PluginsViewCustomizerKt.getListPluginComponentCustomizer().processRemoveButtons(this); }