3

I'm trying to build my first Eclipse Plugin (under Indigo). I created a Popup Menu, and I manage to get the selected File path.

My aim is to add a member and a method via the plugin, inside the class definition.

Should I parse the file myself or is there a better way to do this?

XGouchet
  • 10,002
  • 10
  • 48
  • 83

1 Answers1

3

See the eclipse help how to manipulate Java files with the JDT --> http://help.eclipse.org/helios/topic/org.eclipse.jdt.doc.isv/guide/jdt_api_manip.htm

Tom Seidel
  • 9,525
  • 1
  • 26
  • 38