@Override
    protected void update(PresentationData presentation) {
      super.update(presentation);
      presentation.setIcon(getUiAware().getProjectIcon());

      final ModuleDependencyData data = getData();
      if (data != null) {
        setNameAndTooltip(getName(), null, data.getScope().getDisplayName());
      }
    }
 @Nullable
 @Override
 public ModuleOrderEntry findIdeModuleDependency(
     @NotNull ModuleDependencyData dependency, @NotNull Module module) {
   for (OrderEntry entry : getOrderEntries(module)) {
     if (entry instanceof ModuleOrderEntry) {
       ModuleOrderEntry candidate = (ModuleOrderEntry) entry;
       if (dependency.getInternalName().equals(candidate.getModuleName())
           && dependency.getScope().equals(candidate.getScope())) {
         return candidate;
       }
     }
   }
   return null;
 }