rocketmail / jfxflow

Automatically exported from code.google.com/p/jfxflow
0 stars 0 forks source link

Great work and some little wish :) #6

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi Zonski,
with great interest I follow JFX Flow from the first steps. Since few days I 
use your project in my project Dreampalace 
(https://code.google.com/p/dreampalace/) with is a dream-diary and in really 
early state. During the programing I see the one or other which I have gladly 
in your api :)

1) NavigationManager
I thing the most of Activities use the NavigationManager. So why not implement 
a method (protected void setNavigationManager(NavigationManager) { }) into 
AbstractActivity. People who used NavigationManager into there Activities can 
override setNavigationManager.

2) Also in AbstractActivity I would prefare a method setPlace(String) and 
getPlace(): String.

With these little changes and a enum (for example) for the places I can iterate 
over an array from Activities. I don't must implement more and more 
My_XY_Activity.

3) It's possible in NavigationManager to set the home-place? So I can implement 
easy a button with navigationManager.goToHome().

Greetings
Peter

Original issue reported on code.google.com by rogge-pe...@gmx.de on 2 Jan 2012 at 12:04