HistoryView: Don't make the tree contents field editable

This would cause some heavy errors because the PBGitTree
class in not KVC compatible for the contents.
This commit is contained in:
Pieter de Bie
2008-11-18 18:26:45 +01:00
parent 2f0dc3bbd5
commit aaca7d6e67
+33 -43
View File
@@ -9,7 +9,7 @@
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
<integer value="236"/>
<integer value="2"/>
<integer value="11"/>
</object>
<object class="NSArray" key="IBDocument.PluginDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
@@ -35,7 +35,7 @@
<string>contents</string>
<string>selectedTab</string>
</object>
<bool key="NSEditable">YES</bool>
<string key="NSObjectClassName">PBGitTree</string>
<object class="_NSManagedProxy" key="_NSManagedProxy"/>
<bool key="NSAvoidsEmptySelection">YES</bool>
<bool key="NSPreservesSelection">YES</bool>
@@ -785,29 +785,6 @@
<object class="NSTextView" id="75600241">
<reference key="NSNextResponder" ref="321980917"/>
<int key="NSvFlags">2322</int>
<object class="NSMutableSet" key="NSDragTypes">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSMutableArray" key="set.sortedObjects">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>Apple HTML pasteboard type</string>
<string>Apple PDF pasteboard type</string>
<string>Apple PICT pasteboard type</string>
<string>Apple PNG pasteboard type</string>
<string>Apple URL pasteboard type</string>
<string>CorePasteboardFlavorType 0x6D6F6F76</string>
<string>CorePasteboardFlavorType 0x75726C20</string>
<string>NSColor pasteboard type</string>
<string>NSFilenamesPboardType</string>
<string>NSStringPboardType</string>
<string>NeXT Encapsulated PostScript v1.2 pasteboard type</string>
<string>NeXT RTFD pasteboard type</string>
<string>NeXT Rich Text Format v1.0 pasteboard type</string>
<string>NeXT TIFF v4.0 pasteboard type</string>
<string>NeXT font pasteboard type</string>
<string>NeXT ruler pasteboard type</string>
<string>WebURLsWithTitlesPboardType</string>
</object>
</object>
<string key="NSFrameSize">{543, 112}</string>
<reference key="NSSuperview" ref="321980917"/>
<object class="NSTextContainer" key="NSTextContainer" id="480935218">
@@ -831,7 +808,7 @@
<int key="NSTCFlags">1</int>
</object>
<object class="NSTextViewSharedData" key="NSSharedData">
<int key="NSFlags">11235</int>
<int key="NSFlags">11233</int>
<reference key="NSBackgroundColor" ref="965176493"/>
<reference key="NSInsertionColor" ref="381686569"/>
<object class="NSDictionary" key="NSSelectedAttributes">
@@ -1734,22 +1711,6 @@
</object>
<int key="connectionID">92</int>
</object>
<object class="IBConnectionRecord">
<object class="IBBindingConnection" key="connection">
<string key="label">value: selection.contents</string>
<reference key="source" ref="75600241"/>
<reference key="destination" ref="69733037"/>
<object class="NSNibBindingConnector" key="connector">
<reference key="NSSource" ref="75600241"/>
<reference key="NSDestination" ref="69733037"/>
<string key="NSLabel">value: selection.contents</string>
<string key="NSBinding">value</string>
<string key="NSKeyPath">selection.contents</string>
<int key="NSNibBindingConnectorVersion">2</int>
</object>
</object>
<int key="connectionID">94</int>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">webController</string>
@@ -2128,6 +2089,35 @@
</object>
<int key="connectionID">264</int>
</object>
<object class="IBConnectionRecord">
<object class="IBBindingConnection" key="connection">
<string key="label">value: selection.contents</string>
<reference key="source" ref="75600241"/>
<reference key="destination" ref="69733037"/>
<object class="NSNibBindingConnector" key="connector">
<reference key="NSSource" ref="75600241"/>
<reference key="NSDestination" ref="69733037"/>
<string key="NSLabel">value: selection.contents</string>
<string key="NSBinding">value</string>
<string key="NSKeyPath">selection.contents</string>
<object class="NSDictionary" key="NSOptions">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSMutableArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>NSAllowsEditingMultipleValuesSelection</string>
<string>NSConditionallySetsEditable</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<integer value="0" id="6"/>
<reference ref="6"/>
</object>
</object>
<int key="NSNibBindingConnectorVersion">2</int>
</object>
</object>
<int key="connectionID">266</int>
</object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
<object class="NSArray" key="orderedObjects">
@@ -2988,7 +2978,7 @@
</object>
</object>
<nil key="sourceID"/>
<int key="maxID">264</int>
<int key="maxID">266</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">