ProgressDialog dlg = new ProgressDialog(
Utilities.createFrame(),
Utilities.getParentDialog(this),
INFO_CTRL_PANEL_MODIFY_ATTRIBUTE_TITLE.get(), getInfo());
ModifyAttributeTask newTask = new ModifyAttributeTask(getInfo(),
dlg, attribute, getNewAttribute());
for (ConfigurationElementCreatedListener listener :
getConfigurationElementCreatedListeners())
{
newTask.addConfigurationElementCreatedListener(listener);
}
for (Task task : getInfo().getTasks())
{
task.canLaunch(newTask, errors);
}