|
|
|
|
|
Re: Finding code attached to UI [message #715076 is a reply to message #714926] |
Fri, 12 August 2011 10:03 |
stephen_leake Messages: 3 Registered: August 2011 |
Junior Member |
|
|
That's closer. But, for the 'Run' toolbar button, it doesn't let me open the drop down menu first, to show the final choice; it just gives me the top level widget info.
In Emacs, only the final menu/keystroke choice is displayed in the help buffer.
Also, it doesn't let me click to bring up the actual source; I have to search for it somewhere.
Finally, it doesn't work for keystrokes.
Hmm. For actual menus, it does open the submenus, and show the source. Apparently toolbar actions are significantly different than menu actions.
Arghh! not for the "run" menu entry! that brings up the same info as the "run" toolbar button. Which is at least consistent.
Apparently not all menu entries are equal.
The info presented by menu spy for "Run" is:
The active contribution item identifier:
org.eclipse.debug.internal.ui.actions.RunDropDownAction
The active contribution location URI:
toolbar:org.eclipse.debug.ui.launchActionSet?after=org.eclipse.debug.internal.ui.actions.RunDropDownAction
The active action set identifier:
org.eclipse.debug.ui.launchActionSet
I can't find that in .../eclipse-3.7/plugins. I found org.eclipse.debug.ui.source_3.7.0.v20110518.jar, but that doesn't seem to contain "launchActionSet".
Where is the source for this action?
|
|
|
Powered by
FUDForum. Page generated in 0.03658 seconds