Bug 517327

Summary: Adding a new mechanism to filter parts, tool items and menu items
Product: [Eclipse Project] Platform Reporter: Andreas Schwarz <andreas_schwarz1>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: moritz.aleithe, psuzzi
Version: 4.7   
Target Milestone: ---   
Hardware: PC   
OS: Windows 10   
Whiteboard:

Description Andreas Schwarz CLA 2017-05-28 06:19:13 EDT
I have created a new mechanism to filter views, tool items and menu items in an e4 application because e4 still seems to miss full support to handle this task. I made a gerrit for the changes (https://git.eclipse.org/r/#/c/98101).

The basic idea of these changes is to provide a pluggable  hook that allows the developer to specify how to filter components. This could be for example custom tags in the model or a special interface that will be implemented by handlers or views, with no restrictions given from the framework.

I want to start a discussion if my idea is capable or if I missed something that allows me to handle the filtering of these components with the current features.

At last I want to mention that I haven't added tests because I didn't know where to place. Maybe you can give me a hint here.
Comment 1 Andreas Schwarz CLA 2017-09-16 04:46:55 EDT
Any comment on this?
Comment 2 Moritz Aleithe CLA 2017-11-06 01:54:19 EST
Patrik, can you please give any input on that one?