Using Commands in custom Classes [message #325098] |
Fri, 08 February 2008 05:05  |
Eclipse User |
|
|
|
Hi,
I've a self written menu inside a view. I want plug-ins to contribute to
this menu using the extension point org.eclipse.ui.menu and
locationURI. When starting the plug-in I want to read all plug-ins that
define such extension point and using a locationURI matching my menu.
My question is, how can I get access a command properties? Since its a
custom menu, I've to get its label, description and image. Also, once the
menu is used I've to get access to its handler and execute it.
I could do this all by hand parsing extension points manually. But isnt
there a more handy kind of way? Such like a helper API??
Thanks,
Jan
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04419 seconds