IDE extension question/suggestion

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

IDE extension question/suggestion

Bill Schwab
Hi Blair,

I took a first look at how Wizardry might hook into the VC, and ran into a
small snag: I don't see an obvious way to get "the" context menu.  The most
interesting context menu appears near the top so that it applies to both the
arena and the view hierarchy presenter.  The view is not named though, so I
found myself writing an exression something like

   (view subViews detect:[ :each | each isKindOf:ContainerView ])
      first contextMenu.

Is there a slicker way?  If not, should there be accessor methods to get the
context menus of most interest to toolsmiths?

Have a good one,

Bill

--
Wilhelm K. Schwab, Ph.D.
[hidden email]


Reply | Threaded
Open this post in threaded view
|

Re: IDE extension question/suggestion

Blair McGlashan
"Bill Schwab" <[hidden email]> wrote in message
news:[hidden email]...
> Hi Blair,
>
> I took a first look at how Wizardry might hook into the VC, and ran into a
> small snag: I don't see an obvious way to get "the" context menu.  The
most
> interesting context menu appears near the top so that it applies to both
the
> arena and the view hierarchy presenter.  The view is not named though, so
I
> found myself writing an exression something like
>
>    (view subViews detect:[ :each | each isKindOf:ContainerView ])
>       first contextMenu.
>
> Is there a slicker way?  If not, should there be accessor methods to get
the
> context menus of most interest to toolsmiths?

I suppose we just ought to name the views that have context menus so that
they can be located in a sensible way.

Regards

Blair