The "New Parent Node" action creates a node as a parent of one or more selected nodes. If more than one node is selected, the selected nodes must all have the same parent -- this restriction is imposed to make the action easier to understand and to undo manually, and could potentially be removed when we get automated undo. The root node must not be one of the selected nodes.
Three new resource strings are required. In Resources_en.properties, I used the following:
new_parent = New Parent Node
cannot_add_parent_diff_parents = Cannot add parent node if selected nodes have different parents
cannot_add_parent_to_root = Cannot add parent node to the root node
I added the following key binding to freemind.properties:
keystroke_add_parent = shift INSERT
I find this action useful when I need to add an extra level of grouping in the middle of an existing hierarchy. It is quicker than adding a new node at the same level and then cutting-and-pasting the child nodes. The code simply performs these actions in sequence, after validating the selected nodes.
Patch to modes/ControllerAdapter.java and modes/mindmapmode/MindMapController.java
Logged In: YES
user_id=974656
The idea looks great, but the format of the patch is not easy
to use for me. I have just spent hours learning how to use
Exlipse and .diff patches.
How to use .txt patches ?
Could you generate a .diff instead (the use of the patch is
then fully automatic)
LeButineur (Franois R.)
Logged In: YES
user_id=885184
You just need to change the file extension from .txt to .diff -- the patch file is in the unified diff (diff -u) format, ready for use with Eclipse. Sorry for using the wrong extension. Let me know if there are any more problems.
Logged In: YES
user_id=318488
Logged In: YES
user_id=318488
We consider that this patch has been introduced in FreeMind 0.8.0.
Please complain and/or re-open the patch report if it should be
wrong. In all cases, we thank you for your contribution and hope
to hear more from you ;-)
Thanks, Your FreeMind team