oehm-smith / StockFx

JavaFx implementation of my very own (: ) portfolio management tool. Creating as enjoying JavaFx and want to play with it a bit more and I have a few stock portfolio ideas I'd like to play with.
1 stars 1 forks source link

Improve open / new file handling to be more intuitive (in code) #6

Open oehm-smith opened 11 years ago

oehm-smith commented 11 years ago

As reported in the changed items, clicking or opening a tab causes a change event and the controller populates the fields of the tab (if in 'open mode') or clears them (if in 'new mode'). But I don't like it. Intuitively you expect 'open' to tell the tab/window etc.. to open it.

Instead the easiest solution would be through binding from the fields in the tab's form to the list of items on the parent page. But how to handle new items?

I have to think about this fully.