Instance Method

noteNewRecentDocument:

Adds or replaces an Open Recent menu item corresponding to the document.

Declaration

- (void)noteNewRecentDocument:(NSDocument *)document;

Parameters

document

The document to evaluate.

Discussion

This method constructs a URL and calls noteNewRecentDocumentURL:. Subclasses might override this method to prevent certain documents or kinds of documents from getting into the list.

See Also

Managing the Open Recent Menu

maximumRecentDocumentCount

The maximum number of items that may be presented in the standard Open Recent menu.

- clearRecentDocuments:

Empties the recent documents list for the application.

- noteNewRecentDocumentURL:

Adds or replaces an Open Recent menu item corresponding to the data located by the URL.

recentDocumentURLs

The list of recent-document URLs.