Ubuntu: Adding entries(eclipse) in GNOME menu

I’m using Ubuntu 12.4, and I’d like to automate the addition of some menu items in GNOME menu But i lost to find eclipse. So i am adding eclipse in GNOME as following steps.

go to applications>accessories>terminal or ctrl+alt+t
$sudo gedit /usr/share/applications/eclipse.desktop

You wil get blank page. Paste the below code.
[Desktop Entry]
Encoding=UTF-8
Name=Eclipse
Comment=Eclipse IDE
Exec=/home/sanjeev/eclipse/eclipse
Icon=/home/sanjeev/eclipse/icon.xpm
Terminal=false
Type=Application
Categories=GNOME;Application;Development;
StartupNotify=true

Exec is the path to the eclipse executable application and Icon is the path to the eclipse icon therefore you can change by your eclipse location.

Save it

Close the terminal.
Now clipse will be in GNOME menu.

Enjoy!!!