Community
Participate
Working Groups
3.0 M8 The delete action on the problem view can never be activated and therefore does nothing. The action will only enable for subtypes of Task and Bookmark where they are user editable. It doesn't really make sense to have a delete action for problems anyway as they can only be 'resolved', not deleted. I proppose to add a method isMarkerTypeEditable to the Util class and use this to determine whether to add the delete action to the toolbar and context menu. The root marker type would have to be used as there doesn't seem to be any easy way to access the MarkerManager. I could provide a patch if this is deemed a problem.
Created attachment 9564 [details] Patch to only show delete action for editable marker types changes to: org.eclipse.ui.views.markers.internal.Util org.eclipse.ui.views.markers.internal.MarkerView Added isRootMarkerTypeEditable to Util Updated MarkerView to use this new method to determine if the delete button could ever be enabled. NOTE: the formatting of the new code does not match the existing code
*** Bug 58549 has been marked as a duplicate of this bug. ***
when will this patch be integrated in standard eclipse? shouldn't this be done with 3.2?
I'll try to look at it for M5.
I went for a simpler (and more effecient approach). I now ask the view if it is possible to edit a marker ever.
Fixed in build >20060124
We still have it in the toolbar in 20060213-1200
Created attachment 34941 [details] Patch to remove tool item
Fixed in build >20060220
Verified in 20060328