return plugins.isEmpty();
}
public DefaultKongaTreeModel buildNewModel() {
if (projectPlugins != null) {
DefaultKongaTreeNode root = new DefaultKongaTreeNode(null, getRootName(), true);
Map<PluginKey, SortedSet<IntegrationEntity>> data = buildDataMap();
if (data.isEmpty()) {
new DefaultKongaTreeNode(root, getString("AppliedPipelinePluginTree.Empty"), false);
} else {
populateModel(root, data);
}
return new DefaultKongaTreeModel(root);
} else {
KongaTreeNode root = new DefaultKongaTreeNode(getString("AppliedPipelinePluginTree.NoProject"), false);
return new DefaultKongaTreeModel(root);
}
}