Bug 156864 [Undo] Edit > Add Bookmark... does not work
I20060906-1200 1. start fresh workspace 2. create simple project P 3. create simple file f 4. close the editor (the editor actions works) 5. Edit > Add Bookmark... ==> bookmark is not added
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/bookmarkexplorer/BookmarkPropertiesDialog.java
* 
     * @param resource the resource
     */
    public void setResource(IResource resource) {
    	
        super.setResource(resource);
    }
    /**
     * Returns the resource to use when creating a new bookmark,
     * or <code>null</code> if none has been set.
     * If not set, the new bookmark is created on the workspace root.
     * 
     * @return the resource
     */
    public IResource getResource() {
    	
        return super.getResource();
    }
    /**
     * Sets initial attributes to use when creating a new bookmark.
     * If not set, the new bookmark is created with default attributes.
     * 
     * @param initialAttributes the initial attributes
     */
    public void setInitialAttributes(Map initialAttributes) {
    	
        super.setInitialAttributes(initialAttributes);
    }
    /**
     * Returns the initial attributes to use when creating a new bookmark,