Hi,
Have you installed SAPUI5 in eclipse? you can refer one of my blog for more details, http://scn.sap.com/community/developer-center/front-end/blog/2013/05/31/how-to-create-sapui5-application-consuming-gateway-service-with-the-help-of-sap-nw-gateway-plugin
Regards,
Chandra