Hello!
For a school project, we added some features that we would like to share
with you, it enhances the folding of nodes.
Basically, it permits to display the icons of folded children. We splitted
the patch into smaller patches corresponding to the following features :
1) When you fold, all the icons of the children are displayed
(we pay attention to have only one time the same icon)
2) Limit the number of "folded icons" displayed (user configuration)
3) When there are too many icons on a node, they appear on a tooltip
4) You can choose if an icon is propagable or not, dynamically (by
shift-clicking the desired icon's sidebar) or by user configuration
(~/.freemind/user.properties)
Our patch is pretty much not intrusive, we only introduce changes
in the update() method of NodeView. Otherwise, we shouldn't have
any impact on other parts of the code.
Here is a diffstat of our cumulated patches :
modes/MindIcon.java | 125 +++++++++++++++++++++++++++++++++++-
modes/MindImageIcon.java | 25 +++++++
modes/actions/IconAction.java | 13 ++-
view/mindmapview/MultipleImage.java | 5 +
view/mindmapview/NodeView.java | 96 +++++++++++++++++++++++++++
5 files changed, 257 insertions(+), 7 deletions(-)
The 4 patches are to be applied in order. Each patch file has a
description inside.
Thank you!
Enrique JEHANNO
Nicolas BAREIL
When you fold, all the icons of the children are displayed
Logged In: YES
user_id=2000452
Originator: YES
File Added: 0002-We-display-only-n-icons-when-folding.-The-limit-is-c.patch
Limit the number of "folded icons" displayed (user configuration)
When there are too many icons on a node, they appear on a tooltip
Logged In: YES
user_id=2000452
Originator: YES
File Added: 0003-If-the-number-of-folded-icon-is-superior-to-the-conf.patch
You can choose if an icon is propagable or not, dynamically (by
shift-clicking the desired icon's sidebar) or by user configuration
Logged In: YES
user_id=2000452
Originator: YES
File Added: 0004-It-s-now-possible-to-configure-the-folding-s-behavio.patch
Logged In: YES
user_id=2000452
Originator: YES
Sorry for the messy format of this bug... The diffstat is... ugly.
By the way, the patches apply to a not-so-old CVS checkout (2 weeks ago maybe)
Logged In: YES
user_id=885594
Originator: NO
Hi,
did you have a look at the hierachical icons function? Wouldn't it be better to patch there?
Chris