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: Steve Christensen <email@hidden>
- Date: Fri, 18 Jun 2010 18:59:58 -0700
Hi Paul,
Hmmm... too bad. We're going the NSImageView route because we're
modifying what gets displayed in addition to wanting to be able to
track drops on the view. We were hoping to be able to add bins into
the mix so that we could cover all image sources, but it sounds like
that's not going to happen.
I did try a version with the image reference parameter but it didn't
look like the plugin was being notified (-parameterChanged:) after an
image was dropped onto it (FCP 6.x), which we kinda need to know.
Thanks for the info...
steve
On Jun 18, 2010, at 3:52 PM, Paul Schneider wrote:
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