• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Define a document type inside a plugin
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Define a document type inside a plugin


  • Subject: Define a document type inside a plugin
  • From: Damien Bobillot <email@hidden>
  • Date: Tue, 27 Sep 2005 22:29:36 +0200

Hello,

I have an application allowing to write plugins to support new documents. I wrote a plugin for a specific document type, and I would like to add a icon and a description for this document kind.

My plugin has the following key set in its Info.plist file :
- CFBundleDocumentTypes
- CFBundlePackageType = BNDL
- CFBundleIconFile

There's a correct PkgInfo file.

The extension of my plugin bundle is ".myplugin".

I've tried to run lsregister -v -lint on my plugin package and it seems to work :
lsregister: processing ...
lsregister: registered ...


With lsregister -dump, I get the following entry :
path: /Users/damien/Programmes/MyPlugin/build/ Deployment/MyPlugin.myplugin
name: MyPlugin
identifier: fr.bobillot.MyPlugin
type code: 'BNDL'
creator code: 'OCml'
flags: relative-icon-path ppc
item flags: container package native-app
icon: Contents/Resources/icon.icns
executable: Contents/MacOS/MyPlugin


=> my document types are not registered.

Even if I force the Finder to restart, my plugin don't have the good icon in the Finder.

Any ideas ?

--
Damien Bobillot

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Version Linking Issues
  • Next by Date: EXC_BAD_ACCESS when running from different drive
  • Previous by thread: Re: Version Linking Issues
  • Next by thread: EXC_BAD_ACCESS when running from different drive
  • Index(es):
    • Date
    • Thread