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