Implement ActivitySupport filtering for DynamicContributionContributionItem
org.eclipse.e4.ui.workbench.renderers.swt.DynamicContributionContributionItem is a Contribution Item contributed by E4 Application model. This does not support Activity Support filtering like org.eclipse.ui.internal.PluginActionContributionItem.
An example Window-->Spies Menu Item is visible even if we disable Plug-in Development Activity in Window-->Preferences-->General-->Capabilities-->Development-->Plug-in Development.
Note that, Activity Support workin fine for other E3 components like views, wizards etc.
I tried to implement this support at org.eclipse.e4.ui.workbench.renderers.swt.DynamicContributionContributionItem but org.ecliplse.ui.workbench is not accessible here to access PlatformUI.getWorkbench().getActivitySupport() due to cyclic dependency.
I need some suggestion on how to achieve this.
Note: the very same views are also not filtered in Ctrl+3 dialog if PDE activity is disabled, so there is more work to be done to fully hide them.
Note: the very same views are also not filtered in Ctrl+3 dialog if PDE activity is disabled, so there is more work to be done to fully hide them.
Sad. It is not filtering in Quick Access. I will check.
I believe this is done now via https://github.com/eclipse-platform/eclipse.platform.ui/pull/2768