ui: improve bundling of file nodes

* Don't bundle referencing and referenced symbols when file or macro is active
* Bundle importing files when activating java symbols
This commit is contained in:
Eberhard Graether
2016-12-02 11:26:16 +01:00
parent 32c2906bf0
commit 272ebcd279
2 changed files with 49 additions and 24 deletions
@@ -83,7 +83,7 @@ private:
void setNodeVisibilityRecursiveTopDown(DummyNode* node, bool parentExpanded) const;
void bundleNodes();
void bundleNodesAndEdgesMatching(std::function<bool(const DummyNode::BundleInfo&)> matcher, size_t count, const std::string& name);
void bundleNodesAndEdgesMatching(std::function<bool(const DummyNode::BundleInfo&, const Node*)> matcher, size_t count, const std::string& name);
std::shared_ptr<DummyNode> bundleNodesMatching(std::list<std::shared_ptr<DummyNode>>& nodes, std::function<bool(const DummyNode*)> matcher, const std::string& name);
void bundleByType(std::list<std::shared_ptr<DummyNode>>& nodes, Node::NodeType type, const std::string& name);
void bundleNodesByType();