Re: NSPredicateEditorRowTemplate and dynamic popups

2009-11-13 Thread Jim Turner
Try this: Create an outlet to your row template. When you need to update the popups, make a copy of that template. Make a copy of the rowTemplates the predicate editor currently tracks and iterate over them replacing the template in the list that is the same class as your custom template. Then se

NSPredicateEditorRowTemplate and dynamic popups

2009-11-13 Thread Dave DeLong
Hi everyone, I have an NSPredicateEditor, with some standard row templates. I'd like to add a custom row template with three views: a popup button (indicating the attributes this template references), a second popup button (with the operators), and a third popup button that's populated with a