Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Is this the right place to post this?
Is this the right place to post this? [message #6964] Fri, 13 June 2008 19:20
Eclipse UserFriend
Originally posted by: gang.xu.delphi.com

Also posted in Platform...

Hi,
I have built an eclipse plug-in with a pop-up and view included.
Basically, I have the action menu appearing over an IFunction and storing
to body of the function as a string. Is there any way to pass the string
(or any string, for that matter) over to my view where it can be viewed,
modified, etc.?

So far, I think I've looked in the wrong direction, and have the view
being alerted similar to the article:
http://www.eclipse.org/articles/Article-WorkbenchSelections/ article.html

So,
1. Along the lines above, is there a way to listen for the specific
selection of the action? I thought
addSelectionListener(String partId, ISelectionListener listener)
with partId = the name of the id of the action class in plugin.xml would
do the trick, but nothing is happening.

2. Is there a simple way to transfer data from an action over to a view?
Specifically, if Action.java under the *.popup.java stores a string, can
NewView.java under *.views of the same project get hold of that string?

Thanks!
Previous Topic:linking between html files in separate help plugin jar files
Next Topic:Is this the right place to post this?
Goto Forum:
  


Current Time: Thu Dec 26 19:57:47 GMT 2024

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

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

Back to the top