Returns the window title to be used for a given document display name.
- macOS 10.0+
The display name for the document. This is the last path component under which the document file is saved.
The default implementation returns
display. Subclasses can override this method to customize the window title. For example, a CAD application could append “-Top” or “-Side,” depending on the view displayed by the window.