Fred Kiefer
349dc21144
* Headers/AppKit/NSLayoutAnchor.h: Add missing include that is required after a change in base.
...
* Source/NSTableView.m: Forward declare new methods.
2024-10-29 22:42:06 +01:00
Gregory John Casamento
e1f3109c94
Fix issues with setting editable property on NSTableColumn and call _keyPathForValueBinding
2024-08-21 00:12:03 -04:00
Gregory John Casamento
8ed8754b2a
Correction compile error
2024-08-20 23:43:30 -04:00
Gregory John Casamento
068684d6d3
Add method _keyPathForValueBinding in _setObjectValue for table view
2024-08-20 23:00:16 -04:00
Gregory John Casamento
118eb26a5f
Fix issues mentioned by @fredkiefer
2024-08-11 16:40:37 -04:00
Gregory John Casamento
5d9e49a2ff
Remove both instances where we get properties from the binding where it is not needed during the loading process, per discussion with @fredkiefer
2024-08-08 18:20:00 -04:00
Gregory John Casamento
854af0901e
Cleanup of unused or commented out methods
2024-08-08 17:48:16 -04:00
Gregory John Casamento
d8c4c14018
Move _applyBindingsToCell:atRow: to NSTableColumn
2024-08-07 22:55:14 -04:00
Gregory John Casamento
21d0bc906e
Fix issues pointed out by @fredkiefer
2024-08-04 18:44:01 -04:00
Gregory John Casamento
3d59afd2c9
Improvements, per discussion with @fredkiefer
2024-07-27 17:37:04 -04:00
Gregory John Casamento
c68c459584
Add code to set selection indexes on the controller
2024-07-16 18:03:30 -04:00
Gregory John Casamento
c39095cd61
Add comment/documentation
2024-07-15 07:06:49 -04:00
Gregory John Casamento
74e0c19503
Add bindigns to NSTableColumn and handle font bindings in _applyBindingsToCell:... method
2024-07-15 06:50:20 -04:00
Gregory John Casamento
766a358fb7
Move code to handle enabled/editable bindings to a common method in the parent class
2024-07-14 16:00:18 -04:00
Gregory John Casamento
ca4fe0e078
Add code to get the value of the NSEnabledBinding
2024-07-14 15:40:47 -04:00
Gregory John Casamento
45c0368602
Add code to get the value of the NSEditableBinding
2024-07-14 15:14:07 -04:00
Gregory John Casamento
bbbe9d00b4
Update _setObjectValue:... to update items in arrangedObjects when there is a binding
2024-07-11 12:18:52 -04:00
Gregory John Casamento
8da3d0afb7
Update to use NSObservedKeyPathKey instead of string, add code to _setObjectValue:... in NSTableView to set the value when we have a binding
2024-07-10 07:06:08 -04:00
Gregory John Casamento
aa86a96c55
Update to use NSObservedKeyPathKey instead of string, add code to _setObjectValue:... in NSTableView to set the value when we have a binding
2024-07-10 06:31:55 -04:00
Gregory John Casamento
90d94fea22
Add unbind call to dealloc methods, add children method to proxy class, cleanup
2024-07-05 01:40:51 -04:00
Gregory John Casamento
baca2ae98a
Minor cleanup, move storage of view code to conditional where it is created, suggested by @fredkiefer
2024-06-16 21:01:41 -04:00
Gregory John Casamento
cf7b9ebd39
Final changes suggested by @fredkiefer and some small fixes before merge
2024-06-16 20:52:06 -04:00
Gregory John Casamento
f9b89c41e6
Correct minor theme drawing issues, fix issue pointed out by @fredkiefer to address out of order row fetching
2024-06-16 17:36:15 -04:00
Gregory John Casamento
1d6a850081
Make correctiongs as suggested by @fredkiefer
2024-06-16 07:12:32 -04:00
Gregory John Casamento
b7bea0213b
Fix issue with view refresh/editability, refactor so that view sizing happens in the correct place
2024-05-03 10:40:08 -04:00
Gregory John Casamento
9070a9d30f
Move view rendering to viewAtColumn:row:makeIfNecessary: and eliminate uneeded private method
2024-04-28 15:04:29 -04:00
Gregory John Casamento
4d5957eaf7
Fully refactor delegate calls into NSTableView/NSOutlineView and move outlineColumn drawing to a public method
2024-04-28 09:49:19 -04:00
Gregory John Casamento
77ce97c266
Update to use NSTableRowView
2024-04-28 07:17:43 -04:00
Gregory John Casamento
f7e4b70f54
Return the NSTableRowView for the current row
2024-04-27 09:07:56 -04:00
Gregory John Casamento
d3a0dd23c0
Add 10.7 methods to NSTableView, implement viewAtColumn:row:makeIfnecessary:
2024-04-26 13:08:35 -04:00
Gregory John Casamento
41c7257d4b
Add 10.7 methods and add next/prev row selected ivars
2024-04-26 13:08:35 -04:00
Gregory Casamento
82dce67eb4
Reduce code duplication in GSThemeDrawing table/outline view drawing methods ( #262 )
...
* Reduce code duplication in drawViewCell:... method
* Further reduce code duplication, add common private method for calculating starting and ending column
* Use the tableView in the method that calculates the starting and ending rows
* Add code to properly handle prototypeViews, the XIB is NOT split, I was confused
* Call awakeFromNib on view as well
* Refactor so that the outlineColumn drawing code is shared
* Adjust the image drawing and the clickable area to be more aligned also make it easier to expand or collapse an item in the outline view
2024-04-26 18:40:11 +02:00
Gregory John Casamento
3ff5efed30
Encapsulate the renderedPaths and pathsToViews ivars that track which views were displayed in a viewBased table
2024-04-22 09:00:53 -04:00
Gregory John Casamento
42bae42431
Fix issues mentioned by @fredkiefer
2024-04-22 09:00:53 -04:00
Gregory John Casamento
e55babb04e
Add code to handle Title property on NSTableColumn, add code to NSTableView to set the table view to _viewBased if it responds to tableView:viewForTableColumn:row:
2024-04-22 09:00:53 -04:00
Gregory John Casamento
f787edfcfb
Consolidate and refactor the cellview methods in the theme drawing code, so that there is no repeated code
2024-04-22 09:00:53 -04:00
Gregory John Casamento
fbb94af67b
Add methods to register views
2024-04-22 09:00:53 -04:00
Gregory John Casamento
d9d4f63c24
Whitespace cleanup
2024-04-22 09:00:53 -04:00
Gregory John Casamento
8d9cb6f933
Add logic to get the column / row for a given view
2024-04-22 09:00:53 -04:00
Gregory John Casamento
182427bf97
Add code to support item identifier to NSTableView
2024-04-22 09:00:53 -04:00
Gregory John Casamento
f71ee8641b
Initial changes for NSOutlineView view-based support
2024-04-22 09:00:53 -04:00
Gregory John Casamento
d99f82896b
Remove uneeded checks for _viewBased
2024-04-22 09:00:53 -04:00
Gregory John Casamento
e19038665b
Use an NSMapTable to store which views have been displayed
2024-04-22 09:00:53 -04:00
Gregory John Casamento
a73c3cc876
Add code to track if a view has been rendered, fix issue with duplication of the view, I am not sure if this method of tracking that the view has been rendered is correct, but it works for now
2024-04-22 09:00:53 -04:00
Gregory John Casamento
20f29b2d1d
Add code to cause delegate methods which are not used for viewBased tables to be called in viewBased mode, add code to instantiate the prototypeCellView when adding it to the tableView
2024-04-22 09:00:53 -04:00
Gregory John Casamento
ebdbe0930f
Add methods to theme and to NSTableView to get the view from the delegate, this is a partial commit to save my place here... will follow up shortly
2024-04-22 09:00:53 -04:00
Gregory John Casamento
0be95eba5b
Update gorm version and add new code to store/retrieve NSViewBased key
2024-04-22 09:00:53 -04:00
Gregory John Casamento
0276e307cc
Fix compile error, add new class
2024-04-22 09:00:53 -04:00
Gregory John Casamento
20a08a894f
Minor updates
2024-04-22 09:00:53 -04:00
Gregory John Casamento
3acf49a33d
Fix compile error, add new class
2024-04-22 09:00:53 -04:00