Re: System contextual menus
Re: System contextual menus
- Subject: Re: System contextual menus
- From: David Catmull <email@hidden>
- Date: Thu, 31 Jan 2002 10:13:57 -0800
on 1/31/02 8:37 AM, Ondra Cada <email@hidden> wrote:
>
The thing is that there is *NO* system-level API related to this; there
>
perhaps is a *FINDER* API which supports that, but that's all.
I get the impression that you don't understand what contextual menu plugins
are and how the API works. It's not a Finder thing, and it's not limited to
files. That just happens to be the most common use. It's like Services: it
can be used on any data type. I don't see any reason why a Cocoa app's
contextual menus can't use the existing CM plugin system. Sure, it wasn't
designed for Objective C, but that doesn't mean it's impossible.
>
So it is a Carbon-specific API. Any way, it would be *QUITE* *BAD* to
>
exploit it instead of the file Services, which are *THE* system-wide API for
>
providing file-based services in OSX.
Services can't be considered "system-wide" until Apple makes it work in
Carbon apps. The current Carbon Event based implementation leaves something
to be desired, even aside from the fact that it's broken.
--
David Catmull
email@hidden
http://www.uncommonplace.com/