Saturday, December 1, 2007

creating an eclipse plugin

hey, today lets talk about creating a basic eclipse plug in 1) start an eclipse application, go to file -> new.. -> Other.. -> Plugin Development -> Plug in Project 2) Select a name for the plug in project click next and fill in the details for the plug in 3) click next and choose from the different types of templates and click finish. Well now we have the plug in displayed in the package explorer 4) right click on the plugin.xml file and select pde tools -> ant build file. We now have an ant script generated by name build.xml 5) So far we created the sample "Hello World" plug in 6) To run the application open the run dialog and create a new configuration of "Eclipse application" 7) we can now see that a new eclipse application is opened and an additional menu bar is added or a tool bar button is generated based on the template that we choose during the plugin project creation 8) Clicking on that application will have the plug in started This is just a basic plug in application where additional functionalities can be added to the application to make more complex plug ins

No comments: