Skip to content

Implement ActivitySupport filtering for DynamicContributionContributionItem #2217

@raghucssit

Description

@raghucssit

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.
spies-menu-item

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions