Skip to content

Conversation

@laeubi
Copy link
Contributor

@laeubi laeubi commented Nov 20, 2025

This pull request introduces a new utility class to centralize and simplify the management of Cucumber-related UI activities in the Eclipse plugin. The new class provides clear, static methods to enable or disable specific features—such as console output, launch configurations, property pages, and preference pages—using Eclipse's activity framework.

New Cucumber activity management utility:

  • Added CucumberActivitySupport class in io.cucumber.eclipse.editor to provide static methods for enabling or disabling Cucumber-related Eclipse activities, improving code organization and maintainability.
    • Methods include enableConsole, enableLaunch, enableProperties, enablePreferences, and disableAllCucumberActivities for fine-grained control over UI elements.
    • Internally manages activity enablement using Eclipse's IWorkbenchActivitySupport and activity IDs for each feature area.

@laeubi laeubi merged commit bd57511 into cucumber:main Nov 20, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant