IDEA-251030 Icons are not shown in Database toolwindow popup menu
[idea/community.git] / java / idea-ui / src / com / intellij / framework / library / DownloadableLibraryTypeBase.java
index 8f19e9939274a7b16bcdf3469add07234885ac48..ac051edd059c3d7fab78eff90b0e8af92f981fa9 100644 (file)
  */
 package com.intellij.framework.library;
 
+import org.jetbrains.annotations.Nls;
 import org.jetbrains.annotations.NotNull;
 import org.jetbrains.annotations.Nullable;
 
 import javax.swing.*;
 import java.net.URL;
+import java.util.function.Supplier;
 
 /**
  * @deprecated use {@link DownloadableLibraryType} instead
  */
 @Deprecated
 public abstract class DownloadableLibraryTypeBase extends DownloadableLibraryType {
-  protected DownloadableLibraryTypeBase(@NotNull String libraryCategoryName,
+  protected DownloadableLibraryTypeBase(@NotNull Supplier<@Nls(capitalization = Nls.Capitalization.Title) String> libraryCategoryName,
                                         @NotNull String libraryTypeId,
                                         @NotNull String groupId,
                                         @Nullable Icon icon,