Difference between revisions of "EnablingDoubleClick"

From Protege Wiki
Jump to: navigation, search
(Enabling Double-Click)
(Enabling Double-Click)
Line 4: Line 4:
 
We are working on removing this extra step.
 
We are working on removing this extra step.
  
If you are trying to enable double-click on an OS X machine, follow the instructions from [[ChangingTheHeapSize#Editting_the_Info.plist|Editing the Info.plist]] to open the Info.plist file with a text editor.  Add the following lines underneath some other key/value pair:
+
If you are trying to enable double-click on an OS X machine, follow the instructions from [[ChangingTheHeapSize#Editting_the_Info.plist|Editing the Info.plist]] to open the Info.plist file with a text editor.  Add the following lines underneath any other key/value pair:
 
<pre>
 
<pre>
 
         <key>CFBundleDocumentTypes</key>
 
         <key>CFBundleDocumentTypes</key>

Revision as of 15:33, September 30, 2008

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 extra adjustment that needs to be done. We are working on removing this extra step.

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 any 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.