Re: FCP: dragging image from bin to NSImageView?
site_archiver@lists.apple.com Delivered-To: pro-apps-dev@lists.apple.com Hi Steve, The data that FCP puts on the pasteboard isn't a reference to a file on disk; it's an internal representation of the FCP objects in the bin. You'll have to register for custom drag types. I don't know off the top of my head what we put on the pasteboard. It would be nice if it were XML, because then your plugin could read it. But I suspect it's a private binary format. I'm pretty sure you'll have to use FxPlug's standard image reference parameters to get a reference to something in an FCP bin. - Paul On Jun 18, 2010, at 3:12 PM, Steve Christensen wrote:
My plugin has a custom parameter that includes a NSImageView configured for editing (drag&drop). If I drag an image from the desktop, the image is accepted and appears in the view, as expected.
If I first drag the same image into a bin then drag from the bin onto the image view, the panel containing all the plugin's parameters highlights (darkened border) but the image view doesn't accept the image.
Do I need to be aware of some other pasteboard types beyond what NSImageView knows about; is FCP just allowing bin image drags to the built-in image parameter; or is something else going on?
steve
_______________________________________________ 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/pschneider%40apple.com
This email sent to pschneider@apple.com
_______________________________________________ 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... This email sent to site_archiver@lists.apple.com
participants (1)
-
Paul Schneider