fun hasGwtFacet(project: IProject?): Boolean { var hasFacet = false try { hasFacet = FacetedProjectFramework.hasProjectFacet(project, "com.gwtplugins.gwt.facet") } catch (e: CoreException) { CorePluginLog.logInfo("hasGetFacet: Error, can't figure GWT facet.", e) } return hasFacet }
Returns if this project has a GWT facet . TODO use extension point to get query GwtWtpPlugin ...