86 | | * The code for every part of the UI should be reviewed. |
87 | | * Some parts may appear to be OK. |
88 | | * Other parts may need a redesign in order to meet the requirements. |
89 | | * UI should become consistent with the new resources, changes and templates (see [wiki:GROUP_RESOURCE_MODEL_REDESIGN_R0], [wiki:HOT_TEXT_REDESIGN_R0], [wiki:GROUP_BOOK_MODEL_REDESIGN_R0]). |
90 | | * For UI parts that need attention define a more suitable design. These include: |
91 | | * Layout |
92 | | * MyDoggy - the whole "org.sophie2.main.layout.mydoggy" module should be rewritten (Flaps, tabs and palettes part). |
93 | | * Fixing mydoggy library: |
94 | | * There is a bug in the mydoggy built in "DockedContainer" that doesn't allow look and feel setting because of improper getting of the default font from a SynthLookAndFeel. This means that setting a system LookAndFeel is OK, while setting a synth one breaks mydoggy. |
95 | | * A package that fixes mydoggy will be created inside the "org.sophie2.main.layout.mydoggy" module. It will be named "[source:branches/private/peko/sophie2-refactoring/modules/org.sophie2.main.layout.mydoggy/src/main/java/org/sophie2/main/layout/mydoggy/fixes fixes]" and will contain: |
96 | | * An implementation of "DockedContainer" in a class called [source:branches/private/peko/sophie2-refactoring/modules/org.sophie2.main.layout.mydoggy/src/main/java/org/sophie2/main/layout/mydoggy/fixes/SophieDockedContainer.java SophieDockedContainer]. It will provide a default font and set in the places where mydoggy breaks. |
97 | | * In order to have a consistently working mydoggy we should also provide an implementation of "ToolWindowDescriptor" in a class called [source:branches/private/peko/sophie2-refactoring/modules/org.sophie2.main.layout.mydoggy/src/main/java/org/sophie2/main/layout/mydoggy/fixes/SophieToolWindowDescriptor.java SophieToolWindowDescriptor]. It is needed for another class described later so that it return a "SophieDockedContainer". The "getToolWindowContainer" will be overridden to provide it. |
98 | | * The SophieToolWindowDescriptor is needed in MyDoggyToolWindowManager. In order for the whole fix to work we should provide a [source:branches/private/peko/sophie2-refactoring/modules/org.sophie2.main.layout.mydoggy/src/main/java/org/sophie2/main/layout/mydoggy/fixes/SophieToolWindowManager.java SophieToolWindowManager] that overrides the "createDescriptor" method. |
99 | | |
| 86 | * The code for every part of the UI should be reviewed. |