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
  • Loading branch information
eobrienPilz committed Apr 9, 2024
1 parent d1fbc3c commit e7a6202
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.200.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 e7a6202

Please sign in to comment.