Then i restarted eclipse.
After these steps i did not find an option to create a portlet.
Method 2 Help --> Install new software----> New local ---> gave the location of the download directory.. I got the portal tools core install option. Then I gave next and installed it. But still I am not getting the option to create a portlet. I am not sure in which step i am wrong.