| 34 | * MyDoggy - the whole "org.sophie2.main.layout.mydoggy" module should be rewritten (Flaps, tabs and palettes part). |
| 35 | * Fixing mydoggy library: |
| 36 | * 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. |
| 37 | * 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: |
| 38 | * 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. |
| 39 | * 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. |
| 40 | * 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. |
| 41 | |