Re: question on refreshing parameter data between instances.
site_archiver@lists.apple.com Delivered-To: Pro-apps-dev@lists.apple.com On Aug 26, 2009, at 1:04 PM, Jay Boyer wrote: Thanks, Jay -----Original Message----- From: Darrin Cardani [mailto:dcardani@apple.com] Sent: Wednesday, August 12, 2009 2:42 PM To: Brian Gardner Cc: Jay Boyer; 'Pro-Apps-Dev' Subject: Re: question on refreshing parameter data between instances. Darrin On Aug 11, 2009, at 12:58 PM, Brian Gardner wrote: I have a similar situation to Jay. When a saved FCP project is later reopened, I'd like to update some parameter settings. -- Brian On Aug 11, 2009, at 10:53 AM, Jay Boyer wrote: Is there a point in the boot sequence that I can detect that the plug-in is from a prior instance so that I can update these lists? _______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/pro-apps-dev/site_archiver%40lists.ap... There is no specific plugin method that does the deserialization since that's handled for you, but your plugin might ask for the deserialized data in the -parameterChanged:, -createViewForParm: or one of the -renderOutput:... methods. You get the deserialized data like this: id getParamAPI = [_apiManager apiForProtocol:@protocol (FxParameterRetrievalAPI)]; NSDictionary* customSettings= nil; [getParamAPI getCustomParameterValue:&customSettings MyCustomParameterID]; I've been away for a couple of weeks. Thanks for all the information but there is still a piece I am missing. What callback is made to deserialize the data for custom UI elements? And can you point me to an example of this? There isn't, but if you have a custom parameter, you will get called to deserialize its data. You could do what you need to do at that time. As a plugin is getting re-instated during an "Open Project..." (boot), is there an methods which get called, which we can hook into? This email sent to site_archiver@lists.apple.com
participants (1)
-
Steve Christensen