• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eclipse plugin to creat a custom javaclass

 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Go into settings, java, templates (or something like that).

Creating a plugin is non-trivial.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic