Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug 578581 - MarkerSupportView custom groupings requires use of internal GroupsContribution #133

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

eobrienPilz
Copy link
Contributor

This is a patch submission for the bugzilla issue here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=578581

The proposal is to have an API equivalent of the ContributionItem for Marker groups.
This will allow clients to create their own custom groupings.

Note: Creating the custom groupings was always possible but relied on referencing the internal GroupsContribution in the xml definition.

@mickaelistria
Copy link
Contributor

Can't CompoundContributionItem be used directly by clients?

@eobrienPilz
Copy link
Contributor Author

Can't CompoundContributionItem be used directly by clients?

Yes, but the classes to access marker grouping information are internal i.e. see GroupsContribution.getContributionItems().
It needs to access more that one internal class to populate the menu and execute the grouping action.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 28, 2023

Test Results

 1 815 files  ±0   1 815 suites  ±0   1h 34m 44s ⏱️ -53s
 7 699 tests ±0   7 471 ✅ ±0  228 💤 ±0  0 ❌ ±0 
24 258 runs  ±0  23 511 ✅ ±0  747 💤 ±0  0 ❌ ±0 

Results for commit c2345eb. ± Comparison against base commit c603575.

♻️ This comment has been updated with latest results.

@eobrienPilz eobrienPilz force-pushed the 578581_GroupsContribution branch 2 times, most recently from 6298298 to e7a6202 Compare April 9, 2024 10:07
eobrienPilz added a commit to eobrienPilz/eclipse.platform.ui that referenced this pull request Sep 20, 2024
…nal GroupsContribution eclipse-platform#133

Squashed commit of the following:

commit e7a6202
Author: Enda O Brien <[email protected]>
Date:   Mon Jun 13 11:26:11 2022 +0100

    Bug 578581 - MarkerSupportView custom groupings requires use of internal GroupsContribution
eobrienPilz added a commit to eobrienPilz/eclipse.platform.ui that referenced this pull request Sep 24, 2024
…nal GroupsContribution eclipse-platform#133

Squashed commit of the following:

commit 1d2dc6e
Author: Enda O Brien <[email protected]>
Date:   Fri Sep 20 17:18:06 2024 +0100

    Bug 578581 - MarkerSupportView custom groupings requires use of internal GroupsContribution eclipse-platform#133
    Squashed commit of the following:

    commit e7a6202
    Author: Enda O Brien <[email protected]>
    Date:   Mon Jun 13 11:26:11 2022 +0100

        Bug 578581 - MarkerSupportView custom groupings requires use of internal GroupsContribution
…nal GroupsContribution eclipse-platform#133

Squashed commit of the following:

commit 1d2dc6e
Author: Enda O Brien <[email protected]>
Date:   Fri Sep 20 17:18:06 2024 +0100

    Bug 578581 - MarkerSupportView custom groupings requires use of internal GroupsContribution eclipse-platform#133
    Squashed commit of the following:

    commit e7a6202
    Author: Enda O Brien <[email protected]>
    Date:   Mon Jun 13 11:26:11 2022 +0100

        Bug 578581 - MarkerSupportView custom groupings requires use of internal GroupsContribution
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.

2 participants