How do I execute method in another Plugin ... [message #156131] |
Thu, 13 November 2003 01:45 |
David Whitehurst![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=dlwhitehurst%40comcast.net) Messages: 76 Registered: July 2009 |
Member |
|
|
I am trying to send a String into a sendMessage(String s) method in another
plugin (View). I have an editor action and it presently displays dialog
(shows me it's working). I want to add the 2nd plugin (a view) and call the
sendMessage("hello there"). When I do, I get unhandled exception and it
refers to 2nd plugin package. I tried making this 2nd plugin method
"static". Still didn't work.
Can someone tell me how to call this method which just adds text to my
console view from another plugin. I tried the workbench,.ya da da
getViewPart stuff but I couldn't cast the ViewPart to the console object
itself with the sendMessage method.
Please help,
David
--
David L. Whitehurst
aka. PiratePete
http://www.piratepetesoftware.com
dlwhitehurst@comcast.net
|
|
|
Powered by
FUDForum. Page generated in 0.03203 seconds