Re: FCP: dragging image from bin to NSImageView?
Re: FCP: dragging image from bin to NSImageView?
- Subject: Re: FCP: dragging image from bin to NSImageView?
- From: Paul Schneider <email@hidden>
- Date: Fri, 18 Jun 2010 15:52:24 -0700
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 (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden