IDEA-251652 Plugin Devkit Action System: support <override-text> for <group>
[idea/community.git] / java / idea-ui / src / com / intellij / openapi / roots / ui / configuration / artifacts / actions / LayoutTreeActionBase.java
index d6a3e4176b25177f3bc7986f5f83e1bbcb28e406..a25cbe56d5167c877a95dd1e38da6262c134e747 100644 (file)
@@ -18,7 +18,9 @@ package com.intellij.openapi.roots.ui.configuration.artifacts.actions;
 import com.intellij.openapi.actionSystem.AnActionEvent;
 import com.intellij.openapi.project.DumbAwareAction;
 import com.intellij.openapi.roots.ui.configuration.artifacts.ArtifactEditorEx;
+import com.intellij.openapi.util.NlsActions;
 import org.jetbrains.annotations.NotNull;
+import org.jetbrains.annotations.Nullable;
 
 import javax.swing.*;
 import java.util.function.Supplier;
@@ -26,7 +28,10 @@ import java.util.function.Supplier;
 public abstract class LayoutTreeActionBase extends DumbAwareAction {
   protected final ArtifactEditorEx myArtifactEditor;
 
-  protected LayoutTreeActionBase(String text, String description, Icon icon, ArtifactEditorEx artifactEditor) {
+  protected LayoutTreeActionBase(@Nullable @NlsActions.ActionText String text,
+                                 @Nullable @NlsActions.ActionDescription String description,
+                                 @Nullable Icon icon,
+                                 @NotNull ArtifactEditorEx artifactEditor) {
     super(text, description, icon);
     myArtifactEditor = artifactEditor;
   }