24#import <Foundation/NSObject.h>
25#import "../../ProjectModule.h"
34@protocol NSDraggingInfo,
50extern NSString *
const ProjectFilesPboardType;
73extern NSString *
const ProjectFilesDidChangeNotification;
75extern NSString *
const ProjectFilesErrorDomain;
78 ProjectFilesAlreadyExistError,
79 ProjectFilesInvalidFileTypeError,
80 ProjectFilesCreationError,
81 ProjectFilesDeletionError,
82 ProjectFilesCopyError,
83 ProjectFilesMoveError,
84 ProjectFilesGenericFileImportError
99 NSTextField * fileNameField;
100 NSTextField * filePathField;
101 NSTextField * fileSizeField;
102 NSTextField * fileTypeField;
103 NSTextField * lastModifiedField;
106 NSMutableArray * files;
107 id <FileManagerDelegate> delegate;
113- (void) openFile: (
id)sender;
115- (void) browser: (NSBrowser *) sender
116 createRowsForColumn: (
int) column
117 inMatrix: (NSMatrix *) matrix;
118- (NSString *) browser: (NSBrowser *)sender titleOfColumn: (
int)column;
120- (void) selectFile: sender;
121- (void) changeName: sender;
123- (void) selectAndEditNameAtPath: (NSString *) aPath;
125- (NSArray *) selectedFiles;
126- (NSString *) containingCategory;
128- (BOOL) performDragOperation: (
id <NSDraggingInfo>) sender;
130- (BOOL) openPath: (NSString *) aPath;
133- (BOOL) fileExistsAtPath: (NSString *) aPath;
134- (NSArray *) filesAtPath: (NSString *) category;
135- (FMFileType) typeOfFileAtPath: (NSString *) aPath;
136- (NSString *) targetOfLinkAtPath: (NSString *) aPath;
137- (
unsigned long long) measureDiskUsageAtPath: (NSString *) aPath;
138- (NSString *) pathToFileAtPhysicalPath: (NSString *) diskLocation;
140- (NSArray *) filesAtPath: (NSString *) aCategory
141 ofType: (FMFileType) aFileType
142 recursive: (BOOL) recursive;
144- (BOOL) importFile: (NSString *) filePath
145 toPath: (NSString *) category
146 link: (BOOL) linkFlag
147 error: (NSError **) error;
148- (BOOL) importFile: (NSString *) filePath
149 renameTo: (NSString *) aNewName
150 toPath: (NSString *) category
151 link: (BOOL) linkFlag
152 error: (NSError **) error;
153- (BOOL) createCategory: (NSString *) categoryName
154 atPath: (NSString *) category
155 error: (NSError **) error;
156- (BOOL) createCategoryAndIntermediateCategories: (NSString *) category
157 error: (NSError **) error;
158- (BOOL) createVirtualFileNamed: (NSString *) filename
159 atPath: (NSString *) category
160 error: (NSError **) error;
166- (BOOL) removePath: (NSString *) aPath
167 delete: (BOOL) deleleFlag
168 error: (NSError **) error;
170- (BOOL) copyPath: (NSString *) aPath
171 toPath: (NSString *) newPath
172 error: (NSError **) error;
174- (BOOL) movePath: (NSString *) aPath
175 toPath: (NSString *) newPath
176 error: (NSError **) error;
178- (BOOL) linkPath: (NSString *) aPath
179 fromPath: (NSString *) newPath
180 error: (NSError **) error;
182- (NSImage *) iconForPath: (NSString *) aPath;
185- (void) importFiles: sender;
186- (void) newEmptyFile: sender;
187- (void) newFileFromTemplate: sender;
188- (void) newCategory: sender;
189- (void) deleteFiles: sender;
192- (void) filesChanged: (NSNotification *) notif;
193- (void) projectNameChanged: (NSNotification *) notif;
Definition FileManager.h:94
Definition ProjectBrowser.h:31
This class is the principal document class for project files.
Definition ProjectDocument.h:44
Definition ProjectImageView.h:29
This protocol declares methods which project modules must implement.
Definition ProjectModule.h:44