@Throws(CoreException::class) private fun resourceIsGwtXmlAndInGwt(resource: IResource): Boolean { return GWTNature.isGWTProject(resource.getProject()) && resource.getName() .endsWith(".gwt.xml") }
If the resource is a .gwt.xml file and we 're in a gwt-enabled project , return true .