• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Question about extensions & extension points for Eclipse plugins

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Alan,
I used Eric's escaping tool to escape the XML.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic