• 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

Writing Custom Plugins

 
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I want to write a custom plugin that calls another plugin(jboss).
1) I wonder if it was possible for one plugin to call another plugin?
2) if not then i would have to have the jboss code also in the same custom plugin that i write?

Im using Eclipse 3.1.2(customised). Any answers and any pointers on how to go about it would be really helpful and appreciated.
 
Saloon Keeper
Posts: 27763
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I may be wrong, but the mental image I have of an Eclipse plugin doesn't resemble a "program" so much as it does a combined set of OLE-style Interfaces working in concert.

If you implement a certain interface in your plugin and it should interact with its counterpart in someone else's plugin (or for that matter with any interfaces in anyone's plugins), you have to handle the process yourself. This actually happens quite a bit, in my experience. It's like OOP, except that since there's no inheretance structure, you have to force the effect.

It would also probably be a good thing to study up on the OSGI spec, since that's the basis for modern-day Eclipse plugin architecture.
 
RoshaniG Gopal
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Tim,
Im also going thorugh the same plus a book 'Eclipse- Developing comercial quality plugins'. But i still dont have a concrete answer to my query.
Any other thought on the topic by anyone else is most welcome.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic