= Book Window = Book window is the window where the books "live". Book windows are windows into the main application window. Each book window has it's own tab in the [wiki:OPENED_BOOKS_TABBAR Opened Books Tabbar]. * The book window defines several extension points. They are: * [source:trunk/sophie2-platform/modules/org.sophie2.messy/src/main/java/org/sophie2/messy/view/book/BookPanel.java BookPanel] - holds the elements that control the view of the book * !BookPanelElement - an element controlling single aspect of the view * !PageArea - displays single a page of a book * Base view of !BookWindow: [[Image(source:/trunk/sophie2-platform/doc/spec-diagrams/BookWindow.png, 60%)]] * UML diagram for Book window which is represented by [source:/trunk/sophie2-platform/modules/org.sophie2.messy/src/main/java/org/sophie2/messy/view/book/BookView.java BookView] class in the project source code: [[Image(source:/trunk/sophie2-platform/doc/uml-design-diagrams/BookView.png, 50%)]] * [source:/trunk/sophie2-platform/modules/org.sophie2.messy/src/main/java/org/sophie2/messy/view/book/BookView.java BookView implementation] * Book window behavior. * Each !BookWindow is responsible for displaying a single book. * At the time of creation of a window it is bound to a book. * It is then responsible for displaying the current page of the book. * This is done through the extension connected to the !PageArea extension point (if such is present).