Note that Eclipse UI is JAVA based so you can automate Eclipse using QTP Java add-ins.
To perform QTP Java add-in, Go to Control Panel → Add or Remove Programs and select Quickest Professional from the list. Click on Change button.
To perform add-in installation, click on small black down arrow next to the cross button for Java Add-in. Clicking on it would show a small menu with 3 options as shown in the below image.