File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 30146
    
150

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Question about extensions & extension points for Eclipse plugins
 
Similar Threads
CSS Float - how to "turn off" for subsequent content
Help me understand this piece of code
Tomcat Webapp launch error
passing disabled values to another page
adding markers to eclipse plug in