[[BackLinksMenu]] [[TicketQuery(summary=BOOK_PROPERTIES_DIALOG_R0, format=table, col=summary|owner|status|type|component|priority|effort|importance, rows=description|analysis_owners|analysis_reviewers|analysis_score|design_owners|design_reviewers|design_score|implementation_owners|implementation_reviewers|implementation_score|test_owners|test_reviewers|test_score|)]] = Analysis = == Overview == This task is about providing a book properties dialog. It should display some basic meta information for the book and allow editing part of it. Currently we have a dialog that displays: * Book title * Book Comment * Number of pages * File size * Creation time * Last modification time == Task requirements == * The following fields should be made editable: * Title * Page width * Page height * The keyboard shortcut for opening the book properties dialog should be Ctrl+Shift+B. * The book properties dialog should be displayed when a new book is created. == Task result == The result should be source code. == Implementation idea == Use the idea implemented in ResourceDetailsPalette class to show the meta data in grids in order to keep the consistency of the overview. == Related == BOOK_PROPERTIES_DIALOG == How to demo == * Display the book properties dialog. * Change the title and page size and show they are updated. = Design = This task requires only the following changes: * Create a table model for the properties similar to the model of the resource palette. * It should get its content from the meta information of the resource. * Add extra fields for book title, page height and page width. * Change the userCreateNewBook method in AppLogic class to display the bookPropertieesDialog for the new book. * Change the mnemoic for the bookPropertiesDialog to Ctrl+Shift+B. * Add a new class BookPropertiesDialogLogic to handle the events of the dialog. Initial unit tests can be found here: [source:branches/private/diana/sophie2-platform/modules/org.sophie2.main.app.commons/src/test/java/org/sophie2/main/app/commons/dialogs] (changeset [2903], [2911]) = Implementation = ^(Implementation results should be described and linked here (from the wiki or the repository))^ = Testing = = Comments = ^(Write comments for this or later revisions here.)