Re: NSRuleEditor: Criteria for new row

2009-12-23 Thread Houdah - ML Pierre Bernard
I was able to fake it by subclassing a private method: - (void)_addOptionFromSlice:(id)slice ofRowType:(unsigned int)type { int rowIndex = [(NSRuleEditorViewSlice*)slice rowIndex]; NSArray *criteriaForRow = [self criteriaForRow:rowIndex]; NSArray *displayValuesForRow =

NSRuleEditor: Criteria for new row

2009-12-22 Thread Houdah - ML Pierre Bernard
When I hit the + button on a row in NSRuleEditor, a new row is created. How can I take influence on the criteria used for that row. It seems NSRuleEditor defaults to selecting the first criterion sequentially from the list of possible values. I would much rather have the new row match the row

Re: NSRuleEditor: Criteria for new row

2009-12-22 Thread Peter Ammon
On Dec 22, 2009, at 10:57 AM, Houdah - ML Pierre Bernard wrote: When I hit the + button on a row in NSRuleEditor, a new row is created. How can I take influence on the criteria used for that row. It seems NSRuleEditor defaults to selecting the first criterion sequentially from the list