@Override
public void execute() throws CaoException {
for (CaoElement source : sources.getElements()) {
try {
String sourceId = source.getId();
CaoElement parent = source.getParent();
((JackElement)source).getNode().remove();
((JackElement)source).getNode().getSession().save();
source.getConnection().fireElementUnlink(parent.getId(), sourceId);
source.getConnection().fireElementDeleted(sourceId);
} catch (Exception e) {
monitor.log().e(e);
}