[Previous]
[Up]
[Next]
NSDocumentController
Authors
- Richard Frith-Macdonald
-
Version: 0.1
Date: 28 February, 2000
Declared in: Gui/NSDocumentController.h
Inherits from: NSObject
Conforms to: NSObject
+ (id) sharedDocumentController
- (BOOL) closeAllDocuments
- (NSString*) currentDirectory
- (id) currentDocument
- (NSString*) displayNameForType: (NSString*)docType
- (Class) documentClassForType: (NSString*)docType
- (id) documentForFileName: (NSString*)fileName
- (id) documentForWindow: (NSWindow*)window
- (NSArray*) documents
- (NSArray*) fileExtensionsFromType: (NSString*)docType
- (NSArray*) fileNamesFromRunningOpenPanel
- (BOOL) hasEditedDocuments
- (id) makeDocumentWithContentsOfFile: (NSString*)fileName
- (id) makeUntitledDocumentOfType: (NSString*)type
- (void) newDocument: (id)sender
- (void) openDocument: (id)sender
- (id) openDocumentWithContentsOfFile: (NSString*)fileName
- (id) openUntitledDocumentOfType: (NSString*)docType
- (BOOL) reviewUnsavedDocumentsWithAlertTitle: (NSString*)title cancellable: (BOOL)flag
- (int) runModalOpenPanel: (NSOpenPanel*)openPanel
- (void) saveAllDocuments: (id)sender
- (void) setShouldCreateUI: (BOOL)flag
- (BOOL) shouldCreateUI
- (NSString*) typeFromFileExtension: (NSString*)fileExtension
- (BOOL) validateMenuItem: (NSMenuItem*)anItem