use of com.centurylink.mdw.plugin.project.model.DotProjectUpdater in project mdw-designer by CenturyLinkCloud.
the class ProjectConfigurator method addGradleNature.
public void addGradleNature(IProgressMonitor monitor) throws CoreException {
try {
DotProjectUpdater dotProj = new DotProjectUpdater(project.getSourceProject());
dotProj.addNature("org.springsource.ide.eclipse.gradle.core.nature");
dotProj.save(monitor);
} catch (Exception ex) {
throw new CoreException(new Status(Status.ERROR, MdwPlugin.getPluginId(), Status.ERROR, "ERROR: " + ex, ex));
}
}
Aggregations