LinkedHashSet<ObjectClass> ocsToDelete = new LinkedHashSet<ObjectClass>();
ocsToDelete.add(objectClass);
LinkedHashSet<AttributeType> attrsToDelete =
new LinkedHashSet<AttributeType>(0);
DeleteSchemaElementsTask newTask = new DeleteSchemaElementsTask(getInfo(),
dlg, ocsToDelete, attrsToDelete);
for (Task task : getInfo().getTasks())
{
task.canLaunch(newTask, errors);
}