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/markers/internal/DialogMarkerProperties.java
* internal, there are public subclasses that expose this method as API.
     * Changes in this implementation should be treated as API changes.
     * 
     * @return the resource
     * 
     * @since 3.3
	 */
	protected IResource getResource() {
		return resource;
	}
	/**
     * Sets initial attributes to use when creating a new task.
     * If not set, the new task is created with default attributes.
     * <p>IMPORTANT:  Although this method is protected and the class is 
     * internal, there are public subclasses that expose this method as API.
     * Changes in this implementation should be treated as API changes.
     * 
     * @param initialAttributes the initial attributes
     * 
     * @since 3.3
	 */
	protected void setInitialAttributes(Map initialAttributes) {
		this.initialAttributes = initialAttributes;
	}
	/**
     * Returns the initial attributes to use when creating a new task,
     * or <code>null</code> if not set.
     * If not set, the new task is created with default attributes.
     * <p>IMPORTANT:  Although this method is protected and the class is 
     * internal, there are public subclasses that expose this method as API.