Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » generating class methods from an interface
generating class methods from an interface [message #493694] Tue, 27 October 2009 15:01
Eclipse UserFriend
Originally posted by: carifio.nospam.nospam.usys.com

Does PDT 2.1/Galileo have "refactor" means for generating the methods
that declared in an interface? For example, suppose I have:

interface I {
function i_method($x);
}

class C implements I {

// Need to implement i_method

}

I would like to tell Eclipse to "stub out" all the methods for interface
I, e.g. i_method($x).

This becomes more useful when you have several interfaces, each with
several methods, for example:

class C implement I0, I1, I2, I3 { ...

and then you can have eclipse generate all the method stubs for C.

Pl. advise. Thanks.
Previous Topic:code completion overwrites too much
Next Topic:Zend Debugger setup woes
Goto Forum:
  


Current Time: Fri Apr 26 12:15:12 GMT 2024

Powered by FUDForum. Page generated in 0.02547 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top