Maven: action names
authorAnton Makeev <Anton.Makeev@jetbrains.com>
Fri, 12 Mar 2010 12:46:24 +0000 (15:46 +0300)
committerAnton Makeev <Anton.Makeev@jetbrains.com>
Fri, 12 Mar 2010 12:46:41 +0000 (15:46 +0300)
plugins/maven/src/main/java/org/jetbrains/idea/maven/dom/generate/GenerateAddManagedDependencyAction.java [moved from plugins/maven/src/main/java/org/jetbrains/idea/maven/dom/generate/GenerateOverridingDependencyAction.java with 95% similarity]
plugins/maven/src/main/resources/DomBundle.properties
plugins/maven/src/main/resources/META-INF/plugin.xml

similarity index 95%
rename from plugins/maven/src/main/java/org/jetbrains/idea/maven/dom/generate/GenerateOverridingDependencyAction.java
rename to plugins/maven/src/main/java/org/jetbrains/idea/maven/dom/generate/GenerateAddManagedDependencyAction.java
index 5e9ebb68ed12a1c53aa3b7a07dc8a5bc0d6abc46..cb316659e31859a93520ec081693dec90c1481c4 100644 (file)
@@ -33,8 +33,8 @@ import org.jetbrains.idea.maven.utils.MavenIcons;
 import java.util.List;
 import java.util.Set;
 
-public class GenerateOverridingDependencyAction extends GenerateDomElementAction {
-  public GenerateOverridingDependencyAction() {
+public class GenerateAddManagedDependencyAction extends GenerateDomElementAction {
+  public GenerateAddManagedDependencyAction() {
     super(new MavenOverridingDependencyGenerateProvider(), MavenIcons.DEPENDENCY_ICON);
   }
 
@@ -45,7 +45,7 @@ public class GenerateOverridingDependencyAction extends GenerateDomElementAction
 
   private static class MavenOverridingDependencyGenerateProvider extends MavenGenerateProvider<MavenDomDependency> {
     public MavenOverridingDependencyGenerateProvider() {
-      super(MavenDomBundle.message("override.dependency"), MavenDomDependency.class);
+      super(MavenDomBundle.message("generate.managed.dependency"), MavenDomDependency.class);
     }
 
     @Override
index c2375fb9e889ad3911d7f277531e377a6c4e5677..3c266a92241cedf2b24ade920d6bcb52ea122afb 100644 (file)
@@ -3,7 +3,7 @@ inspection.name=Maven Model Inspection
 fix.create.module=Create Module
 fix.create.module.with.parent=Create Module with Parent
 fix.update.indices=Update Maven Indices
-fix.parent.path=Fix relative path
+fix.parent.path=Fix Relative Path
 fix.open.file=Open ''{0}''
 intention.choose.file=Choose File
 
@@ -17,15 +17,15 @@ generate.dependency.group=Dependency (group)
 generate.plugin.artifact=Plugin (artifact)
 generate.plugin.group=Plugin (group)
 
-overriden.dependency.title=Navigate to managing dependency
-overriding.dependency.title=Navigate to dependency usages
-navigate.parent.dependency.title=Choose dependency to navigate
+overriden.dependency.title=Navigate to Managing Dependency
+overriding.dependency.title=Navigate to Dependency Usages
+navigate.parent.dependency.title=Choose Dependency to Navigate to
 
-parent.pom.title=Navigate to parent
-children.poms.title=Navigate to children projects
-navigate.children.poms.title=Choose project
-dependencies.chooser.title=Choose dependency
+parent.pom.title=Navigate to Parent
+children.poms.title=Navigate to Children Projects
+navigate.children.poms.title=Choose Project
+dependencies.chooser.title=Choose Dependency
 all.dependencies=All Dependencies
 chooser.show.project.files=Project Files
-override.dependency=Override Parent Dependency
 generate.dependency=Dependency
+generate.managed.dependency=Add Managed Dependency
index 522d5b8e485c538b9c24d135b3b2df3f38b64e92..a65c7e76773d1c5f2bf0c7249e90ec7452c3d8f5 100644 (file)
       <separator/>
       <action id="Maven.AssignShortcut"
               class="org.jetbrains.idea.maven.tasks.actions.AssignShortcutAction" text="Assign Shortcut..."
-              description="Assign shortcutto selected phase/goal">
+              description="Assign shortcut to selected phase/goal">
       </action>
 
       <action id="Generate.Dom.Elements" class="org.jetbrains.idea.maven.dom.generate.MavenGenerateDomActionGroup" text="Generate">
       <add-to-group group-id="GenerateGroup" anchor="first"/>
 
       <action id="GenerateDependency" class="org.jetbrains.idea.maven.dom.generate.GenerateDependencyAction"/>
-      <action id="OverrideDependency" class="org.jetbrains.idea.maven.dom.generate.GenerateOverridingDependencyAction"/>
+      <action id="OverrideDependency" class="org.jetbrains.idea.maven.dom.generate.GenerateAddManagedDependencyAction"/>
       <action id="GenerateParent" text="Parent" class="org.jetbrains.idea.maven.dom.generate.GenerateParentAction"/>
     </group>
   </actions>