Skip to content
Snippets Groups Projects
Commit dae0f897 authored by rhenck's avatar rhenck
Browse files

[editor] Add static icons and names to element classes

Separating code changes is rather hard right now, so there is a lot of stuff that is part of this commit that should not. Details below.

- All elements have static fields that holds their title and icon. This way dynamic lists can be built (for example for delete dialog) which show title and icon for all elements. ALso icons and names can be changed in one place.
- Template-Tab has been added. This should have templates to help creating groups of ui elements. This is work in progress and there are actually no templates yet. So this will change or even be removed in the future. This is mostly UI, the code is "TODO".
- Refactoring and improvement for delete and reference dialogs
- Delete logic refactored for elements, sections and pages. There are no longer different dialogs when references are found, but instead one dialog that can do both.
parent a5f8ec5e
No related branches found
No related tags found
Loading
Checking pipeline status
Showing
with 61 additions and 25 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment