Qodana: add property for suppressed plugin ids list.
[idea/community.git] / java / compiler / openapi / src / com / intellij / packaging / elements / ComplexPackagingElementType.java
index e9d6b1b2619b9e89d7fd4e1a6da83bf1b6cf23fa..cf8613af33da8a1a4dbff29e1e1281a5efb7626d 100644 (file)
@@ -18,16 +18,21 @@ package com.intellij.packaging.elements;
 
 import com.intellij.openapi.project.Project;
 import com.intellij.openapi.util.ModificationTracker;
+import com.intellij.openapi.util.NlsActions;
+import org.jetbrains.annotations.Nls;
 import org.jetbrains.annotations.NonNls;
 import org.jetbrains.annotations.NotNull;
 import org.jetbrains.annotations.Nullable;
 
+import java.util.function.Supplier;
+
 public abstract class ComplexPackagingElementType<E extends ComplexPackagingElement<?>> extends PackagingElementType<E> {
-  protected ComplexPackagingElementType(@NotNull @NonNls String id, @NotNull String presentableName) {
+  protected ComplexPackagingElementType(@NotNull @NonNls String id,
+                                        @NotNull Supplier<@Nls(capitalization = Nls.Capitalization.Title) String> presentableName) {
     super(id, presentableName);
   }
 
-  public abstract String getShowContentActionText();
+  public abstract @NlsActions.ActionText String getShowContentActionText();
 
   @Nullable
   public ModificationTracker getAllSubstitutionsModificationTracker(@NotNull Project project) {