[Mercurial] renamed HgInitParentDialog to HgInitAlreadyUnderHgDialog
authorKirill Likhodedov <kirill.likhodedov@jetbrains.com>
Fri, 18 Jun 2010 11:38:07 +0000 (15:38 +0400)
committerKirill Likhodedov <kirill.likhodedov@jetbrains.com>
Fri, 18 Jun 2010 11:38:07 +0000 (15:38 +0400)
plugins/hg4idea/src/org/zmlx/hg4idea/ui/HgInitAlreadyUnderHgDialog.form [new file with mode: 0644]
plugins/hg4idea/src/org/zmlx/hg4idea/ui/HgInitAlreadyUnderHgDialog.java [moved from plugins/hg4idea/src/org/zmlx/hg4idea/ui/HgInitParentDialog.java with 94% similarity]

diff --git a/plugins/hg4idea/src/org/zmlx/hg4idea/ui/HgInitAlreadyUnderHgDialog.form b/plugins/hg4idea/src/org/zmlx/hg4idea/ui/HgInitAlreadyUnderHgDialog.form
new file mode 100644 (file)
index 0000000..ba638f8
--- /dev/null
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="org.zmlx.hg4idea.ui.HgInitAlreadyUnderHgDialog">
+  <grid id="cbd77" binding="contentPane" layout-manager="GridLayoutManager" row-count="1" column-count="1" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
+    <margin top="10" left="10" bottom="10" right="10"/>
+    <constraints>
+      <xy x="48" y="54" width="436" height="297"/>
+    </constraints>
+    <properties/>
+    <border type="none"/>
+    <children>
+      <grid id="e3588" layout-manager="GridLayoutManager" row-count="4" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
+        <margin top="0" left="0" bottom="0" right="0"/>
+        <constraints>
+          <grid row="0" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
+        </constraints>
+        <properties/>
+        <border type="none"/>
+        <children>
+          <component id="1b523" class="javax.swing.JRadioButton" binding="myCreateNewRepositoryHereRadioButton" default-binding="true">
+            <constraints>
+              <grid row="3" column="0" row-span="1" col-span="2" vsize-policy="0" hsize-policy="6" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
+            </constraints>
+            <properties>
+              <text resource-bundle="org/zmlx/hg4idea/HgVcsMessages" key="hg4idea.init.already.under.hg.option.create.repo.here"/>
+            </properties>
+          </component>
+          <vspacer id="4f601">
+            <constraints>
+              <grid row="0" column="1" row-span="1" col-span="1" vsize-policy="6" hsize-policy="1" anchor="0" fill="2" indent="0" use-parent-layout="false"/>
+            </constraints>
+          </vspacer>
+          <component id="ef06d" class="javax.swing.JRadioButton" binding="myUseParentRepoButThisProjectButton">
+            <constraints>
+              <grid row="2" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="6" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
+            </constraints>
+            <properties>
+              <text resource-bundle="org/zmlx/hg4idea/HgVcsMessages" key="hg4idea.init.already.under.hg.option.use.parent"/>
+            </properties>
+          </component>
+          <component id="f180f" class="javax.swing.JRadioButton" binding="myUseParentRepoAndCreateProjectButton">
+            <constraints>
+              <grid row="1" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="6" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
+            </constraints>
+            <properties>
+              <text resource-bundle="org/zmlx/hg4idea/HgVcsMessages" key="hg4idea.init.already.under.hg.option.create.project.at.parent"/>
+            </properties>
+          </component>
+          <component id="244a3" class="com.intellij.openapi.ui.TitlePanel" binding="myTitlePanel" custom-create="true">
+            <constraints>
+              <grid row="0" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="0" indent="0" use-parent-layout="false"/>
+            </constraints>
+            <properties/>
+          </component>
+        </children>
+      </grid>
+    </children>
+  </grid>
+</form>
similarity index 94%
rename from plugins/hg4idea/src/org/zmlx/hg4idea/ui/HgInitParentDialog.java
rename to plugins/hg4idea/src/org/zmlx/hg4idea/ui/HgInitAlreadyUnderHgDialog.java
index 80efa918d2cf8c596b31d0ddf89c69fa1e357645..ecb0fc2e2b2a97ea4ca78bda371e7c71eee633dd 100644 (file)
@@ -27,7 +27,7 @@ import javax.swing.*;
  * which is already under Mercurial.
  * Provides several options to choose.
  */
-public class HgInitParentDialog extends DialogWrapper {
+public class HgInitAlreadyUnderHgDialog extends DialogWrapper {
   private JPanel contentPane;
   private JRadioButton myCreateNewRepositoryHereRadioButton;
   private JRadioButton myUseParentRepoButThisProjectButton;
@@ -42,7 +42,7 @@ public class HgInitParentDialog extends DialogWrapper {
     CREATE_REPO_HERE
   }
 
-  public HgInitParentDialog(Project project, String selectedRoot, String parentRoot) {
+  public HgInitAlreadyUnderHgDialog(Project project, String selectedRoot, String parentRoot) {
     super(project, false);
     mySelectedRoot = selectedRoot;
     myParentRoot = parentRoot;