Plugin reference in perspectives [message #308442] |
Sat, 23 September 2006 23:01 |
Eclipse User |
|
|
|
Originally posted by: jpk4077.hotmail.com
Hi,
I am testing an eclipse plugin for right click popup menu in rational
software modeler.
I have given objectClass = org.eclipse.jdt.core.IPackageFragment,
nameFilter = *.*
a. The plugin works fine in RSM and shows me the menu when I right click a
package in the java perspective. When I switch to the modeling
perspective, and right click on the package, the right click menu does not
appear.
b. In my plugin code, how do I refer to the object on which the right
click was performed? I understand all the code goes in
public void run(IAction action) {}. How do I get the target from the
action parameter?
Thanks Praveen.
|
|
|
Powered by
FUDForum. Page generated in 0.02989 seconds