Re: Custom view, selection consistency with NSTableView
Re: Custom view, selection consistency with NSTableView
- Subject: Re: Custom view, selection consistency with NSTableView
- From: mmalcolm crawford <email@hidden>
- Date: Sun, 17 Apr 2005 01:48:00 -0700
On Apr 17, 2005, at 1:26 AM, Paul Szego wrote:
On 17/04/2005, at 6:12 PM, mmalcolm crawford wrote:
On Apr 16, 2005, at 10:17 PM, Paul Szego wrote:
I assume you're referring to the GraphicsBinding example? If so,
it's not quite what I'm after. I want to provide a contiguous
selection, as my graphical layout does lend itself to the notion
of ordering. So if you click on one object, and then shift-click
on another it should make all objects in between selected also.
The graphics binding example doesn't do this (I assume as the
notion of ordering doesn't really apply here due to the layout of
the dots).
The same principles apply.
The fact that it uses bindings is orthogonal to the selection. The
example does support multiple selection from within the graphic
view. It's up to you to write the selection logic for your own
view...
Yes, I know this - the first part of the post says that's what I'm
doing. I've already written code to cover the simple cases.
[...]
The question was: "... before I try to nail this down from
observation, is it documented anywhere just what the "standard"
behaviour is? [...]
From your original post:
"For selection with mouse clicks most things are possible, but I
cannot figure out how to easily implement shift-clicking using the
additional model so that it co-operates with the NSTableView."
It's not clear what you're after. Are you simply after HI
guidelines, or is there a technical issue?
mmalc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden