Brion VIBBER has submitted this change and it was merged.

Change subject: Update mwdumper gui for 1.25 schema mode
......................................................................


Update mwdumper gui for 1.25 schema mode

Change-Id: Icba76c1e36c55917feeb037343d2b060662134d4
---
M src/org/mediawiki/dumper/gui/DumperGui.java
M src/org/mediawiki/dumper/gui/DumperWindow.java
M src/org/mediawiki/dumper/gui/DumperWindowForm.form
M src/org/mediawiki/dumper/gui/DumperWindowForm.java
4 files changed, 101 insertions(+), 48 deletions(-)

Approvals:
  Brion VIBBER: Verified; Looks good to me, approved



diff --git a/src/org/mediawiki/dumper/gui/DumperGui.java 
b/src/org/mediawiki/dumper/gui/DumperGui.java
index 056afb9..af7a2a0 100644
--- a/src/org/mediawiki/dumper/gui/DumperGui.java
+++ b/src/org/mediawiki/dumper/gui/DumperGui.java
@@ -15,6 +15,7 @@
 import org.mediawiki.importer.SqlWriter;
 import org.mediawiki.importer.SqlWriter14;
 import org.mediawiki.importer.SqlWriter15;
+import org.mediawiki.importer.SqlWriter1_25;
 import org.mediawiki.importer.XmlDumpReader;
 
 public class DumperGui {
@@ -36,7 +37,7 @@
        String username = "root";
        String password = "";
        
-       String schema = "1.5";
+       String schema = "1.25";
        String dbname = "wikidb";
        String prefix = "";
        
@@ -232,8 +233,10 @@
                /* XXX should have mysql/postgres selection */
                if (schema.equals("1.4"))
                        return new SqlWriter14(getTraits(), sqlStream, prefix);
-               else
+                else if (schema.equals("1.5"))
                        return new SqlWriter15(getTraits(), sqlStream, prefix);
+               else
+                       return new SqlWriter1_25(getTraits(), sqlStream, 
prefix);
        }
        
        void abort() {
diff --git a/src/org/mediawiki/dumper/gui/DumperWindow.java 
b/src/org/mediawiki/dumper/gui/DumperWindow.java
index ba9a100..6414204 100644
--- a/src/org/mediawiki/dumper/gui/DumperWindow.java
+++ b/src/org/mediawiki/dumper/gui/DumperWindow.java
@@ -106,6 +106,7 @@
                                schemaLabel,
                                schema14Radio,
                                schema15Radio,
+                               schema1_25Radio,
                                prefixLabel,
                                prefixText,
                                dbnameLabel,
@@ -211,6 +212,10 @@
        protected void 
onSchema15RadioActionPerformed(java.awt.event.ActionEvent evt) {
                backend.setSchema("1.5");
        }
+
+        protected void 
onSchema1_25RadioActionPerformed(java.awt.event.ActionEvent evt) {
+               backend.setSchema("1.25");
+        }
        
        /* ---- more random crap ---- */
        
diff --git a/src/org/mediawiki/dumper/gui/DumperWindowForm.form 
b/src/org/mediawiki/dumper/gui/DumperWindowForm.form
index 3f59e35..9ddcf42 100644
--- a/src/org/mediawiki/dumper/gui/DumperWindowForm.form
+++ b/src/org/mediawiki/dumper/gui/DumperWindowForm.form
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 
-<Form version="1.3" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">
+<Form version="1.3" maxVersion="1.3" 
type="org.netbeans.modules.form.forminfo.JFrameFormInfo">
   <NonVisualComponents>
     <Component class="javax.swing.ButtonGroup" name="schemaRadios">
     </Component>
@@ -31,9 +31,14 @@
   <SyntheticProperties>
     <SyntheticProperty name="menuBar" type="java.lang.String" 
value="mainMenuBar"/>
     <SyntheticProperty name="formSizePolicy" type="int" value="1"/>
+    <SyntheticProperty name="generateCenter" type="boolean" value="false"/>
   </SyntheticProperties>
   <AuxValues>
+    <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" 
value="0"/>
+    <AuxValue name="FormSettings_autoSetComponentName" 
type="java.lang.Boolean" value="false"/>
+    <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" 
value="true"/>
     <AuxValue name="FormSettings_generateMnemonicsCode" 
type="java.lang.Boolean" value="false"/>
+    <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" 
value="false"/>
     <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" 
value="2"/>
     <AuxValue name="FormSettings_listenerGenerationStyle" 
type="java.lang.Integer" value="0"/>
     <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" 
value="false"/>
@@ -66,7 +71,7 @@
               <EmptySpace min="-2" pref="22" max="-2" attributes="0"/>
               <Group type="103" groupAlignment="0" max="-2" attributes="0">
                   <Component id="schemaPanel" max="32767" attributes="1"/>
-                  <Component id="databasePanel" alignment="0" pref="255" 
max="32767" attributes="1"/>
+                  <Component id="databasePanel" alignment="0" max="32767" 
attributes="1"/>
               </Group>
               <EmptySpace min="-2" pref="6" max="-2" attributes="0"/>
               <Component id="progressPanel" max="32767" attributes="0"/>
@@ -137,7 +142,7 @@
               <Group type="102" attributes="0">
                   <EmptySpace max="-2" attributes="0"/>
                   <Group type="103" groupAlignment="0" attributes="0">
-                      <Component id="dbStatusLabel" alignment="0" pref="208" 
max="32767" attributes="0"/>
+                      <Component id="dbStatusLabel" alignment="0" max="32767" 
attributes="0"/>
                       <Group type="102" alignment="0" attributes="0">
                           <EmptySpace min="-2" pref="72" max="-2" 
attributes="0"/>
                           <Component id="connectButton" min="-2" max="-2" 
attributes="0"/>
@@ -146,7 +151,7 @@
                       <Group type="102" alignment="1" attributes="0">
                           <Component id="passwordLabel" min="-2" max="-2" 
attributes="0"/>
                           <EmptySpace max="-2" attributes="0"/>
-                          <Component id="passwordText" pref="136" max="32767" 
attributes="1"/>
+                          <Component id="passwordText" max="32767" 
attributes="1"/>
                       </Group>
                       <Group type="102" alignment="0" attributes="0">
                           <Group type="103" groupAlignment="0" attributes="0">
@@ -155,8 +160,8 @@
                           </Group>
                           <EmptySpace min="-2" pref="44" max="-2" 
attributes="0"/>
                           <Group type="103" groupAlignment="0" attributes="0">
-                              <Component id="userText" alignment="0" 
pref="136" max="32767" attributes="1"/>
-                              <Component id="portText" alignment="0" 
pref="136" max="32767" attributes="1"/>
+                              <Component id="userText" alignment="0" 
max="32767" attributes="1"/>
+                              <Component id="portText" alignment="0" 
max="32767" attributes="1"/>
                           </Group>
                       </Group>
                       <Group type="102" alignment="0" attributes="0">
@@ -164,7 +169,7 @@
                           <EmptySpace min="-2" pref="34" max="-2" 
attributes="0"/>
                           <Group type="103" groupAlignment="0" attributes="0">
                               <Component id="dbTypeButton" alignment="0" 
min="-2" max="-2" attributes="0"/>
-                              <Component id="serverText" alignment="0" 
pref="136" max="32767" attributes="1"/>
+                              <Component id="serverText" alignment="0" 
max="32767" attributes="1"/>
                           </Group>
                       </Group>
                   </Group>
@@ -294,28 +299,25 @@
                           <EmptySpace max="-2" attributes="0"/>
                       </Group>
                       <Group type="102" alignment="0" attributes="0">
-                          <Component id="schema15Radio" min="-2" max="-2" 
attributes="0"/>
-                          <EmptySpace pref="115" max="32767" attributes="0"/>
-                      </Group>
-                      <Group type="102" alignment="0" attributes="0">
-                          <Component id="schema14Radio" min="-2" max="-2" 
attributes="0"/>
-                          <EmptySpace pref="187" max="32767" attributes="0"/>
-                      </Group>
-                      <Group type="102" alignment="0" attributes="0">
-                          <Component id="schemaLabel" min="-2" max="-2" 
attributes="0"/>
-                          <EmptySpace pref="132" max="32767" attributes="0"/>
-                      </Group>
-                      <Group type="102" alignment="0" attributes="0">
                           <Group type="103" groupAlignment="0" attributes="0">
                               <Component id="prefixLabel" alignment="0" 
min="-2" max="-2" attributes="0"/>
                               <Component id="dbnameLabel" alignment="0" 
min="-2" max="-2" attributes="0"/>
                           </Group>
                           <EmptySpace max="-2" attributes="0"/>
                           <Group type="103" groupAlignment="0" attributes="0">
-                              <Component id="dbnameText" pref="90" max="32767" 
attributes="0"/>
+                              <Component id="dbnameText" pref="104" 
max="32767" attributes="0"/>
                               <Component id="prefixText" alignment="0" 
pref="90" max="32767" attributes="0"/>
                           </Group>
                           <EmptySpace min="-2" pref="105" max="-2" 
attributes="0"/>
+                      </Group>
+                      <Group type="102" attributes="0">
+                          <Group type="103" groupAlignment="0" attributes="0">
+                              <Component id="schema15Radio" alignment="0" 
min="-2" max="-2" attributes="0"/>
+                              <Component id="schema14Radio" alignment="0" 
min="-2" max="-2" attributes="0"/>
+                              <Component id="schemaLabel" alignment="0" 
min="-2" max="-2" attributes="0"/>
+                              <Component id="schema1_25Radio" alignment="0" 
min="-2" max="-2" attributes="0"/>
+                          </Group>
+                          <EmptySpace max="32767" attributes="0"/>
                       </Group>
                   </Group>
               </Group>
@@ -330,6 +332,8 @@
                   <Component id="schema14Radio" min="-2" max="-2" 
attributes="0"/>
                   <EmptySpace max="-2" attributes="0"/>
                   <Component id="schema15Radio" min="-2" max="-2" 
attributes="0"/>
+                  <EmptySpace max="-2" attributes="0"/>
+                  <Component id="schema1_25Radio" min="-2" max="-2" 
attributes="0"/>
                   <EmptySpace min="-2" pref="18" max="-2" attributes="0"/>
                   <Group type="103" groupAlignment="3" attributes="0">
                       <Component id="prefixLabel" alignment="3" min="-2" 
max="-2" attributes="0"/>
@@ -340,7 +344,7 @@
                       <Component id="dbnameLabel" alignment="3" min="-2" 
max="-2" attributes="0"/>
                       <Component id="dbnameText" alignment="3" min="-2" 
max="-2" attributes="0"/>
                   </Group>
-                  <EmptySpace pref="27" max="32767" attributes="0"/>
+                  <EmptySpace max="32767" attributes="0"/>
                   <Component id="schemaStatusLabel" min="-2" max="-2" 
attributes="0"/>
                   <EmptySpace max="-2" attributes="0"/>
               </Group>
@@ -377,7 +381,6 @@
             <Property name="buttonGroup" type="javax.swing.ButtonGroup" 
editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor">
               <ComponentRef name="schemaRadios"/>
             </Property>
-            <Property name="selected" type="boolean" value="true"/>
             <Property name="text" type="java.lang.String" value="1.5 (page, 
revision, text)"/>
             <Property name="border" type="javax.swing.border.Border" 
editor="org.netbeans.modules.form.editors2.BorderEditor">
               <Border 
info="org.netbeans.modules.form.compat2.border.EmptyBorderInfo">
@@ -390,6 +393,26 @@
           </Properties>
           <Events>
             <EventHandler event="actionPerformed" 
listener="java.awt.event.ActionListener" 
parameters="java.awt.event.ActionEvent" handler="schema15RadioActionPerformed"/>
+          </Events>
+        </Component>
+        <Component class="javax.swing.JRadioButton" name="schema1_25Radio">
+          <Properties>
+            <Property name="buttonGroup" type="javax.swing.ButtonGroup" 
editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor">
+              <ComponentRef name="schemaRadios"/>
+            </Property>
+            <Property name="selected" type="boolean" value="true"/>
+            <Property name="text" type="java.lang.String" value="1.25 (page, 
revision, text)"/>
+            <Property name="border" type="javax.swing.border.Border" 
editor="org.netbeans.modules.form.editors2.BorderEditor">
+              <Border 
info="org.netbeans.modules.form.compat2.border.EmptyBorderInfo">
+                <EmptyBorder bottom="0" left="0" right="0" top="0"/>
+              </Border>
+            </Property>
+            <Property name="margin" type="java.awt.Insets" 
editor="org.netbeans.beaninfo.editors.InsetsEditor">
+              <Insets value="[0, 0, 0, 0]"/>
+            </Property>
+          </Properties>
+          <Events>
+            <EventHandler event="actionPerformed" 
listener="java.awt.event.ActionListener" 
parameters="java.awt.event.ActionEvent" 
handler="onSchema1_25RadioActionPerformed"/>
           </Events>
         </Component>
         <Component class="javax.swing.JLabel" name="prefixLabel">
@@ -441,7 +464,7 @@
                       <Component id="progressLabel" alignment="3" min="-2" 
max="-2" attributes="0"/>
                       <Component id="startButton" alignment="3" min="-2" 
max="-2" attributes="0"/>
                   </Group>
-                  <EmptySpace pref="13" max="32767" attributes="0"/>
+                  <EmptySpace pref="10" max="32767" attributes="0"/>
               </Group>
           </Group>
         </DimensionLayout>
diff --git a/src/org/mediawiki/dumper/gui/DumperWindowForm.java 
b/src/org/mediawiki/dumper/gui/DumperWindowForm.java
index 97bebf6..25d2afd 100644
--- a/src/org/mediawiki/dumper/gui/DumperWindowForm.java
+++ b/src/org/mediawiki/dumper/gui/DumperWindowForm.java
@@ -27,8 +27,9 @@
         * WARNING: Do NOT modify this code. The content of this method is
         * always regenerated by the Form Editor.
         */
-    // <editor-fold defaultstate="collapsed" desc=" Generated Code 
">//GEN-BEGIN:initComponents
+    // <editor-fold defaultstate="collapsed" desc="Generated 
Code">//GEN-BEGIN:initComponents
     private void initComponents() {
+
         schemaRadios = new javax.swing.ButtonGroup();
         filePanel = new javax.swing.JPanel();
         browseButton = new javax.swing.JButton();
@@ -49,6 +50,7 @@
         schemaLabel = new javax.swing.JLabel();
         schema14Radio = new javax.swing.JRadioButton();
         schema15Radio = new javax.swing.JRadioButton();
+        schema1_25Radio = new javax.swing.JRadioButton();
         prefixLabel = new javax.swing.JLabel();
         prefixText = new javax.swing.JTextField();
         dbnameLabel = new javax.swing.JLabel();
@@ -63,6 +65,7 @@
 
         setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
         setTitle("MediaWiki data dump importer");
+
         browseButton.setText("Browse...");
         browseButton.addActionListener(new java.awt.event.ActionListener() {
             public void actionPerformed(java.awt.event.ActionEvent evt) {
@@ -99,6 +102,7 @@
         );
 
         
databasePanel.setBorder(javax.swing.BorderFactory.createTitledBorder("Database"));
+
         serverLabel.setText("Server");
 
         serverText.setText("localhost");
@@ -137,7 +141,7 @@
             .add(databasePanelLayout.createSequentialGroup()
                 .addContainerGap()
                 
.add(databasePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
-                    .add(dbStatusLabel, 
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 208, Short.MAX_VALUE)
+                    .add(dbStatusLabel, 
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                     .add(databasePanelLayout.createSequentialGroup()
                         .add(72, 72, 72)
                         .add(connectButton)
@@ -145,21 +149,21 @@
                     .add(org.jdesktop.layout.GroupLayout.TRAILING, 
databasePanelLayout.createSequentialGroup()
                         .add(passwordLabel)
                         
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
-                        .add(passwordText, 
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 136, Short.MAX_VALUE))
+                        .add(passwordText))
                     .add(databasePanelLayout.createSequentialGroup()
                         
.add(databasePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                             .add(userLabel)
                             .add(portLabel))
                         .add(44, 44, 44)
                         
.add(databasePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
-                            .add(userText, 
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 136, Short.MAX_VALUE)
-                            .add(portText, 
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 136, Short.MAX_VALUE)))
+                            .add(userText)
+                            .add(portText)))
                     .add(databasePanelLayout.createSequentialGroup()
                         .add(serverLabel)
                         .add(34, 34, 34)
                         
.add(databasePanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                             .add(dbTypeButton, 
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
-                            .add(serverText, 
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 136, Short.MAX_VALUE))))
+                            .add(serverText))))
                 .addContainerGap())
         );
         databasePanelLayout.setVerticalGroup(
@@ -191,6 +195,7 @@
         );
 
         
