Community
Participate
Working Groups
While working on bug 295063 I realized that we need a similar mechanism for tracking filter deltas and sending POST_CHANGE events as we have for markers. Thus I thought that I could use markers to keep resource filter descriptions. Advantages of this approach are: - we reuse robust mechanism to store filter descriptions - we don't have to duplicate code to have POST_CHANGE events for filter descriptions - when resources are copied, moved etc. filters descriptions are handled like regular markers, what means no extra code is needed to handle filter descriptions I'm attaching a dirty patch illustrating this approach. One extra thing that needs to be implemented is storing the new filtermarkers, since they are non-persistent. They need to be stored somewhere in the project folder, either in .project or as project preferences.
Created attachment 154680 [details] Proposal v01 (dirty)
Looks like a great way to refactor the filter implementation by re-using the existing marker implementation.
Moving to 3.7. The only issue here is that there is no mechanism to persist markers in the project area. I think we should enhance markers first and then adapt it in filters.
Moving to 3.8. Need to investigate whether we need to make this enhancement to fix bug 295063.
I am no longer involved in Platform Core development.