use of org.gradle.plugins.ide.eclipse.model.internal.WtpComponentFactory in project gradle by gradle.
the class EclipseWtpComponent method mergeXmlComponent.
@SuppressWarnings("unchecked")
public void mergeXmlComponent(WtpComponent xmlComponent) {
file.getBeforeMerged().execute(xmlComponent);
ProjectInternal projectInternal = (ProjectInternal) this.project;
IdeArtifactRegistry ideArtifactRegistry = projectInternal.getServices().get(IdeArtifactRegistry.class);
ProjectStateRegistry projectRegistry = projectInternal.getServices().get(ProjectStateRegistry.class);
new WtpComponentFactory(projectInternal, ideArtifactRegistry, projectRegistry).configure(this, xmlComponent);
file.getWhenMerged().execute(xmlComponent);
}
Aggregations