schemaPanel.setBorder(javax.swing.BorderFactory.createTitledBorder("MediaWiki 
schema"));
+
         schemaLabel.setText("Table layout for version");
 
         schemaRadios.add(schema14Radio);
@@ -204,13 +209,23 @@
         });
 
         schemaRadios.add(schema15Radio);
-        schema15Radio.setSelected(true);
         schema15Radio.setText("1.5 (page, revision, text)");
         schema15Radio.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 
0, 0, 0));
         schema15Radio.setMargin(new java.awt.Insets(0, 0, 0, 0));
         schema15Radio.addActionListener(new java.awt.event.ActionListener() {
             public void actionPerformed(java.awt.event.ActionEvent evt) {
                 schema15RadioActionPerformed(evt);
+            }
+        });
+
+        schemaRadios.add(schema1_25Radio);
+        schema1_25Radio.setSelected(true);
+        schema1_25Radio.setText("1.25 (page, revision, text)");
+        
schema1_25Radio.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 
0));
+        schema1_25Radio.setMargin(new java.awt.Insets(0, 0, 0, 0));
+        schema1_25Radio.addActionListener(new java.awt.event.ActionListener() {
+            public void actionPerformed(java.awt.event.ActionEvent evt) {
+                onSchema1_25RadioActionPerformed(evt);
             }
         });
 
