Changes between Version 4 and Version 5 of UNPLANNED_CREATE_SERVER_RESOURCE_R0
- Timestamp:
- 10/05/09 09:32:44 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UNPLANNED_CREATE_SERVER_RESOURCE_R0
v4 v5 37 37 == Menu == 38 38 * Create a !SaveBookOnServer menu item. It's text is "Save On Server..." and the hot key will be Ctrl+Alt+S. 39 * It's logic operation def will be in !ServersTabLogic's constant !ON_SAVE_BOOK_ON_SERVER.40 * The logic is to open a server resource dialog choose a server and path and save the book creating an !AutoAction which changes the model of the server's top res yurce.39 * It's logic operation def will be in !ServersTabLogic's constant ON_SAVE_BOOK_ON_SERVER. 40 * The logic is to open a server resource dialog choose a server and path and save the book creating an !AutoAction which changes the model of the server's top resource. 41 41 == Server Resource Dialog == 42 42 * A !BaseCustomModalDialog base abstract class is created … … 51 51 * Extends !Dialog 52 52 * Defines three inner classes for dialog input and output, and for a concrete implementation of !BaseCustomModalDialog. 53 * Input contians default book name on the server, and dialog parent - a base visual element used to find the !ServerResourceDialog in the view hierarchy. 54 * Output contains the selected account, path to the new resource and a flag if the user wants to start edit the book on the server. 55 * Dialog (implementation of !BaseCustomModalDialog) 56 * List with connected accounts - filtered from the !ConnectionsPalette's accounts pro list. 57 * The accounts are rendered using !AccountListCellRenderer which is extracted in new class renderer for !ConnectionsPalette's items 58 * A text field for the resource path 59 * A check box for the flag start editing on server. 60 * Uses spring layout to show it's content. 53 61 == Icons == 54 62 * Changes on !DocView hierarchy. 63 * Now the icon of a !DocView is calculated in !DefaultDocView which depends on the concrete !DocView class and there are two icons - for a book and for a script. 64 * There is need to change where this calculation is done and by who. 65 * The implementation of documentIcon() 55 66 56 67 = Implementation =