Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Call Hierarchy menubarPath
Call Hierarchy menubarPath [message #208946] Wed, 06 July 2005 10:11 Go to next message
Eclipse UserFriend
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 #208973 is a reply to message #208946] Wed, 06 July 2005 23:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: chrism.clabs.org

Chris Morris wrote:
> 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?

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.

--
Chris
http://clabs.org/blogki
Re: Call Hierarchy menubarPath [message #209803 is a reply to message #208973] Wed, 13 July 2005 20:51 Go to previous message
Eclipse UserFriend
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
Previous Topic:Overlapping projects in same folder structure
Next Topic:TreeViewer: what could cause improper refreshes?
Goto Forum:
  


Current Time: Wed Jun 04 11:35:13 EDT 2025

Powered by FUDForum. Page generated in 0.04842 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top