}
dependency.setDirty(true);
UndoableEditSupport undoableEditSupport=getUndoableEditSupport(dependency);
if (undoableEditSupport!=null&&eventSource!=null&&!(eventSource instanceof UndoableEdit)){
undoableEditSupport.postEdit(new DependencyCreationEdit(dependency,eventSource));
}
}