Menu

#92 [PATCH] New feature : Display icons of folded children

open
nobody
None
5
2008-02-04
2008-02-04
nbareil
No

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

Discussion

  • nbareil

    nbareil - 2008-02-04

    When you fold, all the icons of the children are displayed

     
  • nbareil

    nbareil - 2008-02-04

    Logged In: YES
    user_id=2000452
    Originator: YES

    File Added: 0002-We-display-only-n-icons-when-folding.-The-limit-is-c.patch

     
  • nbareil

    nbareil - 2008-02-04

    Limit the number of "folded icons" displayed (user configuration)

     
  • nbareil

    nbareil - 2008-02-04

    When there are too many icons on a node, they appear on a tooltip

     
  • nbareil

    nbareil - 2008-02-04

    Logged In: YES
    user_id=2000452
    Originator: YES

    File Added: 0003-If-the-number-of-folded-icon-is-superior-to-the-conf.patch

     
  • nbareil

    nbareil - 2008-02-04

    You can choose if an icon is propagable or not, dynamically (by
    shift-clicking the desired icon's sidebar) or by user configuration

     
  • nbareil

    nbareil - 2008-02-04

    Logged In: YES
    user_id=2000452
    Originator: YES

    File Added: 0004-It-s-now-possible-to-configure-the-folding-s-behavio.patch

     
  • nbareil

    nbareil - 2008-02-04

    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)

     
  • Christian Foltin

    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

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.