How does Eclipse automatically generate code? [message #303757] |
Mon, 22 May 2006 05:13 |
Eclipse User |
|
|
|
Originally posted by: smart_eclipser.yahoo.com
How does Eclipse automatically generate code?
For example, I've got the parameters like a package whose name is P, a
class whose name is C, an interface called I which is implemented by the
class C and has an abstract
method named abs_f(). After I've got all these parameters, how can I
automatically generate the code like this:
package p;
public class C implements I
{
public void abs_f()
{
}
//The rest of the code...
}
Eclipse is so nice in generate such kind of codes, but how does it
implement this? I mean where is the corresponding code of Eclipse project
that implements this function?
Or does Eclipse leave any interfaces for developers to develop an plug-in
to automatically generate code? Thank you guys so much!!!
|
|
|
Powered by
FUDForum. Page generated in 0.03734 seconds