Gregory John Casamento
5befed5855
Fix a number of issues pointed out by @fredkiefer
2024-08-18 17:25:47 -04:00
Gregory John Casamento
fbc0cd160b
Fix issues mentioned by @fredkiefer as well as some addiutional cleanup
2024-08-12 14:44:13 -04:00
Gregory John Casamento
ddf6546c37
Release selection_index_paths in -dealloc method, per discussion with @fredkiefer
2024-08-11 17:06:49 -04:00
Gregory John Casamento
854af0901e
Cleanup of unused or commented out methods
2024-08-08 17:48:16 -04:00
Gregory John Casamento
0ab960e6fc
Remove uneeded outside iteration and get the lastIndex more efficiently, also cleanup NSLog per @fredkiefer
2024-08-08 17:44:04 -04:00
Gregory John Casamento
300a84c493
Improve adding a child, also do whitespace-cleanup
2024-08-03 21:02:33 -04:00
Gregory John Casamento
13f86ebfa9
Add child index, add category that properly prepends the index to the NSIndexPath
2024-08-03 20:48:09 -04:00
Gregory John Casamento
fbee6dce81
If no indexPaths are found, return the root
2024-08-02 11:20:58 -04:00
Gregory John Casamento
8935a2d2da
Fix compilation issue
2024-07-28 21:05:22 -04:00
Gregory John Casamento
ad75804102
Remove method, minor cleanup, per discussion with @fredkiefer
2024-07-28 20:49:18 -04:00
Gregory John Casamento
52eef305b0
Use FOR_IN instead of while loop
2024-07-27 19:46:51 -04:00
Gregory John Casamento
6f2c542b46
Move handling of dictionary creation into GSControllerTreeProxy class, per discussion with @fredkiefer
2024-07-27 18:51:59 -04:00
Gregory Casamento
f55d937ab2
Update NSTreeController.m
...
Remove NSLog from initWithContent:
2024-07-20 12:27:00 -04:00
Gregory John Casamento
dc78b11291
Add code to handle insertion methods that are based on selection
2024-07-19 10:14:18 -04:00
Gregory John Casamento
cd41f301a8
Add selection logic for computing indexPaths
2024-07-19 08:04:13 -04:00
Gregory John Casamento
f253f3fa0e
Formatting fixes.. add space before * in return value
2024-07-12 10:39:47 -04:00
Gregory John Casamento
2ba9843537
Add removeSelectionIndexPaths:
2024-07-12 09:42:26 -04:00
Gregory John Casamento
4ddce03859
Add removeObjects... methods
2024-07-12 08:49:52 -04:00
Gregory John Casamento
9b481f10b3
Correctly refresh after adding an item at an index path
2024-07-12 08:11:23 -04:00
Gregory John Casamento
90b3913a1f
Add implementation for methods that add nodes at a given indexPath or set of indexPaths
2024-07-12 06:22:56 -04:00
Gregory John Casamento
7aee7f6667
Use ...ForNode: methods so that the path is dependent on the kind of node
2024-07-03 04:08:43 -04:00
Gregory John Casamento
ebf6bdb8d2
Update add method, fix white space issue, remove duplicate methods
2024-07-02 04:05:53 -04:00
Gregory John Casamento
786b48dd1b
Remove unneeded method
2024-06-28 09:45:41 -04:00
Gregory John Casamento
647076cb8a
Update copyWithZone: method, provide simple implementation of addSelectionIndexPaths:
2024-06-28 08:39:39 -04:00
Gregory John Casamento
3dfcdf6570
Update loading mechanism and add new proxy class for tree node
2024-06-25 17:11:57 -04:00
Gregory John Casamento
f7afc331eb
Interim changes before refactor of NSTreeController
2024-06-24 08:50:22 -04:00
Gregory John Casamento
bfb33156cf
Move code over from old branch, startint new branch since NSOutlineView was refactored
2024-06-19 01:46:27 -04:00
Fred Kiefer
a93d126191
* Headers/AppKit/NSTreeController.h,
...
* Headers/AppKit/NSTreeNode.h: Add method declarations to these
* files.
* Headers/AppKit/AppKit.h,
* Source/GNUmakefile: Include new files.
* Source/NSObjectController.m (+initialize, -selection): Get
* basic
binding example working.
* Source/NSTreeController.m: Minimal implementation.
* Source/NSTreeNode.m: Full implementation of this class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36991 72102866-910b-0410-8b05-ffd578937521
2013-08-19 19:10:22 +00:00
Gregory John Casamento
4193fb4122
* Headers/AppKit/NSTreeController.h
...
* Headers/AppKit/NSTreeNode.h
* Source/NSTreeController.m: Add tree controller skeleton.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34847 72102866-910b-0410-8b05-ffd578937521
2012-02-29 15:32:09 +00:00