| 79 | * PageStructurePalette extends TreePalette. |
| 80 | * It will have PageStructureItems, that will be constructed by ElementViews, every item will compute it's children using the property {{{ElementView#elementViews()}}} |
| 81 | * The items will be cached by the ElementViews |
| 82 | * The {{{public abstract Prop<ImmList<I>> treeItems()}}} list will be constructed by the current BookDocView's {{{RootPageView#mainPartView()}}} property and all it's ElementView children and in it's tree. |
| 83 | * There could be special PageStructureItem for every leaf ElementView that contain it's properties, links etc... |
| 84 | * The renaming will be as with the resources palette. |
| 85 | * Selection will work as in the PagePreviewPalette, but for every element (optional). |
| 86 | * AllResourcesPalette -> make the resources palette a TreePalette (optional). |
| 87 | * For now there is a special [browser:branches/private/meddle/page_structure_palette/sophie2-platform/modules/org.sophie2.base.layout/src/test/java/org/sophie2/base/layout/model/TreePaletteDemo.java TreePaletteDemo], that shows updating a custom tree palette (deleting and adding nodes). Will be update to work with selection and renaming nodes. |
| 88 | * If you think the PageStructurePalette needs special testing there will be, but to bring up the whole Sophie to test things that are tested generally in the demo is meaningless for me. |