Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How do I execute method in another Plugin ...
How do I execute method in another Plugin ... [message #156131] Thu, 13 November 2003 01:45
David Whitehurst is currently offline David WhitehurstFriend
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
Previous Topic:How to save keybindings?
Next Topic:To add to standart Java editor highlightings functions.
Goto Forum:
  


Current Time: Thu Dec 26 19:18:31 GMT 2024

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

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

Back to the top