Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How does Eclipse automatically generate code?
How does Eclipse automatically generate code? [message #303757] Mon, 22 May 2006 05:13
Eclipse UserFriend
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!!!
Previous Topic:Linux GTK crash on Eclipse 3.0
Next Topic:Marker and enablement in org.eclipse.ui.decorators
Goto Forum:
  


Current Time: Sat Jul 19 00:05:47 EDT 2025

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

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

Back to the top