• 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

Simulating Multiple Inheritance using IDE

 
Ranch Hand
Posts: 428
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I thought eclipse had a feature to simulate multiple implementation inheritance by using multiple interface inheritance. I recal hearing that eclipse would automate the generation of the implementations of the inherited interface methods to call the corresponding signatures of some data member.

How do I make this work? I can add a new interface and right click on the little red square with a white "x" in it and it will generate empty stubs but but I want the stubs to contain a call to the corresponding methods in data member thus simulating multiple implemenation inheritance. Is there a way to make eclipse to this for me?

yeah, yeah, I know, I could fill in the stubs myself. But we are supposed to have computers to do these tedious jobs for us!

Well, regardless if eclipse will do it, what other IDE's will do it?

Thanks,
siegfried
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Under the "Source" menu, choose "Generate delegate methods..."
 
Ruth Stout was famous for gardening naked. Just like this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic