Call Hierarchy menubarPath [message #208946] |
Wed, 06 July 2005 10:11  |
Eclipse User |
|
|
|
Originally posted by: chrismo.clabs.org
I've renewed my quest to transform my GraphViz hack into the Call
Hierarchy into a proper plug-in, now that 3.1 is out. I submitted a bug
a while ago [https://bugs.eclipse.org/bugs/show_bug.cgi?id=70054]
thinking there was an extension point problem, but found out I just
didn't know what I was doing (no surprise). Picked this up again last
night, and I've got a plug-in project going, but one thing I can't
figure out is what the menubarPath is for the Call Hierarchy context
menu is. What is it, or how do I go about finding out?
--
Chris
http://clabs.org
|
|
|
|
Re: Call Hierarchy menubarPath [message #209803 is a reply to message #208973] |
Wed, 13 July 2005 20:51  |
Eclipse User |
|
|
|
Originally posted by: chrism.clabs.org
Chris Morris wrote:
> In the source, found CallHierarchyViewer.initContextMenu, and the id
> param was set to a String constant ==
> "org.eclipse.jdt.callhierarchy.view" and that seemed to do the trick.
Well, this works for getting my menu item at the bottom of the context
menu, but I can't seem to use any of the groups. The source shows
constants such as GROUP_SHOW and GROUP_FOCUS being used in menu item
creation, but I can't get any menubarPath like
"org.eclipse.jdt.callhierarch.view/group.show" or ".../group.focus" to
work. I always get an invalid menu path or somesuch in the error log.
Any tips?
Also, this same id puts my item on both the context menu for the tree
view menu and the other pane (with Line and Code columns), but I really
only want it on the tree view menu. Any way to control that? (I guess
they both use the same menu id?)
--
Chris
http://clabs.org/blogki
|
|
|
Powered by
FUDForum. Page generated in 0.04842 seconds