
On Sat, 18 Mar 2006, bulia byak wrote:
On 3/18/06, Ted Gould <ted@...11...> wrote:
Where is the code that determines the types? Is there a list of possible types somewhere. That was one of the gating items for the verb sensitivity stuff I was working on a while back.
For now I just did a quick hack right in selection-describer - a list. Later we'll probably need to add another method to SPItem that returns the brief one-word description, probably more granular than the object type (e.g. differentiating stars and polygons). There's sp_item_description but it's too long for this.
Hmm, I was thinking a little bit differently. Like keeping a mask of the selected types.
If I was going to do the senesitivity on the menu items, which types would you be interested in distinguishing that they are selected? Any SPItem type? Just paths, shapes, text?
--Ted