Project: Eclipse_Platform_UI
Bug 2675 AddBookmarkAction should adapt selection (1GHWE2N)
Reported: 2001-10-10 22:41:14 | Status: closed fixed

The AddBookmarkAction should adapt the selection to IFile rather than just relying on instanceof. See AddBookmarkAction.createMarker(String markerType) and updateSelection(IStructuredSelection selection) Note that there was a similar fix for OpenResourceAction (see PR 1GF5XJ5). NOTES:

Files changed in fix:
bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/actions/AddBookmarkAction.java