112840000267-0010@... (Joerg Mueller) writes:
> ... I think its better to make it a bit more generic, to make it
> possible for the user to create patterns he can apply to branches
> ... What do you think about this?
Sounds great. A small dialog to create a pattern (select font, color)
and store it in the property file (or at least provide an output that
can be easily included into the property file).
A good shortcut would be Alt 0-9, so you can save ten patterns. Shift
Alt 0-9 would apply the pattern to the whole subtree.
> And, Sebastian, you dislike redirecting commands from the menubar over
> the mode-controller to the model? Why? I think its good when the only
> way to change the model is over the methods of the mode-controller.
There is no functionality in the controller. Isn't it better to access
the nodes (e.g., set the font, set the color) via the model? The
controller simply forwards the call and implements no
functionality. Btw. there are only two methods:
Maybe MindMapToolBar should access actions in the controller and use
them to set the font, and fontsize.
PS: Any idea about printing? It would make the whole application even
more useful ;-)