Skip to content

Commit

Permalink
Bug 578581 - MarkerSupportView custom groupings requires use of inter…
Browse files Browse the repository at this point in the history
…nal GroupsContribution #133

Squashed commit of the following:

commit e7a6202
Author: Enda O Brien <E.OBrien@pilz.ie>
Date:   Mon Jun 13 11:26:11 2022 +0100

    Bug 578581 - MarkerSupportView custom groupings requires use of internal GroupsContribution
  • Loading branch information
eobrienPilz committed Sep 20, 2024
1 parent 8df2017 commit 1d2dc6e
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bundles/org.eclipse.ui.ide/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %Plugin.name
Bundle-SymbolicName: org.eclipse.ui.ide; singleton:=true
Bundle-Version: 3.22.400.qualifier
Bundle-Version: 3.23.0.qualifier
Bundle-Activator: org.eclipse.ui.internal.ide.IDEWorkbenchPlugin
Bundle-ActivationPolicy: lazy
Bundle-Vendor: %Plugin.providerName
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public GroupsContribution() {
}

@Override
protected IContributionItem[] getContributionItems() {
public IContributionItem[] getContributionItems() {
ExtendedMarkersView view = getView();
if (view == null) {
return new IContributionItem[0];
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package org.eclipse.ui.views.markers;

import org.eclipse.jface.action.IContributionItem;
import org.eclipse.ui.actions.CompoundContributionItem;
import org.eclipse.ui.internal.views.markers.GroupsContribution;

/**
* @since 3.23
*
*/
public class MarkerGroupsContribution extends CompoundContributionItem {

@Override
protected IContributionItem[] getContributionItems() {
GroupsContribution gc = new GroupsContribution();
return gc.getContributionItems();
}
}

0 comments on commit 1d2dc6e

Please sign in to comment.