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
* For a new marker, this returns <code>null</code> until
     * the dialog returns, but is non-null after.
     * <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.
     * 
     * @return the marker
     * 
     * @since 3.3
	 */
	protected IMarker getMarker() {
		return marker;
	}
	/**
     * Sets the resource to use when creating a new task.
     * If not set, the new task is created on the workspace root.
     * <p>IMPORTANT:  Although this class is internal, there are public 
     * subclasses that expose this method as API.  Changes in 
     * this implementation should be treated as API changes.
     * 
     * @param resource the resource
	 */
	public void setResource(IResource resource) {
		this.resource = resource;
	}
	/**
     * Returns the resource to use when creating a new task,
     * or <code>null</code> if none has been set.
     * If not set, the new task is created on the workspace root.
     * <p>IMPORTANT:  Although this method is protected and the class is