wood burning stoves 2.0*
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse plugin to creat a custom javaclass Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse plugin to creat a custom javaclass" Watch "Eclipse plugin to creat a custom javaclass" New topic
Author

Eclipse plugin to creat a custom javaclass

Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

Hi Folks,



like above example, i want to craete a custom java file through eclipse plugin. that is when i right click on my project option have to come like "create Custom class" . when i click that some dialog box have to appear and ask the input for class Name. when i enter "ranch" , then class name should come like"ranchCustom" and body stucture as above example. i want to creat my own eclipse plug-in. [i googled it ,but failed ] . any tutorial link ?


P.S.i hope you will get my question .
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Just change the "new class" code and javadoc templates--there's no reason to create a plugin, the functionality already exists.
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

David Newton wrote:Just change the "new class" code and javadoc templates.

Please can you tell me that how to achieve this

David Newton wrote:--there's no reason to create a plugin, the functionality already exists.


infact i want to creat separate plugin .in future i plan to add some changes :)
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Go into settings, java, templates (or something like that).

Creating a plugin is non-trivial.
 
 
subject: Eclipse plugin to creat a custom javaclass
 
Similar Threads
Is Eclipse really this hard? And how did it get so popular?
Problem while writing Named Native Query
How to access the actual enum value of an Enum UserType?
Help for making swing custom widget using Visual Editor
How to separate the design from event handling in swing