Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Plugin reference in perspectives
Plugin reference in perspectives [message #308442] Sat, 23 September 2006 23:01
Eclipse UserFriend
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.
Previous Topic:Resource deletion triggered as a changeEvent
Next Topic:How to set save the Model changes in Editor
Goto Forum:
  


Current Time: Sat Apr 27 03:46:40 GMT 2024

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

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

Back to the top