use of org.hibernate.eclipse.launch.core.refactoring.ConsoleConfigurationDeleteJavaProjectChange in project jbosstools-hibernate by jbosstools.
the class DeleteProjectParticipant method createChange.
@Override
public Change createChange(IProgressMonitor pm) throws CoreException, OperationCanceledException {
ILaunchConfiguration[] configs = HibernateRefactoringUtil.getAffectedLaunchConfigurations(javaProject);
List<Change> changes = new ArrayList<Change>();
for (int i = 0; i < configs.length; i++) {
changes.add(new ConsoleConfigurationDeleteJavaProjectChange(configs[i]));
}
return HibernateRefactoringUtil.createChangesFromList(changes, getName());
}
Aggregations