Commit graph

1084 commits

Author SHA1 Message Date
Chris Beams
4ebc0c0e41
Complete implementation and testing of @FxmlView support 2014-11-25 22:12:33 +01:00
Chris Beams
fe667bc1b2
Remove System#exit call from BitsquareApp#stop
Calling System#exit short-circuits normal error reporting, meaning that
when an exception is called within the scope of executing the
Application's #start method, the message

    Exception in Application start method

is printed to the console, but without a stack trace. Removing the
System#exit call allows JavaFX's LauncherImpl to continue processing the
exception, ultimately printing out the stack trace as expected.
2014-11-25 22:12:33 +01:00
Manfred Karrer
380e8baf58
fix checkArgument 2014-11-25 22:12:32 +01:00
Manfred Karrer
ed83cdbe49
Use irc instead of fiat classes 2014-11-25 22:12:32 +01:00
Chris Beams
63b7e254d7
Remove hardcoded path from ViewLoaderTests 2014-11-25 22:12:32 +01:00
Chris Beams
50046b6adc
Fix conditional logic in AccountView#activate 2014-11-25 22:12:31 +01:00
Chris Beams
fac64807f6
Polish AccountSettingsView 2014-11-25 22:12:31 +01:00
Chris Beams
70d9577e32
Introduce @FxmlView, replace Navigation.Item 2014-11-25 22:12:30 +01:00
Chris Beams
5a5bfd0826
Begin refactoring Navigation 2014-11-25 22:12:30 +01:00
Chris Beams
6de4e63973
Rename enum gui.{Navigation#Item => FxmlView} 2014-11-25 22:12:30 +01:00
Chris Beams
444948f3ca
Introduce viewfx.view.support.CachingViewLoader
... and move view.fxml package to view.support.fxml
2014-11-25 22:12:29 +01:00
Chris Beams
a2c98d9ea3
Extract ViewLoader interface and introduce FxmlViewLoader 2014-11-25 22:12:29 +01:00
Chris Beams
2705e80ef1
Fix broken tests and app exceptions due to ViewLoader changes 2014-11-25 22:12:28 +01:00
Chris Beams
87fb4390c4
Bind ViewFactory interface to GuiceViewFactory impl
This change fixes a test that was breaking in the previous commit.
2014-11-25 22:12:28 +01:00
Chris Beams
e8afdf5e22
Move i.b.gui.ViewLoader.java => viewfx.view.support.ViewLoader 2014-11-25 22:12:27 +01:00
Chris Beams
fcaded1c33
Use ViewFactory interface in favor of GuiceViewFactory impl 2014-11-25 22:12:27 +01:00
Chris Beams
5a75a1aa10
Rename gui.GuiceControllerFactory => viewfx...GuiceViewFactory 2014-11-25 22:12:27 +01:00
Chris Beams
318bfc5fb0
Refactor ViewLoader 2014-11-25 22:12:26 +01:00
Chris Beams
d120dcad06
Rename {mightypork...DesktopApi=>i.b.util.DesktopUtil} 2014-11-25 22:11:57 +01:00
Chris Beams
6495ccd5db
Introduce viewfx subpackages 2014-11-25 22:09:49 +01:00
Chris Beams
b890f37216
Introduce top-level viewfx package
Move general-purpose ui infrastructure to this new package, leaving
what's in io.bitsquare.gui truly specific to Bitsquare.
2014-11-25 22:08:50 +01:00
Chris Beams
1390ce21a8
Reduce visibility of view classes to package-private 2014-11-25 22:08:31 +01:00
Chris Beams
68a1140a6d
Polish whitespace and field ordering in view classes 2014-11-25 22:08:31 +01:00
Chris Beams
349f7dbc51
Expect Node vs. Parent as first View generic param 2014-11-25 22:08:30 +01:00
Chris Beams
604d1c128e
Specify view root node type with generic parameter 2014-11-25 22:08:30 +01:00
Chris Beams
9d484e3f27
Remove section comments from view classes 2014-11-25 22:08:29 +01:00
Chris Beams
0e0cbde27f
Remove unused Logger fields
... note that *View classes now all inherit a protected Logger instance,
so redeclaring in each class is no longer necessary.
2014-11-25 22:08:29 +01:00
Chris Beams
a392d78fc2
Rename NetworkSettingsViewCB => NetworkSettingsView 2014-11-25 22:08:28 +01:00
Chris Beams
4eb1b3994e
Eliminate *CB suffixes on View variable names 2014-11-25 22:08:28 +01:00
Chris Beams
00dce517ee
Rename remaining *Pm.java files => *ViewModel.java 2014-11-25 22:08:27 +01:00
Chris Beams
312b846769
Rename BasicView => AbstractView 2014-11-25 22:08:27 +01:00
Chris Beams
1e59f9bf63
Rename ChildOf => ChildView 2014-11-25 22:08:27 +01:00
Chris Beams
961ec9b317
Rename View => BasicView and extract View interface 2014-11-25 22:08:26 +01:00
Chris Beams
55036b04c6
Rename AccountSetup{View => Wizard} 2014-11-25 22:08:26 +01:00
Chris Beams
693e95391a
Rename Wizard.Step#useSettingsContext => hideWizardNavigation 2014-11-25 22:08:10 +01:00
Chris Beams
d4eb252973
Remove parent field from base View, introduce Wizard
- Replace MultiStepNavigation and ContextAware with Wizard and Wizard.Step
 - Introduce ChildOf interface
 - Eliminate TradeNavigator in favor of depending directly on TradeView
2014-11-25 22:08:09 +01:00
Chris Beams
4ae9868ee5
Move View#TITLE_KEY to MainView 2014-11-25 22:08:08 +01:00
Chris Beams
d02ddd6946
Remove notion of 'childController' from View hierarchy 2014-11-25 22:08:01 +01:00
Chris Beams
02bf6f673d
Fix compilation failure--return View from loadView 2014-11-25 22:08:00 +01:00
Chris Beams
00552399d7
Refine View hierarchy 2014-11-25 22:08:00 +01:00
Chris Beams
7435e1890a
Refine initializ/activate/deactivate lifecycle methods
... and eliminate terminate entirely
2014-11-25 22:07:59 +01:00
Chris Beams
97817aa724
Remove all but the last implementation of View#terminate 2014-11-25 22:07:59 +01:00
Chris Beams
22443900a9
Remove CloseListener 2014-11-25 22:07:58 +01:00
Chris Beams
f4b35ba48b
Fix compilation errors 2014-11-25 22:07:58 +01:00
Chris Beams
5f69f84f85
Refactor gui.main.Main* to use new View/Model infra. 2014-11-25 22:07:57 +01:00
Chris Beams
b0c5e14e1a
Enforce non-nullity for delegate objects 2014-11-25 22:07:56 +01:00
Chris Beams
16c9539597
Use 'delegate' naming consistently 2014-11-25 22:07:56 +01:00
Chris Beams
b755b3fad3
Rename *Model => *DataModel 2014-11-25 22:07:55 +01:00
Chris Beams
608f515b89
Rename *PM => *ViewModel 2014-11-25 22:07:55 +01:00
Chris Beams
a7fe05de00
Rename CachedView => ActivatableView 2014-11-25 22:07:54 +01:00