This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes Question about extensions & extension points for Eclipse plugins Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Question about extensions & extension points for Eclipse plugins" Watch "Question about extensions & extension points for Eclipse plugins" New topic
Author

Question about extensions & extension points for Eclipse plugins

Alan W. Smith
Greenhorn

Joined: Sep 07, 2004
Posts: 13
I'm trying to work with extensions and extension points for an eclipse plugin. Suppose I have a parent plugin with the extension point "testExtensionPoint", and I want the parent plugin to programmatically get the "TestExtensionAttribute" value of the child plugin. Effectively, I'm trying to get that value based on the dynamic type of the plugin. For example, I have a samplePlugin and a samplePlugin1, and I want the parent plugin java code to get "BLAH" when samplePlugin is used and "blah" when samplePlugin1 is used. How can I do this programmatically?

samplePlugin plugin.xml:



Thanks in advance for any help.

[added code tags and escaped special chars so XML shows up]
[ March 15, 2005: Message edited by: Jeanne Boyarsky ]
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 29219
    
134

Alan,
I used Eric's escaping tool to escape the XML.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
jQuery in Action, 2nd edition
 
subject: Question about extensions & extension points for Eclipse plugins
 
Similar Threads
adding markers to eclipse plug in
CSS Float - how to "turn off" for subsequent content
Help me understand this piece of code
passing disabled values to another page
Tomcat Webapp launch error