Often flag is set to false for scripting or searching operations involving the document's data. Returns the document type associated with files having extension fileExtension . Creates an NSOpenPanel, and initializes it appropriately. Then uses runModalOpenPanel to run the NSOpenPanel. Returns the chosen files as an array of URLs.
Returns null if the user cancels the Open panel or makes no selection.
Validates menu item anItem, returning true if it should be enabled, false otherwise. As implemented, if anItem is the Save All menu item, returns true if there are any edited documents. Subclasses can override this method to perform additional validations. Inc. All rights reserved.