comparison dstep/appkit/NSOutlineView.d @ 16:19885b43130e

Huge update, the bridge actually works now
author Jacob Carlborg <doob@me.com>
date Sun, 03 Jan 2010 22:06:11 +0100
parents
children b9de51448c6b
comparison
equal deleted inserted replaced
15:7ff919f595d5 16:19885b43130e
1 /**
2 * Copyright: Copyright (c) 2009 Jacob Carlborg.
3 * Authors: Jacob Carlborg
4 * Version: Initial created: Sep 24, 2009
5 * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0)
6 */
7 module dstep.appkit.NSOutlineView;
8
9 import dstep.appkit.AppKitDefines;
10 import dstep.appkit.NSButtonCell;
11 import dstep.appkit.NSTableColumn;
12 import dstep.appkit.NSTableHeaderView;
13 import dstep.appkit.NSTableView;
14 import dstep.applicationservices.coregraphics.CGBase;
15 import dstep.corefoundation.CFDictionary;
16 import dstep.foundation.NSGeometry;
17 import dstep.foundation.NSObjCRuntime;
18 import dstep.foundation.NSString;
19 import dstep.objc.bridge.Bridge;
20 import dstep.objc.objc;
21
22 import bindings = dstep.appkit.NSOutlineView_bindings;
23
24 private
25 {
26 NSString NSOutlineViewSelectionDidChangeNotification_;
27 NSString NSOutlineViewColumnDidMoveNotification_;
28 NSString NSOutlineViewColumnDidResizeNotification_;
29 NSString NSOutlineViewSelectionIsChangingNotification_;
30 NSString NSOutlineViewItemWillExpandNotification_;
31 NSString NSOutlineViewItemDidExpandNotification_;
32 NSString NSOutlineViewItemWillCollapseNotification_;
33 NSString NSOutlineViewItemDidCollapseNotification_;
34 }
35
36 NSString NSOutlineViewSelectionDidChangeNotification ()
37 {
38 if (NSOutlineViewSelectionDidChangeNotification_)
39 return NSOutlineViewSelectionDidChangeNotification_;
40
41 return NSOutlineViewSelectionDidChangeNotification_ = new NSString(bindings.NSOutlineViewSelectionDidChangeNotification);
42 }
43
44 NSString NSOutlineViewColumnDidMoveNotification ()
45 {
46 if (NSOutlineViewColumnDidMoveNotification_)
47 return NSOutlineViewColumnDidMoveNotification_;
48
49 return NSOutlineViewColumnDidMoveNotification_ = new NSString(bindings.NSOutlineViewColumnDidMoveNotification);
50 }
51
52 NSString NSOutlineViewColumnDidResizeNotification ()
53 {
54 if (NSOutlineViewColumnDidResizeNotification_)
55 return NSOutlineViewColumnDidResizeNotification_;
56
57 return NSOutlineViewColumnDidResizeNotification_ = new NSString(bindings.NSOutlineViewColumnDidResizeNotification);
58 }
59
60 NSString NSOutlineViewSelectionIsChangingNotification ()
61 {
62 if (NSOutlineViewSelectionIsChangingNotification_)
63 return NSOutlineViewSelectionIsChangingNotification_;
64
65 return NSOutlineViewSelectionIsChangingNotification_ = new NSString(bindings.NSOutlineViewSelectionIsChangingNotification);
66 }
67
68 NSString NSOutlineViewItemWillExpandNotification ()
69 {
70 if (NSOutlineViewItemWillExpandNotification_)
71 return NSOutlineViewItemWillExpandNotification_;
72
73 return NSOutlineViewItemWillExpandNotification_ = new NSString(bindings.NSOutlineViewItemWillExpandNotification);
74 }
75
76 NSString NSOutlineViewItemDidExpandNotification ()
77 {
78 if (NSOutlineViewItemDidExpandNotification_)
79 return NSOutlineViewItemDidExpandNotification_;
80
81 return NSOutlineViewItemDidExpandNotification_ = new NSString(bindings.NSOutlineViewItemDidExpandNotification);
82 }
83
84 NSString NSOutlineViewItemWillCollapseNotification ()
85 {
86 if (NSOutlineViewItemWillCollapseNotification_)
87 return NSOutlineViewItemWillCollapseNotification_;
88
89 return NSOutlineViewItemWillCollapseNotification_ = new NSString(bindings.NSOutlineViewItemWillCollapseNotification);
90 }
91
92 NSString NSOutlineViewItemDidCollapseNotification ()
93 {
94 if (NSOutlineViewItemDidCollapseNotification_)
95 return NSOutlineViewItemDidCollapseNotification_;
96
97 return NSOutlineViewItemDidCollapseNotification_ = new NSString(bindings.NSOutlineViewItemDidCollapseNotification);
98 }
99
100 enum
101 {
102 NSOutlineViewDropOnItemIndex = -1
103 }
104
105 struct _OVFlags
106 {
107 uint _reserved;
108 uint reloadingData;
109 uint validDataSourceMethods;
110 uint numberOfRowsDataExpandEntered;
111 uint delayRowEntryFreeDisabled;
112 uint delegateHeightOfRowByItem;
113 uint compatCollapseForceClearsExpandState;
114 uint autoExpandFlashState;
115 uint selectionAdjustmentDisabled;
116 uint removeChildInProgress;
117 uint delegateWillDisplayOutlineCell;
118 uint enableExpandNotifications;
119 uint autoSaveExpandItems;
120 uint autoresizesOutlineColumn;
121 uint delegateShouldExpandItem;
122 uint delegateShouldCollapseItem;
123 uint delegateSelectionShouldChangeInOutlineView;
124 uint delegateShouldSelectTableColumn;
125 uint delegateShouldSelectItem;
126 uint delegateShouldEditTableColumn;
127 uint delegateWillDisplayCell;
128 }
129
130 class NSOutlineView : NSTableView
131 {
132 mixin (ObjcWrap);
133
134 void setOutlineTableColumn (NSTableColumn outlineTableColumn)
135 {
136 return invokeObjcSelf!(void, "setOutlineTableColumn:", NSTableColumn)(outlineTableColumn);
137 }
138
139 NSTableColumn outlineTableColumn ()
140 {
141 return invokeObjcSelf!(NSTableColumn, "outlineTableColumn");
142 }
143
144 bool isExpandable (Object item)
145 {
146 return invokeObjcSelf!(bool, "isExpandable:", Object)(item);
147 }
148
149 void expandItem (Object item, bool expandChildren)
150 {
151 return invokeObjcSelf!(void, "expandItem:expandChildren:", Object, bool)(item, expandChildren);
152 }
153
154 void expandItem (Object item)
155 {
156 return invokeObjcSelf!(void, "expandItem:", Object)(item);
157 }
158
159 void collapseItem (Object item, bool collapseChildren)
160 {
161 return invokeObjcSelf!(void, "collapseItem:collapseChildren:", Object, bool)(item, collapseChildren);
162 }
163
164 void collapseItem (Object item)
165 {
166 return invokeObjcSelf!(void, "collapseItem:", Object)(item);
167 }
168
169 void reloadItem (Object item, bool reloadChildren)
170 {
171 return invokeObjcSelf!(void, "reloadItem:reloadChildren:", Object, bool)(item, reloadChildren);
172 }
173
174 void reloadItem (Object item)
175 {
176 return invokeObjcSelf!(void, "reloadItem:", Object)(item);
177 }
178
179 Object parentForItem (Object item)
180 {
181 return invokeObjcSelf!(Object, "parentForItem:", Object)(item);
182 }
183
184 Object itemAtRow (NSInteger row)
185 {
186 return invokeObjcSelf!(Object, "itemAtRow:", NSInteger)(row);
187 }
188
189 NSInteger rowForItem (Object item)
190 {
191 return invokeObjcSelf!(NSInteger, "rowForItem:", Object)(item);
192 }
193
194 NSInteger levelForItem (Object item)
195 {
196 return invokeObjcSelf!(NSInteger, "levelForItem:", Object)(item);
197 }
198
199 NSInteger levelForRow (NSInteger row)
200 {
201 return invokeObjcSelf!(NSInteger, "levelForRow:", NSInteger)(row);
202 }
203
204 bool isItemExpanded (Object item)
205 {
206 return invokeObjcSelf!(bool, "isItemExpanded:", Object)(item);
207 }
208
209 void setIndentationPerLevel (CGFloat indentationPerLevel)
210 {
211 return invokeObjcSelf!(void, "setIndentationPerLevel:", CGFloat)(indentationPerLevel);
212 }
213
214 CGFloat indentationPerLevel ()
215 {
216 return invokeObjcSelf!(CGFloat, "indentationPerLevel");
217 }
218
219 void setIndentationMarkerFollowsCell (bool drawInCell)
220 {
221 return invokeObjcSelf!(void, "setIndentationMarkerFollowsCell:", bool)(drawInCell);
222 }
223
224 bool indentationMarkerFollowsCell ()
225 {
226 return invokeObjcSelf!(bool, "indentationMarkerFollowsCell");
227 }
228
229 void setAutoresizesOutlineColumn (bool resize)
230 {
231 return invokeObjcSelf!(void, "setAutoresizesOutlineColumn:", bool)(resize);
232 }
233
234 bool autoresizesOutlineColumn ()
235 {
236 return invokeObjcSelf!(bool, "autoresizesOutlineColumn");
237 }
238
239 NSRect frameOfOutlineCellAtRow (NSInteger row)
240 {
241 return invokeObjcSelf!(NSRect, "frameOfOutlineCellAtRow:", NSInteger)(row);
242 }
243
244 void setDropItem (Object item, NSInteger index)
245 {
246 return invokeObjcSelf!(void, "setDropItem:dropChildIndex:", Object, NSInteger)(item, index);
247 }
248
249 bool shouldCollapseAutoExpandedItemsForDeposited (bool deposited)
250 {
251 return invokeObjcSelf!(bool, "shouldCollapseAutoExpandedItemsForDeposited:", bool)(deposited);
252 }
253
254 bool autosaveExpandedItems ()
255 {
256 return invokeObjcSelf!(bool, "autosaveExpandedItems");
257 }
258
259 void setAutosaveExpandedItems (bool save)
260 {
261 return invokeObjcSelf!(void, "setAutosaveExpandedItems:", bool)(save);
262 }
263 }
264
265 const TNSOutlineViewDataSource = `
266
267 Object outlineView (NSOutlineView outlineView, NSInteger index, Object item)
268 {
269 return invokeObjcSelf!(Object, "outlineView:child:ofItem:", NSOutlineView, NSInteger, Object)(outlineView, index, item);
270 }
271
272 bool outlineView (NSOutlineView outlineView, Object item)
273 {
274 return invokeObjcSelf!(bool, "outlineView:isItemExpandable:", NSOutlineView, Object)(outlineView, item);
275 }
276
277 NSInteger outlineView (NSOutlineView outlineView, Object item)
278 {
279 return invokeObjcSelf!(NSInteger, "outlineView:numberOfChildrenOfItem:", NSOutlineView, Object)(outlineView, item);
280 }
281
282 Object outlineView (NSOutlineView outlineView, NSTableColumn tableColumn, Object item)
283 {
284 return invokeObjcSelf!(Object, "outlineView:objectValueForTableColumn:byItem:", NSOutlineView, NSTableColumn, Object)(outlineView, tableColumn, item);
285 }
286
287 void outlineView (NSOutlineView outlineView, Object object, NSTableColumn tableColumn, Object item)
288 {
289 return invokeObjcSelf!(void, "outlineView:setObjectValue:forTableColumn:byItem:", NSOutlineView, Object, NSTableColumn, Object)(outlineView, object, tableColumn, item);
290 }
291
292 Object outlineView (NSOutlineView outlineView, Object object)
293 {
294 return invokeObjcSelf!(Object, "outlineView:itemForPersistentObject:", NSOutlineView, Object)(outlineView, object);
295 }
296
297 Object outlineView (NSOutlineView outlineView, Object item)
298 {
299 return invokeObjcSelf!(Object, "outlineView:persistentObjectForItem:", NSOutlineView, Object)(outlineView, item);
300 }
301
302 void outlineView (NSOutlineView outlineView, NSArray oldDescriptors)
303 {
304 return invokeObjcSelf!(void, "outlineView:sortDescriptorsDidChange:", NSOutlineView, NSArray)(outlineView, oldDescriptors);
305 }
306
307 bool outlineView (NSOutlineView outlineView, NSArray items, NSPasteboard pasteboard)
308 {
309 return invokeObjcSelf!(bool, "outlineView:writeItems:toPasteboard:", NSOutlineView, NSArray, NSPasteboard)(outlineView, items, pasteboard);
310 }
311
312 uint outlineView (NSOutlineView outlineView, INSDraggingInfo info, Object item, NSInteger index)
313 {
314 return invokeObjcSelf!(uint, "outlineView:validateDrop:proposedItem:proposedChildIndex:", NSOutlineView, INSDraggingInfo, Object, NSInteger)(outlineView, info, item, index);
315 }
316
317 bool outlineView (NSOutlineView outlineView, INSDraggingInfo info, Object item, NSInteger index)
318 {
319 return invokeObjcSelf!(bool, "outlineView:acceptDrop:item:childIndex:", NSOutlineView, INSDraggingInfo, Object, NSInteger)(outlineView, info, item, index);
320 }
321
322 NSArray outlineView (NSOutlineView outlineView, NSURL dropDestination, NSArray items)
323 {
324 return invokeObjcSelf!(NSArray, "outlineView:namesOfPromisedFilesDroppedAtDestination:forDraggedItems:", NSOutlineView, NSURL, NSArray)(outlineView, dropDestination, items);
325 }
326
327 //mixin ObjcBindMethod!(outlineView, "outlineView:child:ofItem:");
328 //mixin ObjcBindMethod!(outlineView, "outlineView:isItemExpandable:");
329 //mixin ObjcBindMethod!(outlineView, "outlineView:numberOfChildrenOfItem:");
330 //mixin ObjcBindMethod!(outlineView, "outlineView:objectValueForTableColumn:byItem:");
331 //mixin ObjcBindMethod!(outlineView, "outlineView:setObjectValue:forTableColumn:byItem:");
332 //mixin ObjcBindMethod!(outlineView, "outlineView:itemForPersistentObject:");
333 //mixin ObjcBindMethod!(outlineView, "outlineView:persistentObjectForItem:");
334 //mixin ObjcBindMethod!(outlineView, "outlineView:sortDescriptorsDidChange:");
335 //mixin ObjcBindMethod!(outlineView, "outlineView:writeItems:toPasteboard:");
336 //mixin ObjcBindMethod!(outlineView, "outlineView:validateDrop:proposedItem:proposedChildIndex:");
337 //mixin ObjcBindMethod!(outlineView, "outlineView:acceptDrop:item:childIndex:");
338 //mixin ObjcBindMethod!(outlineView, "outlineView:namesOfPromisedFilesDroppedAtDestination:forDraggedItems:");
339
340 `;
341
342 const TNSOutlineViewNotifications = `
343
344 void outlineViewSelectionDidChange (NSNotification notification)
345 {
346 return invokeObjcSelf!(void, "outlineViewSelectionDidChange:", NSNotification)(notification);
347 }
348
349 void outlineViewColumnDidMove (NSNotification notification)
350 {
351 return invokeObjcSelf!(void, "outlineViewColumnDidMove:", NSNotification)(notification);
352 }
353
354 void outlineViewColumnDidResize (NSNotification notification)
355 {
356 return invokeObjcSelf!(void, "outlineViewColumnDidResize:", NSNotification)(notification);
357 }
358
359 void outlineViewSelectionIsChanging (NSNotification notification)
360 {
361 return invokeObjcSelf!(void, "outlineViewSelectionIsChanging:", NSNotification)(notification);
362 }
363
364 void outlineViewItemWillExpand (NSNotification notification)
365 {
366 return invokeObjcSelf!(void, "outlineViewItemWillExpand:", NSNotification)(notification);
367 }
368
369 void outlineViewItemDidExpand (NSNotification notification)
370 {
371 return invokeObjcSelf!(void, "outlineViewItemDidExpand:", NSNotification)(notification);
372 }
373
374 void outlineViewItemWillCollapse (NSNotification notification)
375 {
376 return invokeObjcSelf!(void, "outlineViewItemWillCollapse:", NSNotification)(notification);
377 }
378
379 void outlineViewItemDidCollapse (NSNotification notification)
380 {
381 return invokeObjcSelf!(void, "outlineViewItemDidCollapse:", NSNotification)(notification);
382 }
383
384 //mixin ObjcBindMethod!(outlineViewSelectionDidChange, "outlineViewSelectionDidChange:");
385 //mixin ObjcBindMethod!(outlineViewColumnDidMove, "outlineViewColumnDidMove:");
386 //mixin ObjcBindMethod!(outlineViewColumnDidResize, "outlineViewColumnDidResize:");
387 //mixin ObjcBindMethod!(outlineViewSelectionIsChanging, "outlineViewSelectionIsChanging:");
388 //mixin ObjcBindMethod!(outlineViewItemWillExpand, "outlineViewItemWillExpand:");
389 //mixin ObjcBindMethod!(outlineViewItemDidExpand, "outlineViewItemDidExpand:");
390 //mixin ObjcBindMethod!(outlineViewItemWillCollapse, "outlineViewItemWillCollapse:");
391 //mixin ObjcBindMethod!(outlineViewItemDidCollapse, "outlineViewItemDidCollapse:");
392
393 `;
394
395 const TNSOutlineViewDelegate = `
396
397 void outlineView (NSOutlineView outlineView, Object cell, NSTableColumn tableColumn, Object item)
398 {
399 return invokeObjcSelf!(void, "outlineView:willDisplayCell:forTableColumn:item:", NSOutlineView, Object, NSTableColumn, Object)(outlineView, cell, tableColumn, item);
400 }
401
402 bool outlineView (NSOutlineView outlineView, NSTableColumn tableColumn, Object item)
403 {
404 return invokeObjcSelf!(bool, "outlineView:shouldEditTableColumn:item:", NSOutlineView, NSTableColumn, Object)(outlineView, tableColumn, item);
405 }
406
407 bool selectionShouldChangeInOutlineView (NSOutlineView outlineView)
408 {
409 return invokeObjcSelf!(bool, "selectionShouldChangeInOutlineView:", NSOutlineView)(outlineView);
410 }
411
412 bool outlineView (NSOutlineView outlineView, Object item)
413 {
414 return invokeObjcSelf!(bool, "outlineView:shouldSelectItem:", NSOutlineView, Object)(outlineView, item);
415 }
416
417 NSIndexSet outlineView (NSOutlineView outlineView, NSIndexSet proposedSelectionIndexes)
418 {
419 return invokeObjcSelf!(NSIndexSet, "outlineView:selectionIndexesForProposedSelection:", NSOutlineView, NSIndexSet)(outlineView, proposedSelectionIndexes);
420 }
421
422 bool outlineView (NSOutlineView outlineView, NSTableColumn tableColumn)
423 {
424 return invokeObjcSelf!(bool, "outlineView:shouldSelectTableColumn:", NSOutlineView, NSTableColumn)(outlineView, tableColumn);
425 }
426
427 void outlineView (NSOutlineView outlineView, NSTableColumn tableColumn)
428 {
429 return invokeObjcSelf!(void, "outlineView:mouseDownInHeaderOfTableColumn:", NSOutlineView, NSTableColumn)(outlineView, tableColumn);
430 }
431
432 void outlineView (NSOutlineView outlineView, NSTableColumn tableColumn)
433 {
434 return invokeObjcSelf!(void, "outlineView:didClickTableColumn:", NSOutlineView, NSTableColumn)(outlineView, tableColumn);
435 }
436
437 void outlineView (NSOutlineView outlineView, NSTableColumn tableColumn)
438 {
439 return invokeObjcSelf!(void, "outlineView:didDragTableColumn:", NSOutlineView, NSTableColumn)(outlineView, tableColumn);
440 }
441
442 NSString outlineView (NSOutlineView outlineView, NSCell cell, NSRectPointer rect, NSTableColumn tableColumn, Object item, NSPoint mouseLocation)
443 {
444 return invokeObjcSelf!(NSString, "outlineView:toolTipForCell:rect:tableColumn:item:mouseLocation:", NSOutlineView, NSCell, NSRectPointer, NSTableColumn, Object, NSPoint)(outlineView, cell, rect, tableColumn, item, mouseLocation);
445 }
446
447 CGFloat outlineView (NSOutlineView outlineView, Object item)
448 {
449 return invokeObjcSelf!(CGFloat, "outlineView:heightOfRowByItem:", NSOutlineView, Object)(outlineView, item);
450 }
451
452 NSString outlineView (NSOutlineView outlineView, NSTableColumn tableColumn, Object item)
453 {
454 return invokeObjcSelf!(NSString, "outlineView:typeSelectStringForTableColumn:item:", NSOutlineView, NSTableColumn, Object)(outlineView, tableColumn, item);
455 }
456
457 Object outlineView (NSOutlineView outlineView, Object startItem, Object endItem, NSString searchString)
458 {
459 return invokeObjcSelf!(Object, "outlineView:nextTypeSelectMatchFromItem:toItem:forString:", NSOutlineView, Object, Object, NSString)(outlineView, startItem, endItem, searchString);
460 }
461
462 bool outlineView (NSOutlineView outlineView, NSEvent event, NSString searchString)
463 {
464 return invokeObjcSelf!(bool, "outlineView:shouldTypeSelectForEvent:withCurrentSearchString:", NSOutlineView, NSEvent, NSString)(outlineView, event, searchString);
465 }
466
467 bool outlineView (NSOutlineView outlineView, NSTableColumn tableColumn, Object item)
468 {
469 return invokeObjcSelf!(bool, "outlineView:shouldShowCellExpansionForTableColumn:item:", NSOutlineView, NSTableColumn, Object)(outlineView, tableColumn, item);
470 }
471
472 bool outlineView (NSOutlineView outlineView, NSCell cell, NSTableColumn tableColumn, Object item)
473 {
474 return invokeObjcSelf!(bool, "outlineView:shouldTrackCell:forTableColumn:item:", NSOutlineView, NSCell, NSTableColumn, Object)(outlineView, cell, tableColumn, item);
475 }
476
477 NSCell outlineView (NSOutlineView outlineView, NSTableColumn tableColumn, Object item)
478 {
479 return invokeObjcSelf!(NSCell, "outlineView:dataCellForTableColumn:item:", NSOutlineView, NSTableColumn, Object)(outlineView, tableColumn, item);
480 }
481
482 bool outlineView (NSOutlineView outlineView, Object item)
483 {
484 return invokeObjcSelf!(bool, "outlineView:isGroupItem:", NSOutlineView, Object)(outlineView, item);
485 }
486
487 bool outlineView (NSOutlineView outlineView, Object item)
488 {
489 return invokeObjcSelf!(bool, "outlineView:shouldExpandItem:", NSOutlineView, Object)(outlineView, item);
490 }
491
492 bool outlineView (NSOutlineView outlineView, Object item)
493 {
494 return invokeObjcSelf!(bool, "outlineView:shouldCollapseItem:", NSOutlineView, Object)(outlineView, item);
495 }
496
497 void outlineView (NSOutlineView outlineView, Object cell, NSTableColumn tableColumn, Object item)
498 {
499 return invokeObjcSelf!(void, "outlineView:willDisplayOutlineCell:forTableColumn:item:", NSOutlineView, Object, NSTableColumn, Object)(outlineView, cell, tableColumn, item);
500 }
501
502 //mixin ObjcBindMethod!(outlineView, "outlineView:willDisplayCell:forTableColumn:item:");
503 //mixin ObjcBindMethod!(outlineView, "outlineView:shouldEditTableColumn:item:");
504 //mixin ObjcBindMethod!(selectionShouldChangeInOutlineView, "selectionShouldChangeInOutlineView:");
505 //mixin ObjcBindMethod!(outlineView, "outlineView:shouldSelectItem:");
506 //mixin ObjcBindMethod!(outlineView, "outlineView:selectionIndexesForProposedSelection:");
507 //mixin ObjcBindMethod!(outlineView, "outlineView:shouldSelectTableColumn:");
508 //mixin ObjcBindMethod!(outlineView, "outlineView:mouseDownInHeaderOfTableColumn:");
509 //mixin ObjcBindMethod!(outlineView, "outlineView:didClickTableColumn:");
510 //mixin ObjcBindMethod!(outlineView, "outlineView:didDragTableColumn:");
511 //mixin ObjcBindMethod!(outlineView, "outlineView:toolTipForCell:rect:tableColumn:item:mouseLocation:");
512 //mixin ObjcBindMethod!(outlineView, "outlineView:heightOfRowByItem:");
513 //mixin ObjcBindMethod!(outlineView, "outlineView:typeSelectStringForTableColumn:item:");
514 //mixin ObjcBindMethod!(outlineView, "outlineView:nextTypeSelectMatchFromItem:toItem:forString:");
515 //mixin ObjcBindMethod!(outlineView, "outlineView:shouldTypeSelectForEvent:withCurrentSearchString:");
516 //mixin ObjcBindMethod!(outlineView, "outlineView:shouldShowCellExpansionForTableColumn:item:");
517 //mixin ObjcBindMethod!(outlineView, "outlineView:shouldTrackCell:forTableColumn:item:");
518 //mixin ObjcBindMethod!(outlineView, "outlineView:dataCellForTableColumn:item:");
519 //mixin ObjcBindMethod!(outlineView, "outlineView:isGroupItem:");
520 //mixin ObjcBindMethod!(outlineView, "outlineView:shouldExpandItem:");
521 //mixin ObjcBindMethod!(outlineView, "outlineView:shouldCollapseItem:");
522 //mixin ObjcBindMethod!(outlineView, "outlineView:willDisplayOutlineCell:forTableColumn:item:");
523
524 `;
525