|
Re: How to add context menu item to visual component? [message #108809 is a reply to message #108766] |
Tue, 04 October 2005 14:13 |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
We don't have an example of contributing a menu item, but we do have
actual code that does that.
Take a look at
org.eclipse.ve.internal.java.codegen.editorpart.RenameJavaBe anObjectActionDelegate
and pay particular attention to the selectionChanged(IAction action,
ISelection selection) method. Also go to the
org.eclipse.ve.java.core/plugin.xml and look for
RenameJavaBeanObjectActionDelegate in the file. That will show how the
extension point is used.
--
Thanks,
Rich Kulp
|
|
|
Re: How to add context menu item to visual component? [message #610918 is a reply to message #108766] |
Tue, 04 October 2005 14:13 |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
We don't have an example of contributing a menu item, but we do have
actual code that does that.
Take a look at
org.eclipse.ve.internal.java.codegen.editorpart.RenameJavaBe anObjectActionDelegate
and pay particular attention to the selectionChanged(IAction action,
ISelection selection) method. Also go to the
org.eclipse.ve.java.core/plugin.xml and look for
RenameJavaBeanObjectActionDelegate in the file. That will show how the
extension point is used.
--
Thanks,
Rich Kulp
|
|
|
Powered by
FUDForum. Page generated in 0.02240 seconds