EnablingDoubleClick

From Protege Wiki
Revision as of 16:33, September 30, 2008 by Tredmond (talk | contribs) (Enabling Double-Click)

Jump to: navigation, search

Enabling Double-Click

For all operating systems except OS X, Protege 4 works with double-click as installed - you simply follow the usual OS specific steps for indicating which application to use to open an owl file. In the case of OS X there is an adjustment that needs to be done. We are working on removing the need for this adjustment.

If you are trying to enable double-click on an OS X machine, follow the instructions from Editing the Info.plist to open the Info.plist file with a text editor. Add the following lines underneath some other key/value pair:

        <key>CFBundleDocumentTypes</key>
        <array>
            <dict>
                <key>CFBundleTypeExtensions</key>
                <array>
                    <string>owl</string>
                </array>
                <key>CFBundleTypeName</key>
                <string>OWL Ontology</string>
                <key>CFBundleTypeRole</key>
                <string>Viewer</string>
            </dict>
        </array>

Now configure double click as you would with any other OS X application.

Thanks are due to Alan Ruttenberg for his suggestion on how to enable double-click on the OS X platform.