I need somebody to code part of an eclipse plug-in. I'll give you the code I got so far so you don't have to do it from scratch. The plug-in will do java code generation and I need to add two buttons on the toolbar. One button is to open a dialog which allows user to choose package name, class name and the first method name. It has Ok and cancel button. After OK button is clicked, the plug-in should check to see if the class is alreay exists in the current open project (using jdt api to do this) and if it exists, prompt user for override or cancel. If class does not exist or to override the existing class, the plug-in will start generate a java class and an editor for that class is added to the view(I have the code to show you how that's done). after the first empty method is created in the java code, other program should be able to call a method on plug-in's singleton (addCode(String lineOfCode) method) so that one line of code is appended to the newly created method. User can continue call addCode(). The plug-in singleton should remember what is the current class being edited and the current method being generated (the method which receives new line of code from plug-in singleton). The other button is to create a new method in the current generated class. It will popup a dialog for user to input a method name and has OK and cancel. while clicking cancel will just pop down the dialog and do nothing, clicking OK will add a new method in the current editing class, and current method being generated in plug-in singleton should be updated so all the new code will be appended to the end of this new method. As required by eclipse platform all UI needs to be coded in SWT. Button icons are not your responsibilities. Just use a sample icon from eclipse sample plug-in.
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.
## Platform
on windows, eclipse with jdk1.3/jdk1.4