mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-20 22:06:42 +00:00
Version 0.8.3
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15043 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ec9f97d9f6
commit
6807f49761
9 changed files with 55 additions and 24 deletions
|
@ -84,11 +84,11 @@ static NSDictionary *TypeInfoForName (NSArray *types, NSString *typeName)
|
|||
<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)
|
||||
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>
|
||||
<list>
|
||||
<item>NSDocumentClass - The name of the subclass</item>
|
||||
<item>NSName - Short name of the document type</item>
|
||||
|
@ -333,7 +333,7 @@ static NSDictionary *TypeInfoForName (NSArray *types, NSString *typeName)
|
|||
return openPanel;
|
||||
}
|
||||
|
||||
/** Invokes [NSOpenPanel-runModelForTypes:] with the NSOpenPanel
|
||||
/** Invokes [NSOpenPanel-runModalForTypes:] with the NSOpenPanel
|
||||
object openPanel, and passes the openableFileExtensions file types
|
||||
*/
|
||||
- (int) runModalOpenPanel: (NSOpenPanel *)openPanel
|
||||
|
@ -590,7 +590,7 @@ static NSDictionary *TypeInfoForName (NSArray *types, NSString *typeName)
|
|||
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
|
||||
NSHomeDirectory() if no document has been opened before.
|
||||
the user's home directory if no document has been opened before.
|
||||
*/
|
||||
- (NSString *) currentDirectory
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue