When class A provides a GUI for class B, A should be Annotated View(of=B.class). A must also implement the ViewProvider interface. ViewProvider then empowers other systems to locate and build the Swing GUIs for A.
Annotating a View and failing to implement the ViewProvider interface will cause a test to fail.
Work on #228.
Suppose there are one or more classes that provide a view of a model, in the sense of a model-view-controller design pattern.
When class A provides a GUI for class B, A should be Annotated
View(of=B.class)
. A must also implement theViewProvider
interface. ViewProvider then empowers other systems to locate and build the Swing GUIs for A.Annotating a View and failing to implement the ViewProvider interface will cause a test to fail.