@@ -238,23 +253,21 @@
                         .add(schemaStatusLabel, 
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 269, Short.MAX_VALUE)
                         .addContainerGap())
                     .add(schemaPanelLayout.createSequentialGroup()
-                        .add(schema15Radio)
-                        .addContainerGap(115, Short.MAX_VALUE))
-                    .add(schemaPanelLayout.createSequentialGroup()
-                        .add(schema14Radio)
-                        .addContainerGap(187, Short.MAX_VALUE))
-                    .add(schemaPanelLayout.createSequentialGroup()
-                        .add(schemaLabel)
-                        .addContainerGap(132, Short.MAX_VALUE))
-                    .add(schemaPanelLayout.createSequentialGroup()
                         
.add(schemaPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                             .add(prefixLabel)
                             .add(dbnameLabel))
                         
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                         
.add(schemaPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
-                            .add(dbnameText, 
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 90, Short.MAX_VALUE)
+                            .add(dbnameText, 
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 104, Short.MAX_VALUE)
                             .add(prefixText, 
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 90, Short.MAX_VALUE))
-                        .add(105, 105, 105))))
+                        .add(105, 105, 105))
+                    .add(schemaPanelLayout.createSequentialGroup()
+                        
.add(schemaPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
+                            .add(schema15Radio)
+                            .add(schema14Radio)
+                            .add(schemaLabel)
+                            .add(schema1_25Radio))
+                        
.addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 
Short.MAX_VALUE))))
         );
         schemaPanelLayout.setVerticalGroup(
             
schemaPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
@@ -265,6 +278,8 @@
                 .add(schema14Radio)
                 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                 .add(schema15Radio)
+                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
+                .add(schema1_25Radio)
                 .add(18, 18, 18)
                 
.add(schemaPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                     .add(prefixLabel)
@@ -273,7 +288,7 @@
                 
.add(schemaPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                     .add(dbnameLabel)
                     .add(dbnameText, 
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 
org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
-                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 27, 
Short.MAX_VALUE)
+                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                 .add(schemaStatusLabel)
                 .addContainerGap())
         );
@@ -305,17 +320,17 @@
                 
.add(progressPanelLayout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                     .add(progressLabel)
                     .add(startButton))
-                .addContainerGap(13, Short.MAX_VALUE))
+                .addContainerGap(10, Short.MAX_VALUE))
         );
 
         fileMenu.setText("File");
+
         quitItem.setText("Quit");
         quitItem.addActionListener(new java.awt.event.ActionListener() {
             public void actionPerformed(java.awt.event.ActionEvent evt) {
                 quitItemActionPerformed(evt);
             }
         });
-
         fileMenu.add(quitItem);
 
         mainMenuBar.add(fileMenu);
@@ -345,11 +360,12 @@
                 .add(22, 22, 22)
                 
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false)
                     .add(schemaPanel, 
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
-                    .add(databasePanel, 
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 255, Short.MAX_VALUE))
+                    .add(databasePanel, 
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                 .add(6, 6, 6)
                 .add(progressPanel, 
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 
org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                 .addContainerGap())
         );
+
         pack();
     }// </editor-fold>//GEN-END:initComponents
 
@@ -388,7 +404,7 @@
        private void quitItemActionPerformed(java.awt.event.ActionEvent evt) 
{//GEN-FIRST:event_quitItemActionPerformed
                onQuitItemActionPerformed(evt); // i hate you, netbeans gui 
editor
        }//GEN-LAST:event_quitItemActionPerformed
-       
+
        /**
         * @param args the command line arguments
         */
@@ -423,6 +439,7 @@
     protected javax.swing.JMenuItem quitItem;
     protected javax.swing.JRadioButton schema14Radio;
     protected javax.swing.JRadioButton schema15Radio;
+    protected javax.swing.JRadioButton schema1_25Radio;
     protected javax.swing.JLabel schemaLabel;
     protected javax.swing.JPanel schemaPanel;
     protected javax.swing.ButtonGroup schemaRadios;
@@ -462,6 +479,11 @@
 // TODO add your handling code here:
        }
 
+    protected void onSchema1_25RadioActionPerformed(java.awt.event.ActionEvent 
evt) {
+        // TODO add your handling code here:
+    }
+       
+
     public javax.swing.JButton getBrowseButton() {
         return browseButton;
     }

-- 
To view, visit https://gerrit.wikimedia.org/r/258501
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Icba76c1e36c55917feeb037343d2b060662134d4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/tools/mwdumper
Gerrit-Branch: master
Gerrit-Owner: Brion VIBBER <[email protected]>
Gerrit-Reviewer: Brion VIBBER <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to