void () { if (myEnabledForProject != null) { PluginEnabledState state = myPluginModel.getState(requireNonNull(myPlugin)); myEnabledForProject.setText(state.getPresentableText()); myEnabledForProject.setIcon(AllIcons.General.ProjectConfigurable); } }