void (List<PluginNode> pluginNodes) { ApplicationManager.getApplication().invokeLater(() -> { myParentNode.getPluginNodes().clear(); if(isUnloading) return; myParentNode.getPluginNodes().addAll(pluginNodes); myParentNode.sort(myParentNode.getPluginNodes()); myParentNode.childrenChanged(); }); }