Community
Participate
Working Groups
As all other actions AddBookmarkAction should use IAdaptable to retrieve the IFile from the selection so that it can be reused in other navigators like packages view too. NOTES:
PRODUCT VERSION: 116
Created attachment 229 [details] Proposed fix for org.eclipse.ui.actions.AddBookmarkAction.java
Verified that the fixed AddBookmarkAction (see attachment) can be used by JDT PackageExplorerPart in place of their own. Tested in Navigator and Packages views. Sent mail to Simon asking for review.
Accepted proposed patch with one minor change - added an initial test for IFile so as to avoid going thru the costly getAdapter call if we already have an IFile. Fix will be in build > 2002-01-17