![]() System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /usr/share/GNUstep/Documentation/Developer/Gui/Reference/ |
Upload File : |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>NSDocumentController</title> </head> <body> <font face="serif"> <a href="Gui.html">Up</a> <br /> <h1><a name="title$NSDocumentController">NSDocumentController</a></h1> <h3>Authors</h3> <dl> <dt>Carl Lindberg (<a href="mailto:Carl.Lindberg@hbo.com"><code>Carl.Lindberg@hbo.com</code></a>)</dt> <dd> </dd> </dl> <blockquote> The document controller class </blockquote> <p><b>Copyright:</b> (C) 1999 Free Software Foundation, Inc.</p> <div> </div> <h1><a name="001000000000"> Software documentation for the NSDocumentController class </a></h1> <h2><a name="class$NSDocumentController">NSDocumentController</a> : <a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSObject.html#class$NSObject">NSObject</a></h2> <blockquote class="declared"> <dl> <dt><b>Declared in:</b></dt> <dd>AppKit/NSDocumentController.h</dd> </dl> </blockquote> <blockquote> <dl> <dt><b>Conforms to:</b></dt> <dd><a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSObject.html#protocol$(NSCoding)">NSCoding</a></dd> </dl> </blockquote> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> </p> <p> NSDocumentController is a class that controls a set of NSDocuments for an application. As an application delegate, it responds to the typical File Menu commands for opening and creating new documents, and making sure all documents have been saved when an application quits. It also registers itself for the NSWorkspaceWillPowerOffNotification. Note that NSDocumentController isn't truly the application delegate, but it works in a similar way. You can still have your own application delegate - but beware, if it responds to the same methods as NSDocumentController, your delegate methods will get called, not the NSDocumentController's. </p> <p> </p> <p> NSDocumentController also manages document types and the related NSDocument subclasses that handle them. This information comes from the custom info property list ({ApplicationName}Info.plist) loaded when NSDocumentController is initialized. The property list contains an array of dictionarys with the key NSTypes. Each dictionary contains a set of keys: </p> <p> <ul> <li> NSDocumentClass - The name of the subclass </li> <li> NSName - Short name of the document type </li> <li> NSHumanReadableName - Longer document type name </li> <li> NSUnixExtensions - Array of strings </li> <li> NSDOSExtensions - Array of strings </li> <li> NSIcon - Icon name for these documents </li> <li> NSRole - Viewer or Editor </li> </ul> </p> <p> You can use NSDocumentController to get a list of all open documents, the current document (The one whose window is Key) and other information about these documents. It also remembers the most recently opened documents (through the user default key NSRecentDocuments).. </p> <p> </p> <p> You can subclass NSDocumentController to customize the behavior of certain aspects of the class, but it is very rare that you would need to do this. </p> <p> </div> <b>Method summary</b> <ul> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController+sharedDocumentController">+sharedDocumentController</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-URLsFromRunningOpenPanel">-URLsFromRunningOpenPanel</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-addDocument$">-addDocument:</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-autosavingDelay">-autosavingDelay</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-beginOpenPanel$forTypes$completionHandler$">-beginOpenPanel:forTypes:completionHandler:</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-beginOpenPanelWithCompletionHandler$">-beginOpenPanelWithCompletionHandler:</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-clearRecentDocuments$">-clearRecentDocuments:</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-closeAllDocuments">-closeAllDocuments</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-closeAllDocumentsWithDelegate$didCloseAllSelector$contextInfo$">-closeAllDocumentsWithDelegate:didCloseAllSelector:contextInfo:</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-currentDirectory">-currentDirectory</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-currentDocument">-currentDocument</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-defaultType">-defaultType</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-displayNameForType$">-displayNameForType:</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-documentClassForType$">-documentClassForType:</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-documentClassNames">-documentClassNames</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-documentForFileName$">-documentForFileName:</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-documentForURL$">-documentForURL:</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-documentForWindow$">-documentForWindow:</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-documents">-documents</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-duplicateDocumentWithContentsOfURL$copying$displayName$error$">-duplicateDocumentWithContentsOfURL:copying:displayName:error:</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-fileExtensionsFromType$">-fileExtensionsFromType:</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-fileNamesFromRunningOpenPanel">-fileNamesFromRunningOpenPanel</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-hasEditedDocuments">-hasEditedDocuments</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-makeDocumentForURL$withContentsOfURL$ofType$error$">-makeDocumentForURL:withContentsOfURL:ofType:error:</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-makeDocumentWithContentsOfFile$ofType$">-makeDocumentWithContentsOfFile:ofType:</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-makeDocumentWithContentsOfURL$ofType$">-makeDocumentWithContentsOfURL:ofType:</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-makeDocumentWithContentsOfURL$ofType$error$">-makeDocumentWithContentsOfURL:ofType:error:</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-makeUntitledDocumentOfType$">-makeUntitledDocumentOfType:</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-makeUntitledDocumentOfType$error$">-makeUntitledDocumentOfType:error:</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-maximumRecentDocumentCount">-maximumRecentDocumentCount</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-newDocument$">-newDocument:</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-noteNewRecentDocument$">-noteNewRecentDocument:</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-noteNewRecentDocumentURL$">-noteNewRecentDocumentURL:</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-openDocument$">-openDocument:</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-openDocumentWithContentsOfFile$display$">-openDocumentWithContentsOfFile:display:</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-openDocumentWithContentsOfURL$display$">-openDocumentWithContentsOfURL:display:</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-openDocumentWithContentsOfURL$display$completionHandler$">-openDocumentWithContentsOfURL:display:completionHandler:</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-openDocumentWithContentsOfURL$display$error$">-openDocumentWithContentsOfURL:display:error:</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-openUntitledDocumentAndDisplay$error$">-openUntitledDocumentAndDisplay:error:</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-openUntitledDocumentOfType$display$">-openUntitledDocumentOfType:display:</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-presentError$">-presentError:</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-presentError$modalForWindow$delegate$didPresentSelector$contextInfo$">-presentError:modalForWindow:delegate:didPresentSelector:contextInfo:</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-recentDocumentURLs">-recentDocumentURLs</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-removeDocument$">-removeDocument:</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-reopenDocumentForURL$withContentsOfURL$display$completionHandler$">-reopenDocumentForURL:withContentsOfURL:display:completionHandler:</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-reopenDocumentForURL$withContentsOfURL$error$">-reopenDocumentForURL:withContentsOfURL:error:</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-reviewUnsavedDocumentsWithAlertTitle$cancellable$">-reviewUnsavedDocumentsWithAlertTitle:cancellable:</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-reviewUnsavedDocumentsWithAlertTitle$cancellable$delegate$didReviewAllSelector$contextInfo$">-reviewUnsavedDocumentsWithAlertTitle:cancellable:delegate:didReviewAllSelector:contextInfo:</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-runModalOpenPanel$forTypes$">-runModalOpenPanel:forTypes:</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-saveAllDocuments$">-saveAllDocuments:</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-setAutosavingDelay$">-setAutosavingDelay:</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-setShouldCreateUI$">-setShouldCreateUI:</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-shouldCreateUI">-shouldCreateUI</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-typeForContentsOfURL$error$">-typeForContentsOfURL:error:</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-typeFromFileExtension$">-typeFromFileExtension:</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-validateMenuItem$">-validateMenuItem:</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-validateUserInterfaceItem$">-validateUserInterfaceItem:</a></li> <li><a rel="gsdoc" href="NSDocumentController.html#method$NSDocumentController-willPresentError$">-willPresentError:</a></li> </ul> <hr width="50%" align="left" /> <div class="method"> <h3><a name="method$NSDocumentController+sharedDocumentController">sharedDocumentController </a></h3> + (id) <b>sharedDocumentController</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> Returns the shared instance of the document controller class. You should always use this method to get the NSDocumentController. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-URLsFromRunningOpenPanel">URLsFromRunningOpenPanel </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSArray.html#class$NSArray">NSArray</a>*) <b>URLsFromRunningOpenPanel</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> Uses <a rel="gsdoc" href="#method$NSDocumentController-runModalOpenPanel$forTypes$"> -runModalOpenPanel:forTypes: </a> to allow the user to select files to open (after initializing the NSOpenPanel). Returns the list of files as URLs that the user has selected. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-addDocument$">addDocument: </a></h3> - (void) <b>addDocument:</b> (<a rel="gsdoc" href="NSDocument.html#class$NSDocument">NSDocument</a>*)document;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-autosavingDelay">autosavingDelay </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSTimeInterval">NSTimeInterval</a>) <b>autosavingDelay</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.4.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-beginOpenPanel$forTypes$completionHandler$">beginOpenPanel: forTypes: completionHandler: </a></h3> - (void) <b>beginOpenPanel:</b> (<a rel="gsdoc" href="NSOpenPanel.html#class$NSOpenPanel">NSOpenPanel</a>*)openPanel<b> forTypes:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSArray.html#class$NSArray">NSArray</a>*)types<b> completionHandler:</b> (GSCompletionBlock3)completionHandler;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.8.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-beginOpenPanelWithCompletionHandler$">beginOpenPanelWithCompletionHandler: </a></h3> - (void) <b>beginOpenPanelWithCompletionHandler:</b> (GSCompletionBlock2)completionHandler;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.7.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-clearRecentDocuments$">clearRecentDocuments: </a></h3> - (IBAction) <b>clearRecentDocuments:</b> (id)sender;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-closeAllDocuments">closeAllDocuments </a></h3> - (BOOL) <b>closeAllDocuments</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> Iterates through all the open documents and asks each one in turn if it can close using <a rel="gsdoc" href="NSDocument.html#method$NSDocument-canCloseDocument">[NSDocument -canCloseDocument]</a> . If the document returns <code>YES</code>, then it is closed. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-closeAllDocumentsWithDelegate$didCloseAllSelector$contextInfo$">closeAllDocumentsWithDelegate: didCloseAllSelector: contextInfo: </a></h3> - (void) <b>closeAllDocumentsWithDelegate:</b> (id)delegate<b> didCloseAllSelector:</b> (SEL)didAllCloseSelector<b> contextInfo:</b> (void*)contextInfo;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-currentDirectory">currentDirectory </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*) <b>currentDirectory</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> Returns the current directory. This method first checks if there is a current document using the <a rel="gsdoc" href="#method$NSDocumentController-currentDocument"> -currentDocument </a> method. If this returns a document and the document has a filename, this method returns the directory this file is located in. Otherwise it returns the directory of the most recently opened document or the user's home directory if no document has been opened before. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-currentDocument">currentDocument </a></h3> - (id) <b>currentDocument</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> Returns the document whose window is the main window </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-defaultType">defaultType </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*) <b>defaultType</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.4.0</div> <br /> <div class="desc"> Returns the first type found for which the application has an editor role. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-displayNameForType$">displayNameForType: </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*) <b>displayNameForType:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)type;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-documentClassForType$">documentClassForType: </a></h3> - (Class) <b>documentClassForType:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)type;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-documentClassNames">documentClassNames </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSArray.html#class$NSArray">NSArray</a>*) <b>documentClassNames</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.4.0</div> <br /> <div class="desc"> Returns the names of the NSDocument subclasses handling documents in this application. This will be <code>nil</code> or empty if this is not a document based application. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-documentForFileName$">documentForFileName: </a></h3> - (id) <b>documentForFileName:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)fileName;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> Returns the NSDocument class that controls the document with the name <var>fileName</var>. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-documentForURL$">documentForURL: </a></h3> - (id) <b>documentForURL:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSURL.html#class$NSURL">NSURL</a>*)url;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.4.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-documentForWindow$">documentForWindow: </a></h3> - (id) <b>documentForWindow:</b> (<a rel="gsdoc" href="NSWindow.html#class$NSWindow">NSWindow</a>*)window;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> Returns the NSDocument class that controls <var>window</var> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-documents">documents </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSArray.html#class$NSArray">NSArray</a>*) <b>documents</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> Returns an array of all open documents </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-duplicateDocumentWithContentsOfURL$copying$displayName$error$">duplicateDocumentWithContentsOfURL: copying: displayName: error: </a></h3> - (id) <b>duplicateDocumentWithContentsOfURL:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSURL.html#class$NSURL">NSURL</a>*)url<b> copying:</b> (BOOL)duplicateByCopying<b> displayName:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)displayNameOrNil<b> error:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSError.html#class$NSError">NSError</a>**)outError;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.7.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-fileExtensionsFromType$">fileExtensionsFromType: </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSArray.html#class$NSArray">NSArray</a>*) <b>fileExtensionsFromType:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)type;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-fileNamesFromRunningOpenPanel">fileNamesFromRunningOpenPanel </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSArray.html#class$NSArray">NSArray</a>*) <b>fileNamesFromRunningOpenPanel</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> Uses <a rel="gsdoc" href="#method$NSDocumentController-runModalOpenPanel$forTypes$"> -runModalOpenPanel:forTypes: </a> to allow the user to select files to open (after initializing the NSOpenPanel). Returns the list of files that the user has selected. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-hasEditedDocuments">hasEditedDocuments </a></h3> - (BOOL) <b>hasEditedDocuments</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> Returns <code>YES</code> if any documents are "dirty", e.g. changes have been made to the document that have not been saved to the disk </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-makeDocumentForURL$withContentsOfURL$ofType$error$">makeDocumentForURL: withContentsOfURL: ofType: error: </a></h3> - (id) <b>makeDocumentForURL:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSURL.html#class$NSURL">NSURL</a>*)url<b> withContentsOfURL:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSURL.html#class$NSURL">NSURL</a>*)contents<b> ofType:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)type<b> error:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSError.html#class$NSError">NSError</a>**)err;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.4.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-makeDocumentWithContentsOfFile$ofType$">makeDocumentWithContentsOfFile: ofType: </a></h3> - (id) <b>makeDocumentWithContentsOfFile:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)fileName<b> ofType:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)type;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-makeDocumentWithContentsOfURL$ofType$">makeDocumentWithContentsOfURL: ofType: </a></h3> - (id) <b>makeDocumentWithContentsOfURL:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSURL.html#class$NSURL">NSURL</a>*)url<b> ofType:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)type;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-makeDocumentWithContentsOfURL$ofType$error$">makeDocumentWithContentsOfURL: ofType: error: </a></h3> - (id) <b>makeDocumentWithContentsOfURL:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSURL.html#class$NSURL">NSURL</a>*)url<b> ofType:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)type<b> error:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSError.html#class$NSError">NSError</a>**)err;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.4.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-makeUntitledDocumentOfType$">makeUntitledDocumentOfType: </a></h3> - (id) <b>makeUntitledDocumentOfType:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)type;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-makeUntitledDocumentOfType$error$">makeUntitledDocumentOfType: error: </a></h3> - (id) <b>makeUntitledDocumentOfType:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)type<b> error:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSError.html#class$NSError">NSError</a>**)err;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.4.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-maximumRecentDocumentCount">maximumRecentDocumentCount </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/BaseAdditions/Reference/TypesAndConstants.html#type$NSUInteger">NSUInteger</a>) <b>maximumRecentDocumentCount</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.4.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-newDocument$">newDocument: </a></h3> - (IBAction) <b>newDocument:</b> (id)sender;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-noteNewRecentDocument$">noteNewRecentDocument: </a></h3> - (void) <b>noteNewRecentDocument:</b> (<a rel="gsdoc" href="NSDocument.html#class$NSDocument">NSDocument</a>*)aDocument;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-noteNewRecentDocumentURL$">noteNewRecentDocumentURL: </a></h3> - (void) <b>noteNewRecentDocumentURL:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSURL.html#class$NSURL">NSURL</a>*)anURL;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-openDocument$">openDocument: </a></h3> - (IBAction) <b>openDocument:</b> (id)sender;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-openDocumentWithContentsOfFile$display$">openDocumentWithContentsOfFile: display: </a></h3> - (id) <b>openDocumentWithContentsOfFile:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)fileName<b> display:</b> (BOOL)display;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> Creates an <a rel="gsdoc" href="NSDocument.html#class$NSDocument">NSDocument</a> object from the data at the absolute path given in <var>fileName</var>. Causes the document to be displayed if <var>display</var> is <code>YES</code>. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-openDocumentWithContentsOfURL$display$">openDocumentWithContentsOfURL: display: </a></h3> - (id) <b>openDocumentWithContentsOfURL:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSURL.html#class$NSURL">NSURL</a>*)url<b> display:</b> (BOOL)display;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> Creates an <a rel="gsdoc" href="NSDocument.html#class$NSDocument">NSDocument</a> object from the data at the supplied <var>url</var>. <br /> Causes the document to be displayed if <var>display</var> is <code>YES</code>. </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-openDocumentWithContentsOfURL$display$completionHandler$">openDocumentWithContentsOfURL: display: completionHandler: </a></h3> - (void) <b>openDocumentWithContentsOfURL:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSURL.html#class$NSURL">NSURL</a>*)url<b> display:</b> (BOOL)display<b> completionHandler:</b> (GSCompletionBlock1)completionHandler;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.7.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-openDocumentWithContentsOfURL$display$error$">openDocumentWithContentsOfURL: display: error: </a></h3> - (id) <b>openDocumentWithContentsOfURL:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSURL.html#class$NSURL">NSURL</a>*)url<b> display:</b> (BOOL)display<b> error:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSError.html#class$NSError">NSError</a>**)err;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.4.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-openUntitledDocumentAndDisplay$error$">openUntitledDocumentAndDisplay: error: </a></h3> - (id) <b>openUntitledDocumentAndDisplay:</b> (BOOL)display<b> error:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSError.html#class$NSError">NSError</a>**)err;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.4.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-openUntitledDocumentOfType$display$">openUntitledDocumentOfType: display: </a></h3> - (id) <b>openUntitledDocumentOfType:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)type<b> display:</b> (BOOL)display;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-presentError$">presentError: </a></h3> - (BOOL) <b>presentError:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSError.html#class$NSError">NSError</a>*)err;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.4.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-presentError$modalForWindow$delegate$didPresentSelector$contextInfo$">presentError: modalForWindow: delegate: didPresentSelector: contextInfo: </a></h3> - (void) <b>presentError:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSError.html#class$NSError">NSError</a>*)err<b> modalForWindow:</b> (<a rel="gsdoc" href="NSWindow.html#class$NSWindow">NSWindow</a>*)win<b> delegate:</b> (id)delegate<b> didPresentSelector:</b> (SEL)sel<b> contextInfo:</b> (void*)context;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.4.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-recentDocumentURLs">recentDocumentURLs </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSArray.html#class$NSArray">NSArray</a>*) <b>recentDocumentURLs</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-removeDocument$">removeDocument: </a></h3> - (void) <b>removeDocument:</b> (<a rel="gsdoc" href="NSDocument.html#class$NSDocument">NSDocument</a>*)document;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-reopenDocumentForURL$withContentsOfURL$display$completionHandler$">reopenDocumentForURL: withContentsOfURL: display: completionHandler: </a></h3> - (void) <b>reopenDocumentForURL:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSURL.html#class$NSURL">NSURL</a>*)url<b> withContentsOfURL:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSURL.html#class$NSURL">NSURL</a>*)contents<b> display:</b> (BOOL)display<b> completionHandler:</b> (GSCompletionBlock1)completionHandler;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.7.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-reopenDocumentForURL$withContentsOfURL$error$">reopenDocumentForURL: withContentsOfURL: error: </a></h3> - (BOOL) <b>reopenDocumentForURL:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSURL.html#class$NSURL">NSURL</a>*)url<b> withContentsOfURL:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSURL.html#class$NSURL">NSURL</a>*)contents<b> error:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSError.html#class$NSError">NSError</a>**)err;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.4.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-reviewUnsavedDocumentsWithAlertTitle$cancellable$">reviewUnsavedDocumentsWithAlertTitle: cancellable: </a></h3> - (BOOL) <b>reviewUnsavedDocumentsWithAlertTitle:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)title<b> cancellable:</b> (BOOL)cancellable;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> If there are any unsaved documents, this method displays an alert panel asking if the user wants to review the unsaved documents. If the user agrees to review the documents, this method calls <a rel="gsdoc" href="#method$NSDocumentController-closeAllDocuments"> -closeAllDocuments </a> to close each document (prompting to save a document if it is dirty). If <var>cancellable</var> is <code>YES</code>, then the user is not allowed to cancel this request, otherwise this method will return <code>NO</code> if the user presses the Cancel button. Otherwise returns <code>YES</code> after all documents have been closed (or if there are no unsaved documents.) </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-reviewUnsavedDocumentsWithAlertTitle$cancellable$delegate$didReviewAllSelector$contextInfo$">reviewUnsavedDocumentsWithAlertTitle: cancellable: delegate: didReviewAllSelector: contextInfo: </a></h3> - (void) <b>reviewUnsavedDocumentsWithAlertTitle:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)title<b> cancellable:</b> (BOOL)cancellable<b> delegate:</b> (id)delegate<b> didReviewAllSelector:</b> (SEL)didReviewAllSelector<b> contextInfo:</b> (void*)contextInfo;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-runModalOpenPanel$forTypes$">runModalOpenPanel: forTypes: </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/BaseAdditions/Reference/TypesAndConstants.html#type$NSInteger">NSInteger</a>) <b>runModalOpenPanel:</b> (<a rel="gsdoc" href="NSOpenPanel.html#class$NSOpenPanel">NSOpenPanel</a>*)openPanel<b> forTypes:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSArray.html#class$NSArray">NSArray</a>*)openableFileExtensions;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> Invokes <a rel="gsdoc" href="NSOpenPanel.html#method$NSOpenPanel-runModalForTypes$">[NSOpenPanel -runModalForTypes:]</a> with the NSOpenPanel object <var>openPanel</var>, and passes the <var>openableFileExtensions</var> file types </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-saveAllDocuments$">saveAllDocuments: </a></h3> - (IBAction) <b>saveAllDocuments:</b> (id)sender;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-setAutosavingDelay$">setAutosavingDelay: </a></h3> - (void) <b>setAutosavingDelay:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSTimeInterval">NSTimeInterval</a>)autosavingDelay;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.4.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-setShouldCreateUI$">setShouldCreateUI: </a></h3> - (void) <b>setShouldCreateUI:</b> (BOOL)flag;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-shouldCreateUI">shouldCreateUI </a></h3> - (BOOL) <b>shouldCreateUI</b>;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-typeForContentsOfURL$error$">typeForContentsOfURL: error: </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*) <b>typeForContentsOfURL:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSURL.html#class$NSURL">NSURL</a>*)url<b> error:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSError.html#class$NSError">NSError</a>**)err;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.4.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-typeFromFileExtension$">typeFromFileExtension: </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*) <b>typeFromFileExtension:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSString.html#class$NSString">NSString</a>*)fileExtension;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-validateMenuItem$">validateMenuItem: </a></h3> - (BOOL) <b>validateMenuItem:</b> (<a rel="gsdoc" href="NSMenuItem.html#class$NSMenuItem">NSMenuItem</a>*)anItem;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-validateUserInterfaceItem$">validateUserInterfaceItem: </a></h3> - (BOOL) <b>validateUserInterfaceItem:</b> (id<NSValidatedUserInterfaceItem>)anItem;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.0.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <div class="method"> <h3><a name="method$NSDocumentController-willPresentError$">willPresentError: </a></h3> - (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSError.html#class$NSError">NSError</a>*) <b>willPresentError:</b> (<a rel="gsdoc" href="/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSError.html#class$NSError">NSError</a>*)err;<br /> <div class="availability"> <b>Availability:</b> MacOS-X 10.4.0</div> <br /> <div class="desc"> <em>Description forthcoming.</em> </div> <hr width="25%" align="left" /> </div> <br /> <a href="Gui.html">Up</a> </font> </body> </html>