Authors
- Generated by buildd
-
- Declared in:
- InterfaceBuilder/IBResourceManager.h
Description forthcoming.
Instance Variables
Method summary
+ (void)
registerResourceManagerClass: (Class)managerClass;
Register the given class as a resource mananger.
+ (void)
registerResourceManagerClass: (Class)managerClass
forFrameworks: (NSArray*)frameworks;
Register the given class as a resource manager for
the frameworks in the array.
+ (NSArray*)
registeredResourceManagerClassesForFramework: (NSString*)framework;
Return an array of classes for the given
framework.
- (BOOL)
acceptsResourcesFromPasteboard: (NSPasteboard*)pboard;
Returns YES
, if the pasteboard
contains a type the resource manager can accept.
- (void)
addResources: (NSArray*)resourceList;
Add a resource.
- (void)
addResourcesFromPasteboard: (NSPasteboard*)pboard;
Add resoures from the pasteboard. Invokes the
acceptsResourcesFromPasteboard:
method to determine if the resources will be added.
- (void)
application: (NSString*)appName
didModifyFileAtPath: (NSString*)path;
Called by an external application when a file owned
by the GUI builder is modified.
- (id<
IBDocuments>)
document;
Returns the document with which this resource
manager is associated.
- (id)
initWithDocument: (id<
IBDocuments>)doc;
Instantiate the resource manager with the given
document object.
- (BOOL)
isReadOnly;
Returns YES
, if this resource manager
is non-modifiable.
- (void)
project: (id<
IBProjects>)proj
didAddFile: (id<
IBProjectFiles>)file;
Called by an external application when the a
file is added.
- (void)
project: (id<
IBProjects>)proj
didChangeLocalizationOfFile: (id<
IBProjectFiles>)file;
Called by an external application when the a
file changes localization.
- (void)
project: (id<
IBProjects>)proj
didRemoveFile: (id<
IBProjectFiles>)file;
Called by an external application when a
file is removed.
- (NSArray*)
resourceFileTypes;
Returns a list of resource file types this manager
can accept.
- (NSArray*)
resourcePasteboardTypes;
Returns a list of pasteboard types this manager can
accept.
- (NSArray*)
resourcesForObjects: (NSArray*)objs;
Returns the associated resources for the objects.
- (void)
writeToDocumentPath: (NSString*)path;
Writes a resource to the document path.
Instance Variables for IBResourceManager Class
@protected id document;
Description forthcoming.
enum IBResourceLocation enum IBResourceLocation;
Enumerated type to allow specification of where
the resource lives.