Add implementation for methods that add nodes at a given indexPath or set of indexPaths

This commit is contained in:
Gregory John Casamento 2024-07-12 06:22:56 -04:00
parent bbbe9d00b4
commit 90b3913a1f
3 changed files with 59 additions and 29 deletions

View file

@ -165,14 +165,14 @@ APPKIT_EXPORT_CLASS
* If the tree controller is in "object" mode, then newObject is called
* to add a new node.
*/
- (void) addChild: (id)sender;
- (IBAction) addChild: (id)sender;
/**
* Adds a new objeect to the tree usin the newObject method.
* If the tree controller is in "object" mode, then newObject is called
* to add a new node.
*/
- (void) add: (id)sender;
- (IBAction) add: (id)sender;
/**
* Inserts a child using the newObject method. This method
@ -180,7 +180,7 @@ APPKIT_EXPORT_CLASS
* If the tree controller is in "object" mode, then newObject is called
* to add a new node.
*/
- (void) insertChild: (id)sender;
- (IBAction) insertChild: (id)sender;
/**
* Inserts and object using the newObject method at the specified indexPath.
@ -217,7 +217,7 @@ APPKIT_EXPORT_CLASS
* This method will only function if the tree controller is in
* "object" mode.
*/
- (void) insert: (id)sender;
- (IBAction) insert: (id)sender;
/**
* Causes the controller to re-sort and rearrange the objects. This method
@ -262,7 +262,7 @@ APPKIT_EXPORT_CLASS
* Remove the currently selected object. This method will only
* function if the tree controller is in "object" mode.
*/
- (void) remove: (id)sender;
- (IBAction) remove: (id)sender;
/**
* Sets the flag to always use multiple values marker.