title: Possible to rename multiple Java packages in Eclipse with a single command?
body: <p>My Java project structure in Eclipse looks like this:</p>
  
  <pre><code>myproject
      src/main/java
          com.mypackage.mysubpackage1
          com.mypackage.mysubpackage2
          com.mypackage.mysubpackage3
          com.myotherpackage.mysubpackage1
          com.myotherpackage.mysubpackage1
          com.myotherpackage.mysubpackage1
  </code></pre>
  
  <p>But I've decided that <code>mypackage</code> is not a good name for the packages in the first group. Instead I would like to rename them to <code>mynewpackage</code> so that my package structure would look like this: </p>
  
  <pre><code>myproject
      src/main/java
          com.mynewpackage.mysubpackage1
          com.mynewpackage.mysubpackage2
          com.mynewpackage.mysubpackage3
          com.myotherpackage.mysubpackage1
          com.myotherpackage.mysubpackage1
          com.myotherpackage.mysubpackage1
  </code></pre>
  
  <p>The only way I am aware of, with my limited knowledge of Eclipse, is to right-click on each subpackage and choose <code>Refactor -&gt; Rename</code>. </p>
  
  <p>But because the package list is quite long, I am rather hoping there is a single command that I am not aware of that would allow me to rename all of these packages in bulk.</p>