]> granicus.if.org Git - graphviz/commitdiff
basic viewer app for Mac OS X
authorglenlow <devnull@localhost>
Mon, 4 Feb 2008 13:30:08 +0000 (13:30 +0000)
committerglenlow <devnull@localhost>
Mon, 4 Feb 2008 13:30:08 +0000 (13:30 +0000)
macosx/English.lproj/Document.xib [new file with mode: 0644]
macosx/Info.plist [new file with mode: 0644]

diff --git a/macosx/English.lproj/Document.xib b/macosx/English.lproj/Document.xib
new file mode 100644 (file)
index 0000000..af25690
--- /dev/null
@@ -0,0 +1,285 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.01">
+       <data>
+               <int key="IBDocument.SystemTarget">1050</int>
+               <string key="IBDocument.SystemVersion">9B18</string>
+               <string key="IBDocument.InterfaceBuilderVersion">629</string>
+               <string key="IBDocument.AppKitVersion">949</string>
+               <string key="IBDocument.HIToolboxVersion">343.00</string>
+               <object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
+                       <bool key="EncodedWithXMLCoder">YES</bool>
+                       <integer value="6"/>
+               </object>
+               <object class="NSArray" key="IBDocument.PluginDependencies">
+                       <bool key="EncodedWithXMLCoder">YES</bool>
+                       <string id="173029533">com.apple.pdfkit.ibplugin</string>
+                       <string id="323238062">com.apple.InterfaceBuilder.CocoaPlugin</string>
+               </object>
+               <object class="NSMutableArray" key="IBDocument.RootObjects" id="580458321">
+                       <bool key="EncodedWithXMLCoder">YES</bool>
+                       <object class="NSCustomObject" id="512844837">
+                               <string key="NSClassName">GVWindowController</string>
+                       </object>
+                       <object class="NSCustomObject" id="613418571">
+                               <string key="NSClassName">FirstResponder</string>
+                       </object>
+                       <object class="NSWindowTemplate" id="275939982">
+                               <int key="NSWindowStyleMask">15</int>
+                               <int key="NSWindowBacking">2</int>
+                               <string key="NSWindowRect">{{167, 311}, {507, 413}}</string>
+                               <int key="NSWTFlags">1886912512</int>
+                               <string key="NSWindowTitle" id="869482557">Window</string>
+                               <string key="NSWindowClass">NSWindow</string>
+                               <string key="NSViewClass">View</string>
+                               <string key="NSWindowContentMinSize">{94, 86}</string>
+                               <object class="NSView" key="NSWindowView" id="568628114">
+                                       <reference key="NSNextResponder"/>
+                                       <int key="NSvFlags">256</int>
+                                       <object class="NSMutableArray" key="NSSubviews">
+                                               <bool key="EncodedWithXMLCoder">YES</bool>
+                                               <object class="PDFView" id="749706224">
+                                                       <reference key="NSNextResponder" ref="568628114"/>
+                                                       <int key="NSvFlags">63</int>
+                                                       <object class="NSMutableSet" key="NSDragTypes">
+                                                               <bool key="EncodedWithXMLCoder">YES</bool>
+                                                               <object class="NSArray" key="set.sortedObjects">
+                                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                                       <string>NSFilenamesPboardType</string>
+                                                               </object>
+                                                       </object>
+                                                       <string key="NSFrameSize">{507, 413}</string>
+                                                       <reference key="NSSuperview" ref="568628114"/>
+                                                       <reference key="NSWindow"/>
+                                                       <int key="DisplayMode">1</int>
+                                                       <bool key="PageBreaks">YES</bool>
+                                                       <float key="ScaleFactor">1.000000e+00</float>
+                                                       <bool key="AutoScale">NO</bool>
+                                               </object>
+                                       </object>
+                                       <string key="NSFrameSize">{507, 413}</string>
+                                       <reference key="NSSuperview"/>
+                                       <reference key="NSWindow"/>
+                               </object>
+                               <string key="NSScreenRect">{{0, 0}, {1680, 1028}}</string>
+                               <string key="NSMinSize">{94, 108}</string>
+                       </object>
+                       <object class="NSCustomObject" id="796877042">
+                               <string key="NSClassName">NSApplication</string>
+                       </object>
+               </object>
+               <object class="IBObjectContainer" key="IBDocument.Objects">
+                       <object class="NSMutableArray" key="connectionRecords">
+                               <bool key="EncodedWithXMLCoder">YES</bool>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBOutletConnection" key="connection">
+                                               <string key="label">delegate</string>
+                                               <reference key="source" ref="275939982"/>
+                                               <reference key="destination" ref="512844837"/>
+                                       </object>
+                                       <int key="connectionID">17</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBOutletConnection" key="connection">
+                                               <string key="label">window</string>
+                                               <reference key="source" ref="512844837"/>
+                                               <reference key="destination" ref="275939982"/>
+                                       </object>
+                                       <int key="connectionID">18</int>
+                               </object>
+                               <object class="IBConnectionRecord">
+                                       <object class="IBOutletConnection" key="connection">
+                                               <string key="label">documentView</string>
+                                               <reference key="source" ref="512844837"/>
+                                               <reference key="destination" ref="749706224"/>
+                                       </object>
+                                       <int key="connectionID">100023</int>
+                               </object>
+                       </object>
+                       <object class="IBMutableOrderedSet" key="objectRecords">
+                               <object class="NSArray" key="orderedObjects">
+                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">0</int>
+                                               <object class="NSArray" key="object" id="61815784">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                               </object>
+                                               <reference key="children" ref="580458321"/>
+                                               <nil key="parent"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">-2</int>
+                                               <reference key="object" ref="512844837"/>
+                                               <reference key="parent" ref="61815784"/>
+                                               <string type="base64-UTF8" key="objectName">RmlsZSdzIE93bmVyA</string>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">-1</int>
+                                               <reference key="object" ref="613418571"/>
+                                               <reference key="parent" ref="61815784"/>
+                                               <string key="objectName">First Responder</string>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">5</int>
+                                               <reference key="object" ref="275939982"/>
+                                               <object class="NSMutableArray" key="children">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <reference ref="568628114"/>
+                                               </object>
+                                               <reference key="parent" ref="61815784"/>
+                                               <reference key="objectName" ref="869482557"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">6</int>
+                                               <reference key="object" ref="568628114"/>
+                                               <object class="NSMutableArray" key="children">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                                       <reference ref="749706224"/>
+                                               </object>
+                                               <reference key="parent" ref="275939982"/>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">-3</int>
+                                               <reference key="object" ref="796877042"/>
+                                               <reference key="parent" ref="61815784"/>
+                                               <string key="objectName">Application</string>
+                                       </object>
+                                       <object class="IBObjectRecord">
+                                               <int key="objectID">100022</int>
+                                               <reference key="object" ref="749706224"/>
+                                               <reference key="parent" ref="568628114"/>
+                                       </object>
+                               </object>
+                       </object>
+                       <object class="NSMutableDictionary" key="flattenedProperties">
+                               <bool key="EncodedWithXMLCoder">YES</bool>
+                               <object class="NSMutableArray" key="dict.sortedKeys">
+                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                       <string>-1.IBPluginDependency</string>
+                                       <string>-2.IBPluginDependency</string>
+                                       <string>100022.IBPluginDependency</string>
+                                       <string>5.IBPluginDependency</string>
+                                       <string>5.IBWindowTemplateEditedContentRect</string>
+                                       <string>5.ImportedFromIB2</string>
+                                       <string>5.editorWindowContentRectSynchronizationRect</string>
+                                       <string>5.windowTemplate.hasMinSize</string>
+                                       <string>5.windowTemplate.minSize</string>
+                                       <string>6.IBPluginDependency</string>
+                                       <string>6.ImportedFromIB2</string>
+                               </object>
+                               <object class="NSMutableArray" key="dict.values">
+                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                       <reference ref="323238062"/>
+                                       <reference ref="323238062"/>
+                                       <reference ref="173029533"/>
+                                       <reference ref="323238062"/>
+                                       <string id="105898667">{{201, 387}, {507, 413}}</string>
+                                       <integer value="1" id="9"/>
+                                       <reference ref="105898667"/>
+                                       <reference ref="9"/>
+                                       <string>{94, 86}</string>
+                                       <reference ref="323238062"/>
+                                       <reference ref="9"/>
+                               </object>
+                       </object>
+                       <object class="NSMutableDictionary" key="unlocalizedProperties">
+                               <bool key="EncodedWithXMLCoder">YES</bool>
+                               <object class="NSArray" key="dict.sortedKeys">
+                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                               </object>
+                               <object class="NSMutableArray" key="dict.values">
+                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                               </object>
+                       </object>
+                       <nil key="activeLocalization"/>
+                       <object class="NSMutableDictionary" key="localizations">
+                               <bool key="EncodedWithXMLCoder">YES</bool>
+                               <object class="NSArray" key="dict.sortedKeys">
+                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                               </object>
+                               <object class="NSMutableArray" key="dict.values">
+                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                               </object>
+                       </object>
+                       <nil key="sourceID"/>
+                       <int key="maxID">100023</int>
+               </object>
+               <object class="IBClassDescriber" key="IBDocument.Classes">
+                       <object class="NSMutableArray" key="referencedPartialClassDescriptions">
+                               <bool key="EncodedWithXMLCoder">YES</bool>
+                               <object class="IBPartialClassDescription">
+                                       <string key="className">GVWindowController</string>
+                                       <string key="superclassName">NSWindowController</string>
+                                       <object class="NSMutableDictionary" key="actions">
+                                               <bool key="EncodedWithXMLCoder">YES</bool>
+                                               <object class="NSArray" key="dict.sortedKeys">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                               </object>
+                                               <object class="NSMutableArray" key="dict.values">
+                                                       <bool key="EncodedWithXMLCoder">YES</bool>
+                                               </object>
+                                       </object>
+                                       <object class="NSMutableDictionary" key="outlets">
+                                               <string key="NS.key.0">documentView</string>
+                                               <string key="NS.object.0">PDFView</string>
+                                       </object>
+                                       <object class="IBClassDescriptionSource" key="sourceIdentifier">
+                                               <string key="majorKey">IBProjectSource</string>
+                                               <string key="minorKey">GVWindowController.h</string>
+                                       </object>
+                               </object>
+                       </object>
+               </object>
+               <int key="IBDocument.localizationMode">0</int>
+               <string key="IBDocument.LastKnownRelativeProjectPath">../../graphviz.xcodeproj</string>
+               <int key="IBDocument.defaultPropertyAccessControl">3</int>
+               <object class="NSMutableData" key="IBDocument.RunnableNib">
+                       <bytes key="NS.bytes">YnBsaXN0MDDUAAEAAgADAAQABQAGAAkAClgkdmVyc2lvblQkdG9wWSRhcmNoaXZlclgkb2JqZWN0cxIA
+AYag0QAHA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GBQgFCgUMBRUFFwUaBRwFSQVVBWAF
+bAV4BYIFhAWGBYgFiQWOBZAFkgWUBZYFmAWZBaIFpAWnBakFwQXMBdUF3gXmBe0F+QYCBgkGGAYgBikG
+MAZJBlMGXAZhBnQGfQaGBo0GpAazBsQGxgbIBsoGzAbTBuQG5gboBuoG7Ab5BwIHBAcNBw8HEQcTBxUH
+HgcgByIHMAc5Bz4HRwdJB1IHVAdWB1gHWgdjB2UHcAdyB3QHdgd4B3oHgweFB5AHkgeUB5YHmAeaB6YH
+swfAB8kHywfMB9UH1wfYB+EH4wf0B/YH+Af6B/wH/ggACAIIBAgNCA8IIAgiCCQIJggoCCoILAguCDAI
+Mgg0CDkIQghHCEkISwhQCFkIWwhcCGUIZwhoCHEIcwh0CH0IggAAAAAAAAICAAAAAAAAARAAAAAAAAAA
+AAAAAAAAAAiRA</bytes>
+               </object>
+       </data>
+</archive>
diff --git a/macosx/Info.plist b/macosx/Info.plist
new file mode 100644 (file)
index 0000000..b4874d8
--- /dev/null
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+       <key>CFBundleDevelopmentRegion</key>
+       <string>English</string>
+       <key>CFBundleDocumentTypes</key>
+       <array>
+               <dict>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>Graph.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>GVDocumentTypeGraph</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+                       <key>LSItemContentTypes</key>
+                       <array>
+                               <string>com.att.graphviz.dot</string>
+                       </array>
+                       <key>NSDocumentClass</key>
+                       <string>GVDocument</string>
+               </dict>
+       </array>
+       <key>CFBundleExecutable</key>
+       <string>${EXECUTABLE_NAME}</string>
+       <key>CFBundleIconFile</key>
+       <string>Graphviz</string>
+       <key>CFBundleIdentifier</key>
+       <string>com.att.graphviz</string>
+       <key>CFBundleInfoDictionaryVersion</key>
+       <string>6.0</string>
+       <key>CFBundleName</key>
+       <string>${PRODUCT_NAME}</string>
+       <key>CFBundlePackageType</key>
+       <string>APPL</string>
+       <key>CFBundleSignature</key>
+       <string>GRVZ</string>
+       <key>CFBundleShortVersionString</key>
+       <string>2.17</string>
+       <key>CFBundleVersion</key>
+       <string>2.17</string>
+       <key>NSMainNibFile</key>
+       <string>MainMenu</string>
+       <key>NSPrincipalClass</key>
+       <string>NSApplication</string>
+       
+       <key>UTExportedTypeDeclarations</key>
+       <array>
+               <dict>
+                       <key>UTTypeDescription</key>
+                       <string>GVDocumentTypeGraph</string>
+                       <key>UTTypeConformsTo</key>
+                       <array>
+                               <string>public.text</string>
+                       </array>
+                       <key>UTTypeIconFile</key>
+                       <string>Graph.icns</string>
+                       <key>UTTypeIdentifier</key>
+                       <string>com.att.graphviz.dot</string>
+                       <key>UTTypeTagSpecification</key>
+                       <dict>
+                               <key>public.filename-extension</key>
+                               <array>
+                                       <string>dot</string>
+                               </array>
+                               <key>public.mime-type</key>
+                               <array>
+                                       <string>text/x-graphviz</string>
+                               </array>
+                       </dict>
+               </dict>
+       </array>
+</dict>
+</plist>