|
|
Log In | Not a Member? |
Contact ADC |
|
ADC Home > Reference Library > Reference > Apple Applications > Aperture > Aperture 2.1 SDK Reference
|
ApertureEditPlugIn |
| Declared In: |
Protocol definition for an Aperture Edit plug-in session.
beginEditSession |
Notifies a plug-in that Aperture is ready for editing.
- (void)beginEditSession;
Notification can take place even though Aperture has not yet asked for the plug-in's UI. The plug-in can begin making calls, getting properties, and so on.
editManager:didImportImageAtPath:versionUniqueID: |
A callback for the Edit manager's import method.
- (void)editManager:(id<ApertureEditManager>)editManager didImportImageAtPath:(NSString *)path versionUniqueID:(NSString *)versionUniqueID;
editManagerpathversionUniqueIDAperture calls this method after the successful completion of an import. If a plug-in does request imports, it should not end or cancel the edit session until it receives one of the import callbacks.
editManager:didNotImportImageAtPath:error: |
A callback for the Edit manager's import method.
- (void)editManager:(id<ApertureEditManager>)editManager didNotImportImageAtPath:(NSString *)path error:(NSError *)error;
editManagerpatherrorAperture calls this method after an import failure. If your plug-in does request imports, it should not end or cancel the edit session until it receives one of the import callbacks.
editWindow |
Returns the window that contains the plug-in's entire UI.
- (NSWindow *)editWindow;
An NSWindow. Returning nil indicates an error condition. Aperture deallocates the plug-in.
Aperture places this window on screen, centers it over the Aperture window, and runs it modally.
initWithAPIManager: |
Brokers version management between a plug-in and the host application.
- (id)initWithAPIManager:(id<PROAPIAccessing>)apiManager;
apiManagerid An initialized plug-in controller object.
The apiManager object is the protocol broker between a plug-in and the host. It ensures that a plug-in supporting a particular version of the API is given the host objects that correspond to this version. A plug-in should call -apiForProtocol on the apiManager object to obtain a reference to the host edit manager for use throughout the editing process. If the plug-in fails to obtain a reference to the host edit manager, it should fail to initialize.
|