We have tableview columns that need menus (for sort, filtering and copying/fill options).
I've found no useful examples in objective-j or objective-c but it looks necessary to subclass CPTableHeaderView and provide a custom delegate.
The mouse click delegate method for headers doesn't expose the specific column clicked and it would be necessary to manually position and manage a menu at the cursor co-ordinates.
Providing the menu on a simple mouse click feels most natural to me, but these columns are also draggable and I suspect some users would assume dragging isn't possible if they are immediately presented with a menu on clicking. A right-click menu seems to avoid this.
I would like to implement this functionality either in IB or code - which again suggests a subclass with custom delegate.
Does anyone have experience with this situation? Thoughts?
Am I missing anything that doesn't require subclassing?