Bug 517327 - Adding a new mechanism to filter parts, tool items and menu items
Summary: Adding a new mechanism to filter parts, tool items and menu items
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.7   Edit
Hardware: PC Windows 10
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-28 06:19 EDT by Andreas Schwarz CLA
Modified: 2017-11-06 01:54 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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?