You can subscribe to this list here.
| 2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
(4) |
Sep
|
Oct
|
Nov
|
Dec
|
|---|
|
From: <yh...@us...> - 2010-08-28 10:35:02
|
Revision: 6
http://netbeansjavasql.svn.sourceforge.net/netbeansjavasql/?rev=6&view=rev
Author: yhoppe
Date: 2010-08-28 10:34:54 +0000 (Sat, 28 Aug 2010)
Log Message:
-----------
Bugfixes and various improvements
Updated Gui
Updated Icon
Modified Paths:
--------------
trunk/manifest.mf
trunk/src/de/acyrance/nb/sqlgenerator/Bundle.properties
trunk/src/de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties
trunk/src/de/acyrance/nb/sqlgenerator/Configuration/GeneratorConfiguration.java
trunk/src/de/acyrance/nb/sqlgenerator/Configuration/SQLGeneratorOptionsPanel.form
trunk/src/de/acyrance/nb/sqlgenerator/Configuration/SQLGeneratorOptionsPanel.java
trunk/src/de/acyrance/nb/sqlgenerator/SqlGeneratorAction.java
trunk/src/de/acyrance/nb/sqlgenerator/connect.png
Modified: trunk/manifest.mf
===================================================================
--- trunk/manifest.mf 2010-08-28 09:54:11 UTC (rev 5)
+++ trunk/manifest.mf 2010-08-28 10:34:54 UTC (rev 6)
@@ -1,6 +1,6 @@
Manifest-Version: 1.0
OpenIDE-Module: de.acyrance.nb.sqlgenerator
-OpenIDE-Module-Implementation-Version: 5
+OpenIDE-Module-Implementation-Version: 6
OpenIDE-Module-Layer: de/acyrance/nb/sqlgenerator/layer.xml
OpenIDE-Module-Localizing-Bundle: de/acyrance/nb/sqlgenerator/Bundle.properties
OpenIDE-Module-Requires: org.openide.windows.WindowManager
Modified: trunk/src/de/acyrance/nb/sqlgenerator/Bundle.properties
===================================================================
--- trunk/src/de/acyrance/nb/sqlgenerator/Bundle.properties 2010-08-28 09:54:11 UTC (rev 5)
+++ trunk/src/de/acyrance/nb/sqlgenerator/Bundle.properties 2010-08-28 10:34:54 UTC (rev 6)
@@ -1,6 +1,6 @@
CTL_SqlGeneratorAction=SQL-Generator
OpenIDE-Module-Display-Category=Tools
OpenIDE-Module-Long-Description=\
- Automatically generates sql code and java database methods from a java class.
+ Automatically generates sql code and java database methods from the variables of a java class.
OpenIDE-Module-Name=Java SQL Generator
OpenIDE-Module-Short-Description=Generates SQL tables and java database methods from a java class
Modified: trunk/src/de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties
===================================================================
--- trunk/src/de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties 2010-08-28 09:54:11 UTC (rev 5)
+++ trunk/src/de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties 2010-08-28 10:34:54 UTC (rev 6)
@@ -4,7 +4,7 @@
SQLGeneratorOptionsPanel.panel_mysql.TabConstraints.tabTitle=MySQL
SQLGeneratorOptionsPanel.panel_postgre.TabConstraints.tabTitle=PostgreSQL
SQLGeneratorOptionsPanel.check_ifnotexists1.text=Add if not exists to Create table
-SQLGeneratorOptionsPanel.check_varstolowercase.text=Complete to lower case
+SQLGeneratorOptionsPanel.check_varstolowercase.text=Completely to lower case
SQLGeneratorOptionsPanel.jLabel1.text=Default SQL Generation:
SQLGeneratorOptionsPanel.jLabel2.text=String & char[]:
SQLGeneratorOptionsPanel.field_mysqlstring.text=VARCHAR(255)
Modified: trunk/src/de/acyrance/nb/sqlgenerator/Configuration/GeneratorConfiguration.java
===================================================================
--- trunk/src/de/acyrance/nb/sqlgenerator/Configuration/GeneratorConfiguration.java 2010-08-28 09:54:11 UTC (rev 5)
+++ trunk/src/de/acyrance/nb/sqlgenerator/Configuration/GeneratorConfiguration.java 2010-08-28 10:34:54 UTC (rev 6)
@@ -26,9 +26,10 @@
import org.openide.util.NbPreferences;
/**
- *
+ * deprecated Is replaced by NBPreferences in most parts..
* @author Yves Hoppe <info at yves-hoppe.de>
*/
+
public class GeneratorConfiguration {
public static final int MYSQL = 0;
Modified: trunk/src/de/acyrance/nb/sqlgenerator/Configuration/SQLGeneratorOptionsPanel.form
===================================================================
--- trunk/src/de/acyrance/nb/sqlgenerator/Configuration/SQLGeneratorOptionsPanel.form 2010-08-28 09:54:11 UTC (rev 5)
+++ trunk/src/de/acyrance/nb/sqlgenerator/Configuration/SQLGeneratorOptionsPanel.form 2010-08-28 10:34:54 UTC (rev 6)
@@ -16,12 +16,12 @@
<Layout>
<DimensionLayout dim="0">
<Group type="103" groupAlignment="0" attributes="0">
- <Component id="pane_options" alignment="0" pref="407" max="32767" attributes="0"/>
+ <Component id="pane_options" alignment="1" pref="407" max="32767" attributes="0"/>
</Group>
</DimensionLayout>
<DimensionLayout dim="1">
<Group type="103" groupAlignment="0" attributes="0">
- <Component id="pane_options" alignment="0" pref="631" max="32767" attributes="0"/>
+ <Component id="pane_options" alignment="0" pref="518" max="32767" attributes="0"/>
</Group>
</DimensionLayout>
</Layout>
@@ -45,31 +45,18 @@
<DimensionLayout dim="0">
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" attributes="0">
+ <EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
- <Group type="102" attributes="0">
- <EmptySpace max="-2" attributes="0"/>
- <Group type="103" groupAlignment="0" attributes="0">
- <Group type="102" alignment="0" attributes="0">
- <Component id="jLabel1" min="-2" max="-2" attributes="0"/>
- <EmptySpace pref="114" max="32767" attributes="0"/>
- <Component id="combo_defaultgeneration" min="-2" max="-2" attributes="0"/>
- </Group>
- <Component id="check_ifnotexists1" alignment="0" min="-2" max="-2" attributes="0"/>
- <Component id="check_generatejavadoc" alignment="0" min="-2" max="-2" attributes="0"/>
- </Group>
- </Group>
<Group type="102" alignment="0" attributes="0">
- <EmptySpace max="-2" attributes="0"/>
- <Component id="check_addnotnull" min="-2" max="-2" attributes="0"/>
+ <Component id="jLabel1" min="-2" max="-2" attributes="0"/>
+ <EmptySpace pref="114" max="32767" attributes="0"/>
+ <Component id="combo_defaultgeneration" min="-2" max="-2" attributes="0"/>
</Group>
- <Group type="102" alignment="0" attributes="0">
- <EmptySpace max="-2" attributes="0"/>
- <Component id="panel_varoptions" max="32767" attributes="0"/>
- </Group>
- <Group type="102" alignment="0" attributes="0">
- <EmptySpace max="-2" attributes="0"/>
- <Component id="panel_mysqlcode" max="32767" attributes="0"/>
- </Group>
+ <Component id="check_ifnotexists1" alignment="0" min="-2" max="-2" attributes="0"/>
+ <Component id="check_generatejavadoc" alignment="0" min="-2" max="-2" attributes="0"/>
+ <Component id="check_addnotnull" alignment="0" min="-2" max="-2" attributes="0"/>
+ <Component id="panel_varoptions" alignment="0" max="32767" attributes="0"/>
+ <Component id="panel_mysqlcode" alignment="0" max="32767" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
</Group>
@@ -93,7 +80,7 @@
<Component id="panel_varoptions" min="-2" max="-2" attributes="0"/>
<EmptySpace type="unrelated" max="-2" attributes="0"/>
<Component id="panel_mysqlcode" min="-2" max="-2" attributes="0"/>
- <EmptySpace pref="138" max="32767" attributes="0"/>
+ <EmptySpace pref="25" max="32767" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
@@ -416,7 +403,6 @@
<EmptySpace pref="149" max="32767" attributes="0"/>
<Component id="field_mysqltimestamp" min="-2" max="-2" attributes="0"/>
</Group>
- <Component id="jSeparator1" alignment="0" pref="371" max="32767" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
</Group>
@@ -485,9 +471,7 @@
<Component id="field_mysqlboolean" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="jLabel12" alignment="3" min="-2" max="-2" attributes="0"/>
</Group>
- <EmptySpace type="unrelated" max="-2" attributes="0"/>
- <Component id="jSeparator1" min="-2" pref="15" max="-2" attributes="0"/>
- <EmptySpace min="-2" pref="185" max="-2" attributes="0"/>
+ <EmptySpace min="-2" pref="212" max="-2" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
@@ -680,8 +664,6 @@
</Property>
</Properties>
</Component>
- <Component class="javax.swing.JSeparator" name="jSeparator1">
- </Component>
<Component class="javax.swing.JLabel" name="jLabel14">
<Properties>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
@@ -778,7 +760,6 @@
<EmptySpace pref="149" max="32767" attributes="0"/>
<Component id="field_derbytimestamp" min="-2" max="-2" attributes="0"/>
</Group>
- <Component id="jSeparator3" alignment="1" pref="371" max="32767" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
</Group>
@@ -847,9 +828,7 @@
<Component id="field_derbyboolean" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="jLabel32" alignment="3" min="-2" max="-2" attributes="0"/>
</Group>
- <EmptySpace type="unrelated" max="-2" attributes="0"/>
- <Component id="jSeparator3" min="-2" pref="20" max="-2" attributes="0"/>
- <EmptySpace min="-2" pref="180" max="-2" attributes="0"/>
+ <EmptySpace min="-2" pref="212" max="-2" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
@@ -1059,8 +1038,6 @@
</Property>
</Properties>
</Component>
- <Component class="javax.swing.JSeparator" name="jSeparator3">
- </Component>
</SubComponents>
</Container>
<Container class="javax.swing.JPanel" name="panel_postgre">
@@ -1140,7 +1117,6 @@
<EmptySpace pref="149" max="32767" attributes="0"/>
<Component id="field_postgresqltimestamp" min="-2" max="-2" attributes="0"/>
</Group>
- <Component id="jSeparator2" alignment="0" pref="371" max="32767" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
</Group>
@@ -1209,9 +1185,7 @@
<Component id="field_postgresqlboolean" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="jLabel26" alignment="3" min="-2" max="-2" attributes="0"/>
</Group>
- <EmptySpace type="unrelated" max="-2" attributes="0"/>
- <Component id="jSeparator2" min="-2" pref="15" max="-2" attributes="0"/>
- <EmptySpace min="-2" pref="185" max="-2" attributes="0"/>
+ <EmptySpace min="-2" pref="212" max="-2" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
@@ -1255,8 +1229,6 @@
</Property>
</Properties>
</Component>
- <Component class="javax.swing.JSeparator" name="jSeparator2">
- </Component>
<Component class="javax.swing.JLabel" name="jLabel19">
<Properties>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
Modified: trunk/src/de/acyrance/nb/sqlgenerator/Configuration/SQLGeneratorOptionsPanel.java
===================================================================
--- trunk/src/de/acyrance/nb/sqlgenerator/Configuration/SQLGeneratorOptionsPanel.java 2010-08-28 09:54:11 UTC (rev 5)
+++ trunk/src/de/acyrance/nb/sqlgenerator/Configuration/SQLGeneratorOptionsPanel.java 2010-08-28 10:34:54 UTC (rev 6)
@@ -84,7 +84,6 @@
field_mysqlyear = new javax.swing.JTextField();
jLabel12 = new javax.swing.JLabel();
field_mysqlboolean = new javax.swing.JTextField();
- jSeparator1 = new javax.swing.JSeparator();
jLabel14 = new javax.swing.JLabel();
field_mysqltimestamp = new javax.swing.JTextField();
panel_derby = new javax.swing.JPanel();
@@ -112,14 +111,12 @@
jLabel36 = new javax.swing.JLabel();
jLabel37 = new javax.swing.JLabel();
jLabel38 = new javax.swing.JLabel();
- jSeparator3 = new javax.swing.JSeparator();
panel_postgre = new javax.swing.JPanel();
field_postgresqltimestamp = new javax.swing.JTextField();
jLabel15 = new javax.swing.JLabel();
jLabel16 = new javax.swing.JLabel();
jLabel17 = new javax.swing.JLabel();
jLabel18 = new javax.swing.JLabel();
- jSeparator2 = new javax.swing.JSeparator();
jLabel19 = new javax.swing.JLabel();
jLabel21 = new javax.swing.JLabel();
field_postgresqldouble = new javax.swing.JTextField();
@@ -294,25 +291,17 @@
panel_basicLayout.setHorizontalGroup(
panel_basicLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(panel_basicLayout.createSequentialGroup()
+ .addContainerGap()
.addGroup(panel_basicLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(panel_basicLayout.createSequentialGroup()
- .addContainerGap()
- .addGroup(panel_basicLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addGroup(panel_basicLayout.createSequentialGroup()
- .addComponent(jLabel1)
- .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 114, Short.MAX_VALUE)
- .addComponent(combo_defaultgeneration, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
- .addComponent(check_ifnotexists1)
- .addComponent(check_generatejavadoc)))
- .addGroup(panel_basicLayout.createSequentialGroup()
- .addContainerGap()
- .addComponent(check_addnotnull))
- .addGroup(panel_basicLayout.createSequentialGroup()
- .addContainerGap()
- .addComponent(panel_varoptions, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
- .addGroup(panel_basicLayout.createSequentialGroup()
- .addContainerGap()
- .addComponent(panel_mysqlcode, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
+ .addComponent(jLabel1)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 114, Short.MAX_VALUE)
+ .addComponent(combo_defaultgeneration, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addComponent(check_ifnotexists1)
+ .addComponent(check_generatejavadoc)
+ .addComponent(check_addnotnull)
+ .addComponent(panel_varoptions, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .addComponent(panel_mysqlcode, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addContainerGap())
);
panel_basicLayout.setVerticalGroup(
@@ -332,7 +321,7 @@
.addComponent(panel_varoptions, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(panel_mysqlcode, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
- .addContainerGap(138, Short.MAX_VALUE))
+ .addContainerGap(25, Short.MAX_VALUE))
);
pane_options.addTab(org.openide.util.NbBundle.getMessage(SQLGeneratorOptionsPanel.class, "SQLGeneratorOptionsPanel.panel_basic.TabConstraints.tabTitle"), panel_basic); // NOI18N
@@ -451,8 +440,7 @@
.addGroup(panel_mysqlLayout.createSequentialGroup()
.addComponent(jLabel14)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 149, Short.MAX_VALUE)
- .addComponent(field_mysqltimestamp, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
- .addComponent(jSeparator1, javax.swing.GroupLayout.DEFAULT_SIZE, 371, Short.MAX_VALUE))
+ .addComponent(field_mysqltimestamp, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addContainerGap())
);
panel_mysqlLayout.setVerticalGroup(
@@ -506,9 +494,7 @@
.addGroup(panel_mysqlLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(field_mysqlboolean, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel12))
- .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
- .addComponent(jSeparator1, javax.swing.GroupLayout.PREFERRED_SIZE, 15, javax.swing.GroupLayout.PREFERRED_SIZE)
- .addGap(185, 185, 185))
+ .addGap(212, 212, 212))
);
pane_options.addTab(org.openide.util.NbBundle.getMessage(SQLGeneratorOptionsPanel.class, "SQLGeneratorOptionsPanel.panel_mysql.TabConstraints.tabTitle"), panel_mysql); // NOI18N
@@ -627,8 +613,7 @@
.addGroup(panel_derbyLayout.createSequentialGroup()
.addComponent(jLabel34)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 149, Short.MAX_VALUE)
- .addComponent(field_derbytimestamp, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
- .addComponent(jSeparator3, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 371, Short.MAX_VALUE))
+ .addComponent(field_derbytimestamp, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addContainerGap())
);
panel_derbyLayout.setVerticalGroup(
@@ -682,9 +667,7 @@
.addGroup(panel_derbyLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(field_derbyboolean, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel32))
- .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
- .addComponent(jSeparator3, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
- .addGap(180, 180, 180))
+ .addGap(212, 212, 212))
);
pane_options.addTab(org.openide.util.NbBundle.getMessage(SQLGeneratorOptionsPanel.class, "SQLGeneratorOptionsPanel.panel_derby.TabConstraints.tabTitle"), panel_derby); // NOI18N
@@ -803,8 +786,7 @@
.addGroup(panel_postgreLayout.createSequentialGroup()
.addComponent(jLabel18)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 149, Short.MAX_VALUE)
- .addComponent(field_postgresqltimestamp, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
- .addComponent(jSeparator2, javax.swing.GroupLayout.DEFAULT_SIZE, 371, Short.MAX_VALUE))
+ .addComponent(field_postgresqltimestamp, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addContainerGap())
);
panel_postgreLayout.setVerticalGroup(
@@ -858,9 +840,7 @@
.addGroup(panel_postgreLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(field_postgresqlboolean, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel26))
- .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
- .addComponent(jSeparator2, javax.swing.GroupLayout.PREFERRED_SIZE, 15, javax.swing.GroupLayout.PREFERRED_SIZE)
- .addGap(185, 185, 185))
+ .addGap(212, 212, 212))
);
pane_options.addTab(org.openide.util.NbBundle.getMessage(SQLGeneratorOptionsPanel.class, "SQLGeneratorOptionsPanel.panel_postgre.TabConstraints.tabTitle"), panel_postgre); // NOI18N
@@ -869,11 +849,11 @@
this.setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addComponent(pane_options, javax.swing.GroupLayout.DEFAULT_SIZE, 407, Short.MAX_VALUE)
+ .addComponent(pane_options, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 407, Short.MAX_VALUE)
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addComponent(pane_options, javax.swing.GroupLayout.DEFAULT_SIZE, 631, Short.MAX_VALUE)
+ .addComponent(pane_options, javax.swing.GroupLayout.DEFAULT_SIZE, 518, Short.MAX_VALUE)
);
}// </editor-fold>//GEN-END:initComponents
@@ -966,8 +946,8 @@
this.field_postgresqlboolean.setText(NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("postgresqlBoolean", "boolean"));
this.field_derbystring.setText(NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("derbyString", "VARCHAR(255)"));
- this.field_derbyint.setText(NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("derbyInt", "CHAR"));
- this.field_derbychar.setText(NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("derbyChar", "INTEGER"));
+ this.field_derbyint.setText(NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("derbyInt", "INTEGER"));
+ this.field_derbychar.setText(NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("derbyChar", "CHAR"));
this.field_derbyfloat.setText(NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("derbyFloat", "FLOAT"));
this.field_derbydouble.setText(NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("derbyDouble", "DOUBLE"));
this.field_derbylong.setText(NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("derbyLong", "BIGINT"));
@@ -979,35 +959,20 @@
this.field_derbyboolean.setText(NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("derbyBoolean", "SMALLINT(1)"));
}
+ /**
+ * TODO cleanup..
+ */
+
void store() {
NbPreferences.forModule(SQLGeneratorOptionsPanel.class).put("defaultGeneration", this.combo_defaultgeneration.getSelectedItem().toString());
- if(check_varstolowercase.isSelected())
- NbPreferences.forModule(SQLGeneratorOptionsPanel.class).putBoolean("basicVarstolowercase", true);
- else
- NbPreferences.forModule(SQLGeneratorOptionsPanel.class).putBoolean("basicVarstolowercase", false);
+ NbPreferences.forModule(SQLGeneratorOptionsPanel.class).putBoolean("basicVarstolowercase", check_varstolowercase.isSelected());
+ NbPreferences.forModule(SQLGeneratorOptionsPanel.class).putBoolean("basicCleanvars", check_cleanvars.isSelected());
+ NbPreferences.forModule(SQLGeneratorOptionsPanel.class).putBoolean("basicStripbeginningunderscore", check_stripfirstunderscore.isSelected());
+ NbPreferences.forModule(SQLGeneratorOptionsPanel.class).putBoolean("basicFirstchartolowercase", check_firstchartolowercase.isSelected());
+ NbPreferences.forModule(SQLGeneratorOptionsPanel.class).putBoolean("basicGeneratejavadoc", check_generatejavadoc.isSelected());
- if(check_cleanvars.isSelected())
- NbPreferences.forModule(SQLGeneratorOptionsPanel.class).putBoolean("basicCleanvars", true);
- else
- NbPreferences.forModule(SQLGeneratorOptionsPanel.class).putBoolean("basicCleanvars", false);
-
- if(check_stripfirstunderscore.isSelected())
- NbPreferences.forModule(SQLGeneratorOptionsPanel.class).putBoolean("basicStripbeginningunderscore", true);
- else
- NbPreferences.forModule(SQLGeneratorOptionsPanel.class).putBoolean("basicStripbeginningunderscore", false);
-
- if(check_firstchartolowercase.isSelected())
- NbPreferences.forModule(SQLGeneratorOptionsPanel.class).putBoolean("basicFirstchartolowercase", true);
- else
- NbPreferences.forModule(SQLGeneratorOptionsPanel.class).putBoolean("basicFirstchartolowercase", false);
-
- if(check_generatejavadoc.isSelected())
- NbPreferences.forModule(SQLGeneratorOptionsPanel.class).putBoolean("basicGeneratejavadoc", true);
- else
- NbPreferences.forModule(SQLGeneratorOptionsPanel.class).putBoolean("basicGeneratejavadoc", false);
-
NbPreferences.forModule(SQLGeneratorOptionsPanel.class).put("mysqlString", this.field_mysqlstring.getText());
NbPreferences.forModule(SQLGeneratorOptionsPanel.class).put("mysqlInt", this.field_mysqlint.getText());
NbPreferences.forModule(SQLGeneratorOptionsPanel.class).put("mysqlChar", this.field_mysqlchar.getText());
@@ -1020,31 +985,14 @@
NbPreferences.forModule(SQLGeneratorOptionsPanel.class).put("mysqlTimestamp", this.field_mysqltimestamp.getText());
NbPreferences.forModule(SQLGeneratorOptionsPanel.class).put("mysqlYear", this.field_mysqlyear.getText());
NbPreferences.forModule(SQLGeneratorOptionsPanel.class).put("mysqlBoolean", this.field_mysqlboolean.getText());
+ NbPreferences.forModule(SQLGeneratorOptionsPanel.class).putBoolean("Addnotnull", check_addnotnull.isSelected());
+
+ NbPreferences.forModule(SQLGeneratorOptionsPanel.class).put("codeModifier", this.field_codemodifier.getText());
+ NbPreferences.forModule(SQLGeneratorOptionsPanel.class).putBoolean("codeStatic", check_codestatic.isSelected());
- if(check_addnotnull.isSelected())
- NbPreferences.forModule(SQLGeneratorOptionsPanel.class).putBoolean("Addnotnull", true);
- else
- NbPreferences.forModule(SQLGeneratorOptionsPanel.class).putBoolean("Addnotnull", false);
+ NbPreferences.forModule(SQLGeneratorOptionsPanel.class).putBoolean("codeCloseconnection", check_codecloseconnection.isSelected());
+ NbPreferences.forModule(SQLGeneratorOptionsPanel.class).putBoolean("codeGeneratekeys", check_codegeneratekeys.isSelected());
-
- NbPreferences.forModule(SQLGeneratorOptionsPanel.class).put("codeModifier", this.field_codemodifier.getText());
-
- if(check_codestatic.isSelected())
- NbPreferences.forModule(SQLGeneratorOptionsPanel.class).putBoolean("codeStatic", true);
- else
- NbPreferences.forModule(SQLGeneratorOptionsPanel.class).putBoolean("codeStatic", false);
-
-
- if(check_codecloseconnection.isSelected())
- NbPreferences.forModule(SQLGeneratorOptionsPanel.class).putBoolean("codeCloseconnection", true);
- else
- NbPreferences.forModule(SQLGeneratorOptionsPanel.class).putBoolean("codeCloseconnection", false);
-
- if(check_codegeneratekeys.isSelected())
- NbPreferences.forModule(SQLGeneratorOptionsPanel.class).putBoolean("codeGeneratekeys", true);
- else
- NbPreferences.forModule(SQLGeneratorOptionsPanel.class).putBoolean("codeGeneratekeys", false);
-
NbPreferences.forModule(SQLGeneratorOptionsPanel.class).put("postgresqlString", this.field_postgresqlstring.getText());
NbPreferences.forModule(SQLGeneratorOptionsPanel.class).put("postgresqlInt", this.field_postgresqlint.getText());
NbPreferences.forModule(SQLGeneratorOptionsPanel.class).put("postgresqlChar", this.field_postgresqlchar.getText());
@@ -1165,9 +1113,6 @@
private javax.swing.JLabel jLabel7;
private javax.swing.JLabel jLabel8;
private javax.swing.JLabel jLabel9;
- private javax.swing.JSeparator jSeparator1;
- private javax.swing.JSeparator jSeparator2;
- private javax.swing.JSeparator jSeparator3;
private javax.swing.JTabbedPane pane_options;
private javax.swing.JPanel panel_basic;
private javax.swing.JPanel panel_derby;
Modified: trunk/src/de/acyrance/nb/sqlgenerator/SqlGeneratorAction.java
===================================================================
--- trunk/src/de/acyrance/nb/sqlgenerator/SqlGeneratorAction.java 2010-08-28 09:54:11 UTC (rev 5)
+++ trunk/src/de/acyrance/nb/sqlgenerator/SqlGeneratorAction.java 2010-08-28 10:34:54 UTC (rev 6)
@@ -26,6 +26,7 @@
import com.sun.source.tree.ClassTree;
import com.sun.source.util.TreePathScanner;
import de.acyrance.nb.sqlgenerator.Configuration.GeneratorConfiguration;
+import de.acyrance.nb.sqlgenerator.Configuration.SQLGeneratorOptionsPanel;
import de.acyrance.nb.sqlgenerator.Fields.CleanFields;
import de.acyrance.nb.sqlgenerator.Fields.FieldObj;
import de.acyrance.nb.sqlgenerator.Registry.SQLRegistry;
@@ -47,6 +48,7 @@
import org.openide.filesystems.FileObject;
import org.openide.loaders.DataObject;
import org.openide.util.Exceptions;
+import org.openide.util.NbPreferences;
public final class SqlGeneratorAction implements ActionListener {
@@ -143,7 +145,7 @@
SQLRegistry.uncleanedVars = vars;
- if(GeneratorConfiguration.CLEAN_VARS) {
+ if(NbPreferences.forModule(SQLGeneratorOptionsPanel.class).getBoolean("basicCleanvars", true)) {
// Should always be true
vars = CleanFields.cleanFields(vars);
}
Modified: trunk/src/de/acyrance/nb/sqlgenerator/connect.png
===================================================================
(Binary files differ)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <yh...@us...> - 2010-08-28 09:54:17
|
Revision: 5
http://netbeansjavasql.svn.sourceforge.net/netbeansjavasql/?rev=5&view=rev
Author: yhoppe
Date: 2010-08-28 09:54:11 +0000 (Sat, 28 Aug 2010)
Log Message:
-----------
Some bugfixes and updates. General clean up
Modified Paths:
--------------
trunk/src/de/acyrance/nb/sqlgenerator/Generators/Code/MySQLCodeGenerator.java
Modified: trunk/src/de/acyrance/nb/sqlgenerator/Generators/Code/MySQLCodeGenerator.java
===================================================================
--- trunk/src/de/acyrance/nb/sqlgenerator/Generators/Code/MySQLCodeGenerator.java 2010-08-28 09:31:50 UTC (rev 4)
+++ trunk/src/de/acyrance/nb/sqlgenerator/Generators/Code/MySQLCodeGenerator.java 2010-08-28 09:54:11 UTC (rev 5)
@@ -76,13 +76,13 @@
sql.append(NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("codeModifier", "public"));
sql.append(" static void ");
sql.append("deleteFrom");
- sql.append(tablename);
+ sql.append(tablename.substring(0, 1).toUpperCase()).append(tablename.substring(1));
sql.append("(Connection con, int keyId) throws SQLException {\n");
} else {
sql.append(NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("codeModifier", "public"));
sql.append(" void ");
sql.append("deleteFrom");
- sql.append(tablename);
+ sql.append(tablename.substring(0, 1).toUpperCase()).append(tablename.substring(1));
sql.append("(Connection con, int keyId) throws SQLException {\n");
}
@@ -144,7 +144,7 @@
sql.append(NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("codeModifier", "public"));
sql.append(" static boolean ");
sql.append("update");
- sql.append(tablename);
+ sql.append(tablename.substring(0, 1).toUpperCase()).append(tablename.substring(1));
sql.append("(Connection con, int keyId, ");
for(int i = 0; i < vars.length; i++)
{
@@ -163,7 +163,7 @@
if(i % 5 == 0)
{
- sql.append("\n");
+ sql.append("\n\t\t");
}
}
@@ -173,7 +173,7 @@
sql.append(NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("codeModifier", "public"));
sql.append(" boolean ");
sql.append("update");
- sql.append(tablename);
+ sql.append(tablename.substring(0, 1).toUpperCase()).append(tablename.substring(1));
sql.append("(Connection con, int keyId, ");
for(int i = 0; i < vars.length; i++)
{
@@ -192,7 +192,7 @@
if(i % 5 == 0)
{
- sql.append("\n");
+ sql.append("\n\t\t");
}
}
}
@@ -409,7 +409,7 @@
if(i % 5 == 0)
{
- sql.append("\n");
+ sql.append("\n\t\t");
}
}
@@ -464,7 +464,7 @@
sql.append(", ");
if(i % 6 == 0) {
- sql.append("\"\n + \"");
+ sql.append("\"\n\t\t + \"");
}
cnt++;
@@ -615,13 +615,13 @@
sql.append(NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("codeModifier", "public"));
sql.append(" static boolean ");
sql.append("createTable");
- sql.append(tablename);
+ sql.append(tablename.substring(0, 1).toUpperCase()).append(tablename.substring(1));
sql.append("(Connection con) throws SQLException {\n");
} else {
sql.append(NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("codeModifier", "public"));
sql.append(" boolean ");
sql.append("createTable");
- sql.append(tablename);
+ sql.append(tablename.substring(0, 1).toUpperCase()).append(tablename.substring(1));
sql.append("(Connection con) throws SQLException {\n");
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <yh...@us...> - 2010-08-28 09:31:56
|
Revision: 4
http://netbeansjavasql.svn.sourceforge.net/netbeansjavasql/?rev=4&view=rev
Author: yhoppe
Date: 2010-08-28 09:31:50 +0000 (Sat, 28 Aug 2010)
Log Message:
-----------
Some bugfixes and updates. General clean up
Modified Paths:
--------------
trunk/src/de/acyrance/nb/sqlgenerator/Generators/Code/MySQLCodeGenerator.java
trunk/src/de/acyrance/nb/sqlgenerator/Window/SQLGeneratorTopComponent.form
trunk/src/de/acyrance/nb/sqlgenerator/Window/SQLGeneratorTopComponent.java
Modified: trunk/src/de/acyrance/nb/sqlgenerator/Generators/Code/MySQLCodeGenerator.java
===================================================================
--- trunk/src/de/acyrance/nb/sqlgenerator/Generators/Code/MySQLCodeGenerator.java 2010-08-16 13:31:49 UTC (rev 3)
+++ trunk/src/de/acyrance/nb/sqlgenerator/Generators/Code/MySQLCodeGenerator.java 2010-08-28 09:31:50 UTC (rev 4)
@@ -45,7 +45,7 @@
csql.append(generateMySQLUpdate(vars, tablename, primary_key));
csql.append(generateMySQLDelete(vars, tablename, primary_key));
- return csql.toString();
+ return csql.toString().replaceAll("java.lang.String", "String"); // Should be moved, dirty solution..
}
/**
@@ -391,7 +391,7 @@
sql.append(NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("codeModifier", "public"));
sql.append(" static int ");
sql.append("insertInto");
- sql.append(tablename);
+ sql.append(tablename.substring(0, 1).toUpperCase()).append(tablename.substring(1));
sql.append("(Connection con, ");
for(int i = 0; i < vars.length; i++)
{
@@ -419,7 +419,7 @@
sql.append(NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("codeModifier", "public"));
sql.append(" int ");
sql.append("insertInto");
- sql.append(tablename);
+ sql.append(tablename.substring(0, 1).toUpperCase()).append(tablename.substring(1));
sql.append("(Connection con, ");
for(int i = 0; i < vars.length; i++)
{
@@ -462,6 +462,10 @@
sql.append(name);
if(i != vars.length -1)
sql.append(", ");
+
+ if(i % 6 == 0) {
+ sql.append("\"\n + \"");
+ }
cnt++;
}
Modified: trunk/src/de/acyrance/nb/sqlgenerator/Window/SQLGeneratorTopComponent.form
===================================================================
--- trunk/src/de/acyrance/nb/sqlgenerator/Window/SQLGeneratorTopComponent.form 2010-08-16 13:31:49 UTC (rev 3)
+++ trunk/src/de/acyrance/nb/sqlgenerator/Window/SQLGeneratorTopComponent.form 2010-08-28 09:31:50 UTC (rev 4)
@@ -1,6 +1,10 @@
<?xml version="1.1" encoding="UTF-8" ?>
<Form version="1.5" maxVersion="1.7" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
+ <NonVisualComponents>
+ <Component class="javax.swing.ButtonGroup" name="grpSQL">
+ </Component>
+ </NonVisualComponents>
<AuxValues>
<AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="1"/>
<AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
@@ -24,8 +28,8 @@
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="0" attributes="0">
<Component id="generatorToolbar" min="-2" max="-2" attributes="0"/>
- <EmptySpace max="-2" attributes="0"/>
- <Component id="panel_sqlcode" max="32767" attributes="0"/>
+ <EmptySpace min="-2" pref="0" max="-2" attributes="0"/>
+ <Component id="panel_sqlcode" pref="506" max="32767" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
@@ -51,6 +55,9 @@
</Component>
<Component class="javax.swing.JToggleButton" name="btnSQL">
<Properties>
+ <Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor">
+ <ComponentRef name="grpSQL"/>
+ </Property>
<Property name="selected" type="boolean" value="true"/>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="de/acyrance/nb/sqlgenerator/Window/Bundle.properties" key="SQLGeneratorTopComponent.btnSQL.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
@@ -68,6 +75,9 @@
</Component>
<Component class="javax.swing.JToggleButton" name="btnSQLCode">
<Properties>
+ <Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor">
+ <ComponentRef name="grpSQL"/>
+ </Property>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="de/acyrance/nb/sqlgenerator/Window/Bundle.properties" key="SQLGeneratorTopComponent.btnSQLCode.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
@@ -107,7 +117,7 @@
<Container class="javax.swing.JPanel" name="panel_sqlcode">
<Properties>
<Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor">
- <Color id="Default Cursor"/>
+ <Color id="Standardcursor"/>
</Property>
<Property name="opaque" type="boolean" value="false"/>
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
@@ -118,16 +128,12 @@
<Layout>
<DimensionLayout dim="0">
<Group type="103" groupAlignment="0" attributes="0">
- <Group type="102" alignment="0" attributes="0">
- <EmptySpace max="-2" attributes="0"/>
- <Component id="scrollpane_code" pref="706" max="32767" attributes="0"/>
- <EmptySpace max="-2" attributes="0"/>
- </Group>
+ <Component id="scrollpane_code" alignment="0" pref="730" max="32767" attributes="0"/>
</Group>
</DimensionLayout>
<DimensionLayout dim="1">
<Group type="103" groupAlignment="0" attributes="0">
- <Component id="scrollpane_code" alignment="0" pref="500" max="32767" attributes="0"/>
+ <Component id="scrollpane_code" alignment="0" pref="506" max="32767" attributes="0"/>
</Group>
</DimensionLayout>
</Layout>
Modified: trunk/src/de/acyrance/nb/sqlgenerator/Window/SQLGeneratorTopComponent.java
===================================================================
--- trunk/src/de/acyrance/nb/sqlgenerator/Window/SQLGeneratorTopComponent.java 2010-08-16 13:31:49 UTC (rev 3)
+++ trunk/src/de/acyrance/nb/sqlgenerator/Window/SQLGeneratorTopComponent.java 2010-08-28 09:31:50 UTC (rev 4)
@@ -112,6 +112,7 @@
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
+ grpSQL = new javax.swing.ButtonGroup();
generatorToolbar = new javax.swing.JToolBar();
jSeparator2 = new javax.swing.JToolBar.Separator();
btnSQL = new javax.swing.JToggleButton();
@@ -130,6 +131,7 @@
generatorToolbar.setPreferredSize(new java.awt.Dimension(381, 35));
generatorToolbar.add(jSeparator2);
+ grpSQL.add(btnSQL);
btnSQL.setSelected(true);
org.openide.awt.Mnemonics.setLocalizedText(btnSQL, org.openide.util.NbBundle.getMessage(SQLGeneratorTopComponent.class, "SQLGeneratorTopComponent.btnSQL.text")); // NOI18N
btnSQL.setFocusable(false);
@@ -142,6 +144,7 @@
});
generatorToolbar.add(btnSQL);
+ grpSQL.add(btnSQLCode);
org.openide.awt.Mnemonics.setLocalizedText(btnSQLCode, org.openide.util.NbBundle.getMessage(SQLGeneratorTopComponent.class, "SQLGeneratorTopComponent.btnSQLCode.text")); // NOI18N
btnSQLCode.setFocusable(false);
btnSQLCode.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
@@ -178,14 +181,11 @@
panel_sqlcode.setLayout(panel_sqlcodeLayout);
panel_sqlcodeLayout.setHorizontalGroup(
panel_sqlcodeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addGroup(panel_sqlcodeLayout.createSequentialGroup()
- .addContainerGap()
- .addComponent(scrollpane_code, javax.swing.GroupLayout.DEFAULT_SIZE, 706, Short.MAX_VALUE)
- .addContainerGap())
+ .addComponent(scrollpane_code, javax.swing.GroupLayout.DEFAULT_SIZE, 730, Short.MAX_VALUE)
);
panel_sqlcodeLayout.setVerticalGroup(
panel_sqlcodeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addComponent(scrollpane_code, javax.swing.GroupLayout.DEFAULT_SIZE, 500, Short.MAX_VALUE)
+ .addComponent(scrollpane_code, javax.swing.GroupLayout.DEFAULT_SIZE, 506, Short.MAX_VALUE)
);
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
@@ -199,8 +199,8 @@
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addComponent(generatorToolbar, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
- .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
- .addComponent(panel_sqlcode, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
+ .addGap(0, 0, 0)
+ .addComponent(panel_sqlcode, javax.swing.GroupLayout.DEFAULT_SIZE, 506, Short.MAX_VALUE))
);
}// </editor-fold>//GEN-END:initComponents
@@ -246,16 +246,10 @@
private void btnSQLActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnSQLActionPerformed
textarea_code.setText(sql);
-
- btnSQL.setSelected(true);
- btnSQLCode.setSelected(false);
}//GEN-LAST:event_btnSQLActionPerformed
private void btnSQLCodeActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnSQLCodeActionPerformed
textarea_code.setText(sqlcode);
-
- btnSQLCode.setSelected(true);
- btnSQL.setSelected(false);
}//GEN-LAST:event_btnSQLCodeActionPerformed
// Variables declaration - do not modify//GEN-BEGIN:variables
@@ -263,6 +257,7 @@
public javax.swing.JToggleButton btnSQLCode;
public javax.swing.JComboBox combo_sqlswitch;
private javax.swing.JToolBar generatorToolbar;
+ private javax.swing.ButtonGroup grpSQL;
private javax.swing.JToolBar.Separator jSeparator1;
private javax.swing.JToolBar.Separator jSeparator2;
private javax.swing.JPanel panel_sqlcode;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <yh...@us...> - 2010-08-16 13:32:02
|
Revision: 3
http://netbeansjavasql.svn.sourceforge.net/netbeansjavasql/?rev=3&view=rev
Author: yhoppe
Date: 2010-08-16 13:31:49 +0000 (Mon, 16 Aug 2010)
Log Message:
-----------
Updatign svn to current version 0.2.5. See release changelog for details.
Modified Paths:
--------------
trunk/manifest.mf
trunk/nbproject/genfiles.properties
trunk/nbproject/project.xml
trunk/src/de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties
trunk/src/de/acyrance/nb/sqlgenerator/Configuration/GeneratorConfiguration.java
trunk/src/de/acyrance/nb/sqlgenerator/Configuration/SQLGeneratorOptionsPanel.form
trunk/src/de/acyrance/nb/sqlgenerator/Configuration/SQLGeneratorOptionsPanel.java
trunk/src/de/acyrance/nb/sqlgenerator/Generators/Code/MySQLCodeGenerator.java
trunk/src/de/acyrance/nb/sqlgenerator/Generators/MySQLGenerator.java
trunk/src/de/acyrance/nb/sqlgenerator/Generators/PostgreSQLGenerator.java
trunk/src/de/acyrance/nb/sqlgenerator/Window/GenerateSQLOptionsVisualPanel1.form
trunk/src/de/acyrance/nb/sqlgenerator/Window/GenerateSQLOptionsVisualPanel1.java
trunk/src/de/acyrance/nb/sqlgenerator/Window/SQLGeneratorTopComponent.form
trunk/src/de/acyrance/nb/sqlgenerator/Window/SQLGeneratorTopComponent.java
Added Paths:
-----------
trunk/src/de/acyrance/nb/sqlgenerator/Generators/Code/DerbyCodeGenerator.java
trunk/src/de/acyrance/nb/sqlgenerator/Generators/DerbySQLGenerator.java
Modified: trunk/manifest.mf
===================================================================
--- trunk/manifest.mf 2010-07-21 09:24:57 UTC (rev 2)
+++ trunk/manifest.mf 2010-08-16 13:31:49 UTC (rev 3)
@@ -1,6 +1,6 @@
Manifest-Version: 1.0
OpenIDE-Module: de.acyrance.nb.sqlgenerator
-OpenIDE-Module-Implementation-Version: 2
+OpenIDE-Module-Implementation-Version: 5
OpenIDE-Module-Layer: de/acyrance/nb/sqlgenerator/layer.xml
OpenIDE-Module-Localizing-Bundle: de/acyrance/nb/sqlgenerator/Bundle.properties
OpenIDE-Module-Requires: org.openide.windows.WindowManager
Modified: trunk/nbproject/genfiles.properties
===================================================================
--- trunk/nbproject/genfiles.properties 2010-07-21 09:24:57 UTC (rev 2)
+++ trunk/nbproject/genfiles.properties 2010-08-16 13:31:49 UTC (rev 3)
@@ -1,8 +1,8 @@
-build.xml.data.CRC32=b3c41b42
+build.xml.data.CRC32=635bc37e
build.xml.script.CRC32=4e4b50df
-build.xml.stylesheet.CRC32=a56c6a5b@1.42.1
+build.xml.stylesheet.CRC32=a56c6a5b@1.42.2
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
-nbproject/build-impl.xml.data.CRC32=b3c41b42
+nbproject/build-impl.xml.data.CRC32=635bc37e
nbproject/build-impl.xml.script.CRC32=119d1c73
-nbproject/build-impl.xml.stylesheet.CRC32=238281d1@1.42.1
+nbproject/build-impl.xml.stylesheet.CRC32=238281d1@1.42.2
Modified: trunk/nbproject/project.xml
===================================================================
--- trunk/nbproject/project.xml 2010-07-21 09:24:57 UTC (rev 2)
+++ trunk/nbproject/project.xml 2010-08-16 13:31:49 UTC (rev 3)
@@ -140,6 +140,7 @@
</dependency>
</module-dependencies>
<public-packages>
+ <package>de.acyrance.nb.sqlgenerator</package>
<package>de.acyrance.nb.sqlgenerator.Generators</package>
<package>de.acyrance.nb.sqlgenerator.Generators.Code</package>
</public-packages>
Modified: trunk/src/de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties
===================================================================
--- trunk/src/de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties 2010-07-21 09:24:57 UTC (rev 2)
+++ trunk/src/de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties 2010-08-16 13:31:49 UTC (rev 3)
@@ -28,19 +28,14 @@
SQLGeneratorOptionsPanel.field_mysqltime.text=TIME
SQLGeneratorOptionsPanel.field_mysqlyear.text=YEAR
SQLGeneratorOptionsPanel.field_mysqlboolean.text=BOOLEAN
-SQLGeneratorOptionsPanel.check_mysqlcodestatic.text=Generate static methods
SQLGeneratorOptionsPanel.jLabel13.text=Code Modifier:
-SQLGeneratorOptionsPanel.field_mysqlcodemodifier.text=public
-SQLGeneratorOptionsPanel.check_mysqlcodecloseconnection.text=Close the given MySQL connection
-SQLGeneratorOptionsPanel.check_mysqlcodegeneratekeys.text=Return Generated Keys (auto incremented key)
SQLGeneratorOptionsPanel.check_cleanvars.text=Clean variables (highly recommended)
-SQLGeneratorOptionsPanel.check_addnotnull.text=Add "Not null" to generated sql
SQLGeneratorOptionsPanel.jLabel14.text=Timestamp:
SQLGeneratorOptionsPanel.field_mysqltimestamp.text=TIMESTAMP
SQLGeneratorOptionsPanel.panel_varoptions.border.title=Variable Options
SQLGeneratorOptionsPanel.check_stripfirstunderscore.text=Strip beginning underscore (e.g. _a gets a)
SQLGeneratorOptionsPanel.check_firstchartolowercase.text=First char to lower case
-SQLGeneratorOptionsPanel.panel_mysqlcode.border.title=MySQL Code
+SQLGeneratorOptionsPanel.panel_mysqlcode.border.title=Code Generation
SQLGeneratorOptionsPanel.jLabel27.text=Time:
SQLGeneratorOptionsPanel.jLabel26.text=Boolean
SQLGeneratorOptionsPanel.jLabel25.text=DateTime:
@@ -48,7 +43,6 @@
SQLGeneratorOptionsPanel.jLabel23.text=Long:
SQLGeneratorOptionsPanel.jLabel22.text=String & char[]:
SQLGeneratorOptionsPanel.jLabel21.text=Year:
-SQLGeneratorOptionsPanel.jLabel20.text=Code Modifier:
SQLGeneratorOptionsPanel.jLabel19.text=Char: (single)
SQLGeneratorOptionsPanel.jLabel18.text=Timestamp:
SQLGeneratorOptionsPanel.jLabel17.text=Float:
@@ -65,11 +59,35 @@
SQLGeneratorOptionsPanel.field_postgresqltime.text=TIME
SQLGeneratorOptionsPanel.field_postgresqltimestamp.text=TIMESTAMP
SQLGeneratorOptionsPanel.field_postgresqlyear.text=YEAR
-SQLGeneratorOptionsPanel.check_postgreaddnotnull.text=Add "Not null" to generated sql
-SQLGeneratorOptionsPanel.panel_postgresqlcode.border.title=PostgreSQL Code
-SQLGeneratorOptionsPanel.field_postgresqlcodemodifier.text=public
-SQLGeneratorOptionsPanel.check_postgresqlcodestatic.text=Generate static methods
-SQLGeneratorOptionsPanel.check_postgresqlcodecloseconnection.text=Close the given MySQL connection
-SQLGeneratorOptionsPanel.check_postgresqlcodegeneratekeys.text=Return Generated Keys (auto incremented key)
SQLGeneratorOptionsPanel.field_postgresqlboolean.text=BOOLEAN
SQLGeneratorOptionsPanel.check_generatejavadoc.text=Generate JavaDoc for the generated Code
+SQLGeneratorOptionsPanel.panel_derby.TabConstraints.tabTitle=JavaDB (Derby)
+SQLGeneratorOptionsPanel.jLabel20.text=String & char[]:
+SQLGeneratorOptionsPanel.jLabel38.text=Long:
+SQLGeneratorOptionsPanel.jLabel37.text=Date:
+SQLGeneratorOptionsPanel.jLabel36.text=DateTime:
+SQLGeneratorOptionsPanel.jLabel35.text=Time:
+SQLGeneratorOptionsPanel.jLabel34.text=Timestamp:
+SQLGeneratorOptionsPanel.jLabel33.text=Year:
+SQLGeneratorOptionsPanel.jLabel32.text=Boolean
+SQLGeneratorOptionsPanel.jLabel31.text=Double:
+SQLGeneratorOptionsPanel.jLabel30.text=Float:
+SQLGeneratorOptionsPanel.jLabel29.text=Char: (single)
+SQLGeneratorOptionsPanel.jLabel28.text=Int:
+SQLGeneratorOptionsPanel.field_derbystring.text=VARCHAR(255)
+SQLGeneratorOptionsPanel.field_derbyint.text=INTEGER
+SQLGeneratorOptionsPanel.field_derbychar.text=CHAR
+SQLGeneratorOptionsPanel.field_derbyfloat.text=FLOAT
+SQLGeneratorOptionsPanel.field_derbydouble.text=DOUBLE
+SQLGeneratorOptionsPanel.field_derbylong.text=BIGINT
+SQLGeneratorOptionsPanel.field_derbydate.text=DATE
+SQLGeneratorOptionsPanel.field_derbydatetime.text=DATETIME
+SQLGeneratorOptionsPanel.field_derbytime.text=TIME
+SQLGeneratorOptionsPanel.field_derbytimestamp.text=TIMESTAMP
+SQLGeneratorOptionsPanel.field_derbyyear.text=YEAR
+SQLGeneratorOptionsPanel.field_derbyboolean.text=SMALLINT(1)
+SQLGeneratorOptionsPanel.check_addnotnull.text=Add "Not null" to generated sql
+SQLGeneratorOptionsPanel.field_codemodifier.text=public
+SQLGeneratorOptionsPanel.check_codestatic.text=Generate static methods
+SQLGeneratorOptionsPanel.check_codecloseconnection.text=Close the given SQL connection
+SQLGeneratorOptionsPanel.check_codegeneratekeys.text=Return Generated Keys (auto incremented key)
Modified: trunk/src/de/acyrance/nb/sqlgenerator/Configuration/GeneratorConfiguration.java
===================================================================
--- trunk/src/de/acyrance/nb/sqlgenerator/Configuration/GeneratorConfiguration.java 2010-07-21 09:24:57 UTC (rev 2)
+++ trunk/src/de/acyrance/nb/sqlgenerator/Configuration/GeneratorConfiguration.java 2010-08-16 13:31:49 UTC (rev 3)
@@ -57,13 +57,8 @@
public static String MYSQL_TIMESTAMP = "TIMESTAMP";
public static String MYSQL_YEAR = "YEAR";
public static String MYSQL_BOOLEAN = "BOOLEAN";
- public static boolean MYSQL_NOTNULL = false;
+
- public static boolean MYSQLCODE_STATIC = true;
- public static String MYSQLCODE_MODIFIER = "public";
- public static boolean MYSQLCODE_CLOSECONNECTION = true;
- public static boolean MYSQLCODE_GENERATEDKEYS = true;
-
public static String POSTGRESQL_STRING = "character varying(255)";
public static String POSTGRESQL_CHAR = "character(1)";
public static String POSTGRESQL_INT = "integer";
@@ -76,12 +71,7 @@
public static String POSTGRESQL_TIMESTAMP = "timestamp";
public static String POSTGRESQL_YEAR = "date";
public static String POSTGRESQL_BOOLEAN = "boolean";
- public static boolean POSTGRESQL_NOTNULL = false;
- public static boolean POSTGRESQLCODE_STATIC = true;
- public static String POSTGRESQLCODE_MODIFIER = "public";
- public static boolean POSTGRESQLCODE_CLOSECONNECTION = true;
- public static boolean POSTGRESQLCODE_GENERATEDKEYS = true;
/**
@@ -108,12 +98,9 @@
MYSQL_TIMESTAMP = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("mysqlTimestamp", "TIMESTAMP");
MYSQL_YEAR = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("mysqlYear", "YEAR");
MYSQL_BOOLEAN = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("mysqlBoolean", "BOOLEAN");
- MYSQLCODE_MODIFIER = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("mysqlCodeModifier", "public");
- MYSQL_NOTNULL = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).getBoolean("mysqlAddnotnull", false);
- MYSQLCODE_STATIC = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).getBoolean("mysqlCodeStatic", true);
- MYSQLCODE_CLOSECONNECTION = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).getBoolean("mysqlCodeCloseconnection", true);
- MYSQLCODE_GENERATEDKEYS = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).getBoolean("mysqlCodeGeneratedkeys", true);
+
+
POSTGRESQL_STRING = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("postgresqlString", "character varying(255)");
POSTGRESQL_CHAR = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("postgresqlChar", "character(1)");
POSTGRESQL_INT = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("postgresqlInt", "integer");
@@ -127,9 +114,6 @@
POSTGRESQL_YEAR = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("postgresqlYear", "date");
POSTGRESQL_BOOLEAN = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("postgresqlBoolean", "boolean");
- POSTGRESQL_NOTNULL = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).getBoolean("postgresqlAddnotnull", false);
- POSTGRESQLCODE_STATIC = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).getBoolean("postgresqlCodeStatic", true);
- POSTGRESQLCODE_CLOSECONNECTION = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).getBoolean("postgresqlCodeCloseconnection", true);
- POSTGRESQLCODE_GENERATEDKEYS = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).getBoolean("postgresqlCodeGeneratedkeys", true);
+
}
}
Modified: trunk/src/de/acyrance/nb/sqlgenerator/Configuration/SQLGeneratorOptionsPanel.form
===================================================================
--- trunk/src/de/acyrance/nb/sqlgenerator/Configuration/SQLGeneratorOptionsPanel.form 2010-07-21 09:24:57 UTC (rev 2)
+++ trunk/src/de/acyrance/nb/sqlgenerator/Configuration/SQLGeneratorOptionsPanel.form 2010-08-16 13:31:49 UTC (rev 3)
@@ -45,16 +45,31 @@
<DimensionLayout dim="0">
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" attributes="0">
- <EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" attributes="0">
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <Component id="jLabel1" min="-2" max="-2" attributes="0"/>
+ <EmptySpace pref="114" max="32767" attributes="0"/>
+ <Component id="combo_defaultgeneration" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Component id="check_ifnotexists1" alignment="0" min="-2" max="-2" attributes="0"/>
+ <Component id="check_generatejavadoc" alignment="0" min="-2" max="-2" attributes="0"/>
+ </Group>
+ </Group>
<Group type="102" alignment="0" attributes="0">
- <Component id="jLabel1" min="-2" max="-2" attributes="0"/>
- <EmptySpace pref="114" max="32767" attributes="0"/>
- <Component id="combo_defaultgeneration" min="-2" max="-2" attributes="0"/>
+ <EmptySpace max="-2" attributes="0"/>
+ <Component id="check_addnotnull" min="-2" max="-2" attributes="0"/>
</Group>
- <Component id="check_ifnotexists1" alignment="0" min="-2" max="-2" attributes="0"/>
- <Component id="panel_varoptions" alignment="1" max="32767" attributes="0"/>
- <Component id="check_generatejavadoc" alignment="0" min="-2" max="-2" attributes="0"/>
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace max="-2" attributes="0"/>
+ <Component id="panel_varoptions" max="32767" attributes="0"/>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace max="-2" attributes="0"/>
+ <Component id="panel_mysqlcode" max="32767" attributes="0"/>
+ </Group>
</Group>
<EmptySpace max="-2" attributes="0"/>
</Group>
@@ -72,9 +87,13 @@
<Component id="check_ifnotexists1" min="-2" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="check_generatejavadoc" min="-2" max="-2" attributes="0"/>
- <EmptySpace min="-2" pref="50" max="-2" attributes="0"/>
+ <EmptySpace max="-2" attributes="0"/>
+ <Component id="check_addnotnull" min="-2" max="-2" attributes="0"/>
+ <EmptySpace type="unrelated" max="-2" attributes="0"/>
<Component id="panel_varoptions" min="-2" max="-2" attributes="0"/>
- <EmptySpace pref="282" max="32767" attributes="0"/>
+ <EmptySpace type="unrelated" max="-2" attributes="0"/>
+ <Component id="panel_mysqlcode" min="-2" max="-2" attributes="0"/>
+ <EmptySpace pref="138" max="32767" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
@@ -204,6 +223,120 @@
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="check_generatejavadocActionPerformed"/>
</Events>
</Component>
+ <Container class="javax.swing.JPanel" name="panel_mysqlcode">
+ <Properties>
+ <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
+ <Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo">
+ <TitledBorder title="Code Generation">
+ <ResourceString PropertyName="titleX" bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.panel_mysqlcode.border.title" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
+ </TitledBorder>
+ </Border>
+ </Property>
+ </Properties>
+
+ <Layout>
+ <DimensionLayout dim="0">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" attributes="0">
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" attributes="0">
+ <Component id="jLabel13" min="-2" max="-2" attributes="0"/>
+ <EmptySpace pref="96" max="32767" attributes="0"/>
+ <Component id="field_codemodifier" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Component id="check_codestatic" alignment="0" min="-2" max="-2" attributes="0"/>
+ <Component id="check_codecloseconnection" alignment="0" min="-2" max="-2" attributes="0"/>
+ <Component id="check_codegeneratekeys" alignment="0" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ </DimensionLayout>
+ <DimensionLayout dim="1">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="field_codemodifier" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jLabel13" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="32767" attributes="0"/>
+ <Component id="check_codestatic" min="-2" max="-2" attributes="0"/>
+ <EmptySpace max="-2" attributes="0"/>
+ <Component id="check_codecloseconnection" min="-2" max="-2" attributes="0"/>
+ <EmptySpace max="-2" attributes="0"/>
+ <Component id="check_codegeneratekeys" min="-2" max="-2" attributes="0"/>
+ <EmptySpace min="-2" pref="6" max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ </DimensionLayout>
+ </Layout>
+ <SubComponents>
+ <Component class="javax.swing.JCheckBox" name="check_codestatic">
+ <Properties>
+ <Property name="selected" type="boolean" value="true"/>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.check_codestatic.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
+ </Property>
+ </Properties>
+ <Events>
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="check_codestaticActionPerformed"/>
+ </Events>
+ </Component>
+ <Component class="javax.swing.JLabel" name="jLabel13">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.jLabel13.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JTextField" name="field_codemodifier">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.field_codemodifier.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[150, 25]"/>
+ </Property>
+ </Properties>
+ <Events>
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="field_codemodifierActionPerformed"/>
+ </Events>
+ </Component>
+ <Component class="javax.swing.JCheckBox" name="check_codecloseconnection">
+ <Properties>
+ <Property name="selected" type="boolean" value="true"/>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.check_codecloseconnection.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
+ </Property>
+ </Properties>
+ <Events>
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="check_codecloseconnectionActionPerformed"/>
+ </Events>
+ </Component>
+ <Component class="javax.swing.JCheckBox" name="check_codegeneratekeys">
+ <Properties>
+ <Property name="selected" type="boolean" value="true"/>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.check_codegeneratekeys.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
+ </Property>
+ </Properties>
+ <Events>
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="check_codegeneratekeysActionPerformed"/>
+ </Events>
+ </Component>
+ </SubComponents>
+ </Container>
+ <Component class="javax.swing.JCheckBox" name="check_addnotnull">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.check_addnotnull.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
+ </Property>
+ </Properties>
+ <Events>
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="check_addnotnullActionPerformed"/>
+ </Events>
+ </Component>
</SubComponents>
</Container>
<Container class="javax.swing.JPanel" name="panel_mysql">
@@ -268,9 +401,6 @@
<EmptySpace pref="188" max="32767" attributes="0"/>
<Component id="field_mysqltime" min="-2" max="-2" attributes="0"/>
</Group>
- <Component id="panel_mysqlcode" alignment="0" max="32767" attributes="0"/>
- <Component id="jSeparator1" alignment="0" pref="371" max="32767" attributes="0"/>
- <Component id="check_addnotnull" alignment="0" min="-2" max="-2" attributes="0"/>
<Group type="102" alignment="1" attributes="0">
<Component id="jLabel11" min="-2" max="-2" attributes="0"/>
<EmptySpace pref="189" max="32767" attributes="0"/>
@@ -286,6 +416,7 @@
<EmptySpace pref="149" max="32767" attributes="0"/>
<Component id="field_mysqltimestamp" min="-2" max="-2" attributes="0"/>
</Group>
+ <Component id="jSeparator1" alignment="0" pref="371" max="32767" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
</Group>
@@ -355,12 +486,8 @@
<Component id="jLabel12" alignment="3" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace type="unrelated" max="-2" attributes="0"/>
- <Component id="check_addnotnull" min="-2" max="-2" attributes="0"/>
- <EmptySpace type="unrelated" max="-2" attributes="0"/>
- <Component id="jSeparator1" min="-2" max="-2" attributes="0"/>
- <EmptySpace max="-2" attributes="0"/>
- <Component id="panel_mysqlcode" min="-2" max="-2" attributes="0"/>
- <EmptySpace max="-2" attributes="0"/>
+ <Component id="jSeparator1" min="-2" pref="15" max="-2" attributes="0"/>
+ <EmptySpace min="-2" pref="185" max="-2" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
@@ -555,137 +682,385 @@
</Component>
<Component class="javax.swing.JSeparator" name="jSeparator1">
</Component>
- <Container class="javax.swing.JPanel" name="panel_mysqlcode">
+ <Component class="javax.swing.JLabel" name="jLabel14">
<Properties>
- <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
- <Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo">
- <TitledBorder title="MySQL Code">
- <ResourceString PropertyName="titleX" bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.panel_mysqlcode.border.title" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
- </TitledBorder>
- </Border>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.jLabel14.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</Properties>
+ </Component>
+ <Component class="javax.swing.JTextField" name="field_mysqltimestamp">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.field_mysqltimestamp.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[150, 25]"/>
+ </Property>
+ </Properties>
+ </Component>
+ </SubComponents>
+ </Container>
+ <Container class="javax.swing.JPanel" name="panel_derby">
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription">
+ <JTabbedPaneConstraints tabName="JavaDB (Derby)">
+ <Property name="tabTitle" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.panel_derby.TabConstraints.tabTitle" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
+ </Property>
+ </JTabbedPaneConstraints>
+ </Constraint>
+ </Constraints>
- <Layout>
- <DimensionLayout dim="0">
- <Group type="103" groupAlignment="0" attributes="0">
- <Group type="102" attributes="0">
- <EmptySpace max="-2" attributes="0"/>
- <Group type="103" groupAlignment="0" attributes="0">
- <Group type="102" attributes="0">
- <Component id="jLabel13" min="-2" max="-2" attributes="0"/>
- <EmptySpace pref="96" max="32767" attributes="0"/>
- <Component id="field_mysqlcodemodifier" min="-2" max="-2" attributes="0"/>
- </Group>
- <Component id="check_mysqlcodestatic" alignment="0" min="-2" max="-2" attributes="0"/>
- <Component id="check_mysqlcodecloseconnection" alignment="0" min="-2" max="-2" attributes="0"/>
- <Component id="check_mysqlcodegeneratekeys" alignment="0" min="-2" max="-2" attributes="0"/>
+ <Layout>
+ <DimensionLayout dim="0">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" attributes="0">
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="1" attributes="0">
+ <Component id="jLabel20" min="-2" max="-2" attributes="0"/>
+ <EmptySpace pref="124" max="32767" attributes="0"/>
+ <Component id="field_derbystring" min="-2" max="-2" attributes="0"/>
</Group>
- <EmptySpace max="-2" attributes="0"/>
+ <Group type="102" alignment="0" attributes="0">
+ <Component id="jLabel28" min="-2" max="-2" attributes="0"/>
+ <EmptySpace pref="201" max="32767" attributes="0"/>
+ <Component id="field_derbyint" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <Component id="jLabel29" min="-2" max="-2" attributes="0"/>
+ <EmptySpace pref="137" max="32767" attributes="0"/>
+ <Component id="field_derbychar" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <Component id="jLabel30" min="-2" max="-2" attributes="0"/>
+ <EmptySpace pref="186" max="32767" attributes="0"/>
+ <Component id="field_derbyfloat" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="102" alignment="1" attributes="0">
+ <Component id="jLabel31" min="-2" max="-2" attributes="0"/>
+ <EmptySpace pref="173" max="32767" attributes="0"/>
+ <Component id="field_derbydouble" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <Component id="jLabel38" min="-2" max="-2" attributes="0"/>
+ <EmptySpace pref="187" max="32767" attributes="0"/>
+ <Component id="field_derbylong" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <Component id="jLabel37" min="-2" max="-2" attributes="0"/>
+ <EmptySpace pref="187" max="32767" attributes="0"/>
+ <Component id="field_derbydate" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <Component id="jLabel36" min="-2" max="-2" attributes="0"/>
+ <EmptySpace pref="158" max="32767" attributes="0"/>
+ <Component id="field_derbydatetime" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <Component id="jLabel35" min="-2" max="-2" attributes="0"/>
+ <EmptySpace pref="188" max="32767" attributes="0"/>
+ <Component id="field_derbytime" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="102" alignment="1" attributes="0">
+ <Component id="jLabel33" min="-2" max="-2" attributes="0"/>
+ <EmptySpace pref="189" max="32767" attributes="0"/>
+ <Component id="field_derbyyear" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <Component id="jLabel32" min="-2" max="-2" attributes="0"/>
+ <EmptySpace pref="170" max="32767" attributes="0"/>
+ <Component id="field_derbyboolean" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <Component id="jLabel34" min="-2" max="-2" attributes="0"/>
+ <EmptySpace pref="149" max="32767" attributes="0"/>
+ <Component id="field_derbytimestamp" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Component id="jSeparator3" alignment="1" pref="371" max="32767" attributes="0"/>
</Group>
+ <EmptySpace max="-2" attributes="0"/>
</Group>
- </DimensionLayout>
- <DimensionLayout dim="1">
- <Group type="103" groupAlignment="0" attributes="0">
- <Group type="102" alignment="0" attributes="0">
- <Group type="103" groupAlignment="3" attributes="0">
- <Component id="field_mysqlcodemodifier" alignment="3" min="-2" max="-2" attributes="0"/>
- <Component id="jLabel13" alignment="3" min="-2" max="-2" attributes="0"/>
- </Group>
- <EmptySpace max="32767" attributes="0"/>
- <Component id="check_mysqlcodestatic" min="-2" max="-2" attributes="0"/>
- <EmptySpace max="-2" attributes="0"/>
- <Component id="check_mysqlcodecloseconnection" min="-2" max="-2" attributes="0"/>
- <EmptySpace max="-2" attributes="0"/>
- <Component id="check_mysqlcodegeneratekeys" min="-2" max="-2" attributes="0"/>
- <EmptySpace min="-2" pref="6" max="-2" attributes="0"/>
+ </Group>
+ </DimensionLayout>
+ <DimensionLayout dim="1">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="field_derbystring" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jLabel20" alignment="3" min="-2" max="-2" attributes="0"/>
</Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="field_derbyint" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jLabel28" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="field_derbychar" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jLabel29" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="field_derbyfloat" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jLabel30" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="field_derbydouble" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jLabel31" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="field_derbylong" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jLabel38" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="field_derbydate" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jLabel37" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="field_derbydatetime" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jLabel36" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="field_derbytime" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jLabel35" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="32767" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="field_derbytimestamp" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jLabel34" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="field_derbyyear" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jLabel33" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="field_derbyboolean" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jLabel32" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace type="unrelated" max="-2" attributes="0"/>
+ <Component id="jSeparator3" min="-2" pref="20" max="-2" attributes="0"/>
+ <EmptySpace min="-2" pref="180" max="-2" attributes="0"/>
</Group>
- </DimensionLayout>
- </Layout>
- <SubComponents>
- <Component class="javax.swing.JCheckBox" name="check_mysqlcodestatic">
- <Properties>
- <Property name="selected" type="boolean" value="true"/>
- <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
- <ResourceString bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.check_mysqlcodestatic.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
- </Property>
- </Properties>
- <Events>
- <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="check_mysqlcodestaticActionPerformed"/>
- </Events>
- </Component>
- <Component class="javax.swing.JLabel" name="jLabel13">
- <Properties>
- <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
- <ResourceString bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.jLabel13.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
- </Property>
- </Properties>
- </Component>
- <Component class="javax.swing.JTextField" name="field_mysqlcodemodifier">
- <Properties>
- <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
- <ResourceString bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.field_mysqlcodemodifier.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
- </Property>
- <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
- <Dimension value="[150, 25]"/>
- </Property>
- </Properties>
- <Events>
- <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="field_mysqlcodemodifierActionPerformed"/>
- </Events>
- </Component>
- <Component class="javax.swing.JCheckBox" name="check_mysqlcodecloseconnection">
- <Properties>
- <Property name="selected" type="boolean" value="true"/>
- <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
- <ResourceString bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.check_mysqlcodecloseconnection.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
- </Property>
- </Properties>
- <Events>
- <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="check_mysqlcodecloseconnectionActionPerformed"/>
- </Events>
- </Component>
- <Component class="javax.swing.JCheckBox" name="check_mysqlcodegeneratekeys">
- <Properties>
- <Property name="selected" type="boolean" value="true"/>
- <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
- <ResourceString bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.check_mysqlcodegeneratekeys.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
- </Property>
- </Properties>
- <Events>
- <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="check_mysqlcodegeneratekeysActionPerformed"/>
- </Events>
- </Component>
- </SubComponents>
- </Container>
- <Component class="javax.swing.JCheckBox" name="check_addnotnull">
+ </Group>
+ </DimensionLayout>
+ </Layout>
+ <SubComponents>
+ <Component class="javax.swing.JLabel" name="jLabel20">
<Properties>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
- <ResourceString bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.check_addnotnull.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
+ <ResourceString bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.jLabel20.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</Properties>
- <Events>
- <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="check_addnotnullActionPerformed"/>
- </Events>
</Component>
- <Component class="javax.swing.JLabel" name="jLabel14">
+ <Component class="javax.swing.JTextField" name="field_derbystring">
<Properties>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
- <ResourceString bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.jLabel14.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
+ <ResourceString bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.field_derbystring.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[150, 25]"/>
+ </Property>
</Properties>
</Component>
- <Component class="javax.swing.JTextField" name="field_mysqltimestamp">
+ <Component class="javax.swing.JTextField" name="field_derbyint">
<Properties>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
- <ResourceString bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.field_mysqltimestamp.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
+ <ResourceString bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.field_derbyint.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[150, 25]"/>
</Property>
</Properties>
</Component>
+ <Component class="javax.swing.JLabel" name="jLabel28">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.jLabel28.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JLabel" name="jLabel29">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.jLabel29.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JTextField" name="field_derbychar">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.field_derbychar.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[150, 25]"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JTextField" name="field_derbyfloat">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.field_derbyfloat.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[150, 25]"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JLabel" name="jLabel30">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.jLabel30.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JLabel" name="jLabel31">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.jLabel31.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JTextField" name="field_derbydouble">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.field_derbydouble.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[150, 25]"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JTextField" name="field_derbylong">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.field_derbylong.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[150, 25]"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JTextField" name="field_derbydate">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.field_derbydate.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[150, 25]"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JTextField" name="field_derbydatetime">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.field_derbydatetime.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[150, 25]"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JTextField" name="field_derbytime">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.field_derbytime.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[150, 25]"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JTextField" name="field_derbytimestamp">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.field_derbytimestamp.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[150, 25]"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JTextField" name="field_derbyyear">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.field_derbyyear.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
+ </Property>
+ <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[150, 25]"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.s...
[truncated message content] |
|
From: <yh...@us...> - 2010-07-21 09:25:07
|
Revision: 2
http://netbeansjavasql.svn.sourceforge.net/netbeansjavasql/?rev=2&view=rev
Author: yhoppe
Date: 2010-07-21 09:24:57 +0000 (Wed, 21 Jul 2010)
Log Message:
-----------
Initial import of the plugins sources including netbeans preferences
Added Paths:
-----------
trunk/build.xml
trunk/manifest.mf
trunk/nbproject/
trunk/nbproject/build-impl.xml
trunk/nbproject/genfiles.properties
trunk/nbproject/platform.properties
trunk/nbproject/project.properties
trunk/nbproject/project.xml
trunk/src/
trunk/src/de/
trunk/src/de/acyrance/
trunk/src/de/acyrance/nb/
trunk/src/de/acyrance/nb/sqlgenerator/
trunk/src/de/acyrance/nb/sqlgenerator/Bundle.properties
trunk/src/de/acyrance/nb/sqlgenerator/Configuration/
trunk/src/de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties
trunk/src/de/acyrance/nb/sqlgenerator/Configuration/GeneratorConfiguration.java
trunk/src/de/acyrance/nb/sqlgenerator/Configuration/SQLGeneratorOptionsOptionsPanelController.java
trunk/src/de/acyrance/nb/sqlgenerator/Configuration/SQLGeneratorOptionsPanel.form
trunk/src/de/acyrance/nb/sqlgenerator/Configuration/SQLGeneratorOptionsPanel.java
trunk/src/de/acyrance/nb/sqlgenerator/Fields/
trunk/src/de/acyrance/nb/sqlgenerator/Fields/CleanFields.java
trunk/src/de/acyrance/nb/sqlgenerator/Fields/FieldObj.java
trunk/src/de/acyrance/nb/sqlgenerator/Generators/
trunk/src/de/acyrance/nb/sqlgenerator/Generators/Code/
trunk/src/de/acyrance/nb/sqlgenerator/Generators/Code/MySQLCodeGenerator.java
trunk/src/de/acyrance/nb/sqlgenerator/Generators/MySQLGenerator.java
trunk/src/de/acyrance/nb/sqlgenerator/Generators/PostgreSQLGenerator.java
trunk/src/de/acyrance/nb/sqlgenerator/Registry/
trunk/src/de/acyrance/nb/sqlgenerator/Registry/SQLRegistry.java
trunk/src/de/acyrance/nb/sqlgenerator/SQLGeneratorTopComponentSettings.xml
trunk/src/de/acyrance/nb/sqlgenerator/SQLGeneratorTopComponentWstcref.xml
trunk/src/de/acyrance/nb/sqlgenerator/SqlGeneratorAction.java
trunk/src/de/acyrance/nb/sqlgenerator/TreePathScanner/
trunk/src/de/acyrance/nb/sqlgenerator/TreePathScanner/MemberVisitorSystemOut.java
trunk/src/de/acyrance/nb/sqlgenerator/Window/
trunk/src/de/acyrance/nb/sqlgenerator/Window/Bundle.properties
trunk/src/de/acyrance/nb/sqlgenerator/Window/GenerateSQLOptionsVisualPanel1.form
trunk/src/de/acyrance/nb/sqlgenerator/Window/GenerateSQLOptionsVisualPanel1.java
trunk/src/de/acyrance/nb/sqlgenerator/Window/GenerateSQLOptionsWizardAction.java
trunk/src/de/acyrance/nb/sqlgenerator/Window/GenerateSQLOptionsWizardPanel1.java
trunk/src/de/acyrance/nb/sqlgenerator/Window/SQLGeneratorTopComponent.form
trunk/src/de/acyrance/nb/sqlgenerator/Window/SQLGeneratorTopComponent.java
trunk/src/de/acyrance/nb/sqlgenerator/connect.png
trunk/src/de/acyrance/nb/sqlgenerator/layer.xml
trunk/test/
trunk/test/unit/
trunk/test/unit/src/
Property Changed:
----------------
trunk/
Property changes on: trunk
___________________________________________________________________
Added: svn:ignore
+ build
Added: trunk/build.xml
===================================================================
--- trunk/build.xml (rev 0)
+++ trunk/build.xml 2010-07-21 09:24:57 UTC (rev 2)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- You may freely edit this file. See harness/README in the NetBeans platform -->
+<!-- for some information on what you could do (e.g. targets to override). -->
+<!-- If you delete this file and reopen the project it will be recreated. -->
+<project name="de.acyrance.nb.sqlgenerator" default="netbeans" basedir=".">
+ <description>Builds, tests, and runs the project de.acyrance.nb.sqlgenerator.</description>
+ <import file="nbproject/build-impl.xml"/>
+</project>
Property changes on: trunk/build.xml
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/manifest.mf
===================================================================
--- trunk/manifest.mf (rev 0)
+++ trunk/manifest.mf 2010-07-21 09:24:57 UTC (rev 2)
@@ -0,0 +1,7 @@
+Manifest-Version: 1.0
+OpenIDE-Module: de.acyrance.nb.sqlgenerator
+OpenIDE-Module-Implementation-Version: 2
+OpenIDE-Module-Layer: de/acyrance/nb/sqlgenerator/layer.xml
+OpenIDE-Module-Localizing-Bundle: de/acyrance/nb/sqlgenerator/Bundle.properties
+OpenIDE-Module-Requires: org.openide.windows.WindowManager
+
Property changes on: trunk/manifest.mf
___________________________________________________________________
Added: svn:executable
+ *
Property changes on: trunk/nbproject
___________________________________________________________________
Added: svn:ignore
+ private
Added: trunk/nbproject/build-impl.xml
===================================================================
--- trunk/nbproject/build-impl.xml (rev 0)
+++ trunk/nbproject/build-impl.xml 2010-07-21 09:24:57 UTC (rev 2)
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+*** GENERATED FROM project.xml - DO NOT EDIT ***
+*** EDIT ../build.xml INSTEAD ***
+-->
+<project name="de.acyrance.nb.sqlgenerator-impl" basedir="..">
+ <fail message="Please build using Ant 1.7.1 or higher.">
+ <condition>
+ <not>
+ <antversion atleast="1.7.1"/>
+ </not>
+ </condition>
+ </fail>
+ <property file="nbproject/private/platform-private.properties"/>
+ <property file="nbproject/platform.properties"/>
+ <macrodef name="property" uri="http://www.netbeans.org/ns/nb-module-project/2">
+ <attribute name="name"/>
+ <attribute name="value"/>
+ <sequential>
+ <property name="@{name}" value="${@{value}}"/>
+ </sequential>
+ </macrodef>
+ <macrodef name="evalprops" uri="http://www.netbeans.org/ns/nb-module-project/2">
+ <attribute name="property"/>
+ <attribute name="value"/>
+ <sequential>
+ <property name="@{property}" value="@{value}"/>
+ </sequential>
+ </macrodef>
+ <property file="${user.properties.file}"/>
+ <nbmproject2:property name="harness.dir" value="nbplatform.${nbplatform.active}.harness.dir" xmlns:nbmproject2="http://www.netbeans.org/ns/nb-module-project/2"/>
+ <nbmproject2:property name="nbplatform.active.dir" value="nbplatform.${nbplatform.active}.netbeans.dest.dir" xmlns:nbmproject2="http://www.netbeans.org/ns/nb-module-project/2"/>
+ <nbmproject2:evalprops property="cluster.path.evaluated" value="${cluster.path}" xmlns:nbmproject2="http://www.netbeans.org/ns/nb-module-project/2"/>
+ <fail message="Path to 'platform' cluster missing in $${cluster.path} property or using corrupt Netbeans Platform (missing harness).">
+ <condition>
+ <not>
+ <contains string="${cluster.path.evaluated}" substring="platform"/>
+ </not>
+ </condition>
+ </fail>
+ <import file="${harness.dir}/build.xml"/>
+</project>
Property changes on: trunk/nbproject/build-impl.xml
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/nbproject/genfiles.properties
===================================================================
--- trunk/nbproject/genfiles.properties (rev 0)
+++ trunk/nbproject/genfiles.properties 2010-07-21 09:24:57 UTC (rev 2)
@@ -0,0 +1,8 @@
+build.xml.data.CRC32=b3c41b42
+build.xml.script.CRC32=4e4b50df
+build.xml.stylesheet.CRC32=a56c6a5b@1.42.1
+# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
+# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
+nbproject/build-impl.xml.data.CRC32=b3c41b42
+nbproject/build-impl.xml.script.CRC32=119d1c73
+nbproject/build-impl.xml.stylesheet.CRC32=238281d1@1.42.1
Property changes on: trunk/nbproject/genfiles.properties
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/nbproject/platform.properties
===================================================================
--- trunk/nbproject/platform.properties (rev 0)
+++ trunk/nbproject/platform.properties 2010-07-21 09:24:57 UTC (rev 2)
@@ -0,0 +1,20 @@
+cluster.path=\
+ ${nbplatform.active.dir}/cnd:\
+ ${nbplatform.active.dir}/identity:\
+ ${nbplatform.active.dir}/platform:\
+ ${nbplatform.active.dir}/java:\
+ ${nbplatform.active.dir}/harness:\
+ ${nbplatform.active.dir}/enterprise:\
+ ${nbplatform.active.dir}/javafx:\
+ ${nbplatform.active.dir}/php:\
+ ${nbplatform.active.dir}/profiler:\
+ ${nbplatform.active.dir}/nb:\
+ ${nbplatform.active.dir}/ergonomics:\
+ ${nbplatform.active.dir}/ide:\
+ ${nbplatform.active.dir}/ruby:\
+ ${nbplatform.active.dir}/apisupport:\
+ ${nbplatform.active.dir}/groovy:\
+ ${nbplatform.active.dir}/websvccommon:\
+ ${nbplatform.active.dir}/mobility:\
+ ${nbplatform.active.dir}/dlight
+nbplatform.active=default
Property changes on: trunk/nbproject/platform.properties
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/nbproject/project.properties
===================================================================
--- trunk/nbproject/project.properties (rev 0)
+++ trunk/nbproject/project.properties 2010-07-21 09:24:57 UTC (rev 2)
@@ -0,0 +1,8 @@
+javac.source=1.6
+javac.compilerargs=-Xlint -Xlint:-serial
+license.file=../../../../../Share VM/JavaCrawler/JavaCrawler/LICENSE
+nbm.homepage=http://www.acyrance.de
+nbm.module.author=Yves Hoppe
+spec.version.base=0.2
+keystore=nbproject/private/keystore
+nbm_alias=yhoppe
Property changes on: trunk/nbproject/project.properties
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/nbproject/project.xml
===================================================================
--- trunk/nbproject/project.xml (rev 0)
+++ trunk/nbproject/project.xml 2010-07-21 09:24:57 UTC (rev 2)
@@ -0,0 +1,148 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://www.netbeans.org/ns/project/1">
+ <type>org.netbeans.modules.apisupport.project</type>
+ <configuration>
+ <data xmlns="http://www.netbeans.org/ns/nb-module-project/3">
+ <code-name-base>de.acyrance.nb.sqlgenerator</code-name-base>
+ <standalone/>
+ <module-dependencies>
+ <dependency>
+ <code-name-base>org.netbeans.libs.javacapi</code-name-base>
+ <build-prerequisite/>
+ <compile-dependency/>
+ <run-dependency>
+ <specification-version>0.13.1.1</specification-version>
+ </run-dependency>
+ </dependency>
+ <dependency>
+ <code-name-base>org.netbeans.modules.csl.api</code-name-base>
+ <build-prerequisite/>
+ <compile-dependency/>
+ <run-dependency>
+ <release-version>2</release-version>
+ <specification-version>2.5.1.2.1.1.4</specification-version>
+ </run-dependency>
+ </dependency>
+ <dependency>
+ <code-name-base>org.netbeans.modules.editor.lib2</code-name-base>
+ <build-prerequisite/>
+ <compile-dependency/>
+ <run-dependency>
+ <release-version>1</release-version>
+ <specification-version>1.28.1.2</specification-version>
+ </run-dependency>
+ </dependency>
+ <dependency>
+ <code-name-base>org.netbeans.modules.java.source</code-name-base>
+ <build-prerequisite/>
+ <compile-dependency/>
+ <run-dependency>
+ <specification-version>0.60.1.10.8.4</specification-version>
+ </run-dependency>
+ </dependency>
+ <dependency>
+ <code-name-base>org.netbeans.modules.options.api</code-name-base>
+ <build-prerequisite/>
+ <compile-dependency/>
+ <run-dependency>
+ <release-version>1</release-version>
+ <specification-version>1.18.1</specification-version>
+ </run-dependency>
+ </dependency>
+ <dependency>
+ <code-name-base>org.netbeans.modules.settings</code-name-base>
+ <build-prerequisite/>
+ <compile-dependency/>
+ <run-dependency>
+ <release-version>1</release-version>
+ <specification-version>1.26.1</specification-version>
+ </run-dependency>
+ </dependency>
+ <dependency>
+ <code-name-base>org.openide.awt</code-name-base>
+ <build-prerequisite/>
+ <compile-dependency/>
+ <run-dependency>
+ <specification-version>7.23.1</specification-version>
+ </run-dependency>
+ </dependency>
+ <dependency>
+ <code-name-base>org.openide.dialogs</code-name-base>
+ <build-prerequisite/>
+ <compile-dependency/>
+ <run-dependency>
+ <specification-version>7.15.1</specification-version>
+ </run-dependency>
+ </dependency>
+ <dependency>
+ <code-name-base>org.openide.filesystems</code-name-base>
+ <build-prerequisite/>
+ <compile-dependency/>
+ <run-dependency>
+ <specification-version>7.38.1</specification-version>
+ </run-dependency>
+ </dependency>
+ <dependency>
+ <code-name-base>org.openide.io</code-name-base>
+ <build-prerequisite/>
+ <compile-dependency/>
+ <run-dependency>
+ <specification-version>1.23.1</specification-version>
+ </run-dependency>
+ </dependency>
+ <dependency>
+ <code-name-base>org.openide.loaders</code-name-base>
+ <build-prerequisite/>
+ <compile-dependency/>
+ <run-dependency>
+ <specification-version>7.10.1</specification-version>
+ </run-dependency>
+ </dependency>
+ <dependency>
+ <code-name-base>org.openide.nodes</code-name-base>
+ <build-prerequisite/>
+ <compile-dependency/>
+ <run-dependency>
+ <specification-version>7.12.1.1</specification-version>
+ </run-dependency>
+ </dependency>
+ <dependency>
+ <code-name-base>org.openide.text</code-name-base>
+ <build-prerequisite/>
+ <compile-dependency/>
+ <run-dependency>
+ <specification-version>6.30.1</specification-version>
+ </run-dependency>
+ </dependency>
+ <dependency>
+ <code-name-base>org.openide.util</code-name-base>
+ <build-prerequisite/>
+ <compile-dependency/>
+ <run-dependency>
+ <specification-version>7.31.1.1</specification-version>
+ </run-dependency>
+ </dependency>
+ <dependency>
+ <code-name-base>org.openide.util.lookup</code-name-base>
+ <build-prerequisite/>
+ <compile-dependency/>
+ <run-dependency>
+ <specification-version>8.3.1</specification-version>
+ </run-dependency>
+ </dependency>
+ <dependency>
+ <code-name-base>org.openide.windows</code-name-base>
+ <build-prerequisite/>
+ <compile-dependency/>
+ <run-dependency>
+ <specification-version>6.33.1</specification-version>
+ </run-dependency>
+ </dependency>
+ </module-dependencies>
+ <public-packages>
+ <package>de.acyrance.nb.sqlgenerator.Generators</package>
+ <package>de.acyrance.nb.sqlgenerator.Generators.Code</package>
+ </public-packages>
+ </data>
+ </configuration>
+</project>
Property changes on: trunk/nbproject/project.xml
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/src/de/acyrance/nb/sqlgenerator/Bundle.properties
===================================================================
--- trunk/src/de/acyrance/nb/sqlgenerator/Bundle.properties (rev 0)
+++ trunk/src/de/acyrance/nb/sqlgenerator/Bundle.properties 2010-07-21 09:24:57 UTC (rev 2)
@@ -0,0 +1,6 @@
+CTL_SqlGeneratorAction=SQL-Generator
+OpenIDE-Module-Display-Category=Tools
+OpenIDE-Module-Long-Description=\
+ Automatically generates sql code and java database methods from a java class.
+OpenIDE-Module-Name=Java SQL Generator
+OpenIDE-Module-Short-Description=Generates SQL tables and java database methods from a java class
Property changes on: trunk/src/de/acyrance/nb/sqlgenerator/Bundle.properties
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/src/de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties
===================================================================
--- trunk/src/de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties (rev 0)
+++ trunk/src/de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties 2010-07-21 09:24:57 UTC (rev 2)
@@ -0,0 +1,75 @@
+AdvancedOption_DisplayName_SQLGeneratorOptions=SQL Generator
+AdvancedOption_Keywords_SQLGeneratorOptions=sql generator mysql postgresql
+SQLGeneratorOptionsPanel.panel_basic.TabConstraints.tabTitle=Basic
+SQLGeneratorOptionsPanel.panel_mysql.TabConstraints.tabTitle=MySQL
+SQLGeneratorOptionsPanel.panel_postgre.TabConstraints.tabTitle=PostgreSQL
+SQLGeneratorOptionsPanel.check_ifnotexists1.text=Add if not exists to Create table
+SQLGeneratorOptionsPanel.check_varstolowercase.text=Complete to lower case
+SQLGeneratorOptionsPanel.jLabel1.text=Default SQL Generation:
+SQLGeneratorOptionsPanel.jLabel2.text=String & char[]:
+SQLGeneratorOptionsPanel.field_mysqlstring.text=VARCHAR(255)
+SQLGeneratorOptionsPanel.jLabel3.text=Int:
+SQLGeneratorOptionsPanel.jLabel4.text=Char: (single)
+SQLGeneratorOptionsPanel.jLabel5.text=Float:
+SQLGeneratorOptionsPanel.jLabel6.text=Double:
+SQLGeneratorOptionsPanel.jLabel7.text=Long:
+SQLGeneratorOptionsPanel.jLabel8.text=Date:
+SQLGeneratorOptionsPanel.jLabel9.text=DateTime:
+SQLGeneratorOptionsPanel.jLabel10.text=Time:
+SQLGeneratorOptionsPanel.jLabel11.text=Year:
+SQLGeneratorOptionsPanel.jLabel12.text=Boolean
+SQLGeneratorOptionsPanel.field_mysqlint.text=INT
+SQLGeneratorOptionsPanel.field_mysqlchar.text=VARCHAR(1)
+SQLGeneratorOptionsPanel.field_mysqlfloat.text=FLOAT
+SQLGeneratorOptionsPanel.field_mysqldouble.text=DOUBLE
+SQLGeneratorOptionsPanel.field_mysqllong.text=BIGINT
+SQLGeneratorOptionsPanel.field_mysqldate.text=DATE
+SQLGeneratorOptionsPanel.field_mysqldatetime.text=DATETIME
+SQLGeneratorOptionsPanel.field_mysqltime.text=TIME
+SQLGeneratorOptionsPanel.field_mysqlyear.text=YEAR
+SQLGeneratorOptionsPanel.field_mysqlboolean.text=BOOLEAN
+SQLGeneratorOptionsPanel.check_mysqlcodestatic.text=Generate static methods
+SQLGeneratorOptionsPanel.jLabel13.text=Code Modifier:
+SQLGeneratorOptionsPanel.field_mysqlcodemodifier.text=public
+SQLGeneratorOptionsPanel.check_mysqlcodecloseconnection.text=Close the given MySQL connection
+SQLGeneratorOptionsPanel.check_mysqlcodegeneratekeys.text=Return Generated Keys (auto incremented key)
+SQLGeneratorOptionsPanel.check_cleanvars.text=Clean variables (highly recommended)
+SQLGeneratorOptionsPanel.check_addnotnull.text=Add "Not null" to generated sql
+SQLGeneratorOptionsPanel.jLabel14.text=Timestamp:
+SQLGeneratorOptionsPanel.field_mysqltimestamp.text=TIMESTAMP
+SQLGeneratorOptionsPanel.panel_varoptions.border.title=Variable Options
+SQLGeneratorOptionsPanel.check_stripfirstunderscore.text=Strip beginning underscore (e.g. _a gets a)
+SQLGeneratorOptionsPanel.check_firstchartolowercase.text=First char to lower case
+SQLGeneratorOptionsPanel.panel_mysqlcode.border.title=MySQL Code
+SQLGeneratorOptionsPanel.jLabel27.text=Time:
+SQLGeneratorOptionsPanel.jLabel26.text=Boolean
+SQLGeneratorOptionsPanel.jLabel25.text=DateTime:
+SQLGeneratorOptionsPanel.jLabel24.text=Int:
+SQLGeneratorOptionsPanel.jLabel23.text=Long:
+SQLGeneratorOptionsPanel.jLabel22.text=String & char[]:
+SQLGeneratorOptionsPanel.jLabel21.text=Year:
+SQLGeneratorOptionsPanel.jLabel20.text=Code Modifier:
+SQLGeneratorOptionsPanel.jLabel19.text=Char: (single)
+SQLGeneratorOptionsPanel.jLabel18.text=Timestamp:
+SQLGeneratorOptionsPanel.jLabel17.text=Float:
+SQLGeneratorOptionsPanel.jLabel16.text=Date:
+SQLGeneratorOptionsPanel.jLabel15.text=Double:
+SQLGeneratorOptionsPanel.field_postgresqlstring.text=VARCHAR(255)
+SQLGeneratorOptionsPanel.field_postgresqlint.text=INT
+SQLGeneratorOptionsPanel.field_postgresqlchar.text=VARCHAR(1)
+SQLGeneratorOptionsPanel.field_postgresqlfloat.text=FLOAT
+SQLGeneratorOptionsPanel.field_postgresqldouble.text=DOUBLE
+SQLGeneratorOptionsPanel.field_postgresqllong.text=BIGINT
+SQLGeneratorOptionsPanel.field_postgresqldate.text=DATE
+SQLGeneratorOptionsPanel.field_postgresqldatetime.text=DATETIME
+SQLGeneratorOptionsPanel.field_postgresqltime.text=TIME
+SQLGeneratorOptionsPanel.field_postgresqltimestamp.text=TIMESTAMP
+SQLGeneratorOptionsPanel.field_postgresqlyear.text=YEAR
+SQLGeneratorOptionsPanel.check_postgreaddnotnull.text=Add "Not null" to generated sql
+SQLGeneratorOptionsPanel.panel_postgresqlcode.border.title=PostgreSQL Code
+SQLGeneratorOptionsPanel.field_postgresqlcodemodifier.text=public
+SQLGeneratorOptionsPanel.check_postgresqlcodestatic.text=Generate static methods
+SQLGeneratorOptionsPanel.check_postgresqlcodecloseconnection.text=Close the given MySQL connection
+SQLGeneratorOptionsPanel.check_postgresqlcodegeneratekeys.text=Return Generated Keys (auto incremented key)
+SQLGeneratorOptionsPanel.field_postgresqlboolean.text=BOOLEAN
+SQLGeneratorOptionsPanel.check_generatejavadoc.text=Generate JavaDoc for the generated Code
Property changes on: trunk/src/de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/src/de/acyrance/nb/sqlgenerator/Configuration/GeneratorConfiguration.java
===================================================================
--- trunk/src/de/acyrance/nb/sqlgenerator/Configuration/GeneratorConfiguration.java (rev 0)
+++ trunk/src/de/acyrance/nb/sqlgenerator/Configuration/GeneratorConfiguration.java 2010-07-21 09:24:57 UTC (rev 2)
@@ -0,0 +1,135 @@
+/*
+ * Netbeans Java SQL Generator
+ *
+ * Copyright (C) 2010 Yves Hoppe. All Rights Reserved.
+ * http://www.acyrance.de
+ *
+ * This file is part of de.acyrance.nb.sqlgenerator (Java SQL Generator)
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. See File LICENSE. If not, see
+ * <http://www.gnu.org/licenses/>.
+ */
+
+package de.acyrance.nb.sqlgenerator.Configuration;
+
+import org.openide.util.NbPreferences;
+
+/**
+ *
+ * @author Yves Hoppe <info at yves-hoppe.de>
+ */
+public class GeneratorConfiguration {
+
+ public static final int MYSQL = 0;
+ public static final int POSTGRESQL = 1;
+
+
+ public static String DEFAULT_GENERATION = "MySQL";
+
+ public static boolean IF_NOT_EXISTS = true;
+ public static boolean CLEAN_VARS = true;
+ public static boolean STRIP_FIRST_UNDERSCORE = true;
+ public static boolean FIRST_CHAR_TO_LOWER_CASE = true;
+ public static boolean VARS_TO_LOWER_CASE = false;
+
+ public static boolean GENERATE_JAVADOC = true;
+
+ public static String MYSQL_STRING = "VARCHAR(255)";
+ public static String MYSQL_CHAR = "VARCHAR(1)";
+ public static String MYSQL_INT = "INT";
+ public static String MYSQL_FLOAT = "FLOAT";
+ public static String MYSQL_DOUBLE = "DOUBLE";
+ public static String MYSQL_LONG = "BIGINT";
+ public static String MYSQL_DATE = "DATE";
+ public static String MYSQL_DATETIME = "DATETIME";
+ public static String MYSQL_TIME = "TIME";
+ public static String MYSQL_TIMESTAMP = "TIMESTAMP";
+ public static String MYSQL_YEAR = "YEAR";
+ public static String MYSQL_BOOLEAN = "BOOLEAN";
+ public static boolean MYSQL_NOTNULL = false;
+
+ public static boolean MYSQLCODE_STATIC = true;
+ public static String MYSQLCODE_MODIFIER = "public";
+ public static boolean MYSQLCODE_CLOSECONNECTION = true;
+ public static boolean MYSQLCODE_GENERATEDKEYS = true;
+
+ public static String POSTGRESQL_STRING = "character varying(255)";
+ public static String POSTGRESQL_CHAR = "character(1)";
+ public static String POSTGRESQL_INT = "integer";
+ public static String POSTGRESQL_FLOAT = "real";
+ public static String POSTGRESQL_DOUBLE = "double precision";
+ public static String POSTGRESQL_LONG = "bigint";
+ public static String POSTGRESQL_DATE = "date";
+ public static String POSTGRESQL_DATETIME = "timestamp";
+ public static String POSTGRESQL_TIME = "time";
+ public static String POSTGRESQL_TIMESTAMP = "timestamp";
+ public static String POSTGRESQL_YEAR = "date";
+ public static String POSTGRESQL_BOOLEAN = "boolean";
+ public static boolean POSTGRESQL_NOTNULL = false;
+
+ public static boolean POSTGRESQLCODE_STATIC = true;
+ public static String POSTGRESQLCODE_MODIFIER = "public";
+ public static boolean POSTGRESQLCODE_CLOSECONNECTION = true;
+ public static boolean POSTGRESQLCODE_GENERATEDKEYS = true;
+
+
+ /**
+ * Reloading, needs updating
+ */
+
+ public static void reload(){
+ DEFAULT_GENERATION = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("defaultGeneration", "MySQL");
+ VARS_TO_LOWER_CASE = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).getBoolean("basicVarstolowercase", false);
+ CLEAN_VARS = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).getBoolean("basicCleanvars", true);
+ STRIP_FIRST_UNDERSCORE = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).getBoolean("basicStripbeginningunderscore", true);
+ FIRST_CHAR_TO_LOWER_CASE = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).getBoolean("basicFirstchartolowercase", true);
+ GENERATE_JAVADOC = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).getBoolean("basicGeneratejavadoc", true);
+
+ MYSQL_STRING = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("mysqlString", "VARCHAR(255)");
+ MYSQL_INT = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("mysqlInt", "INT");
+ MYSQL_CHAR = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("mysqlChar", "VARCHAR(1)");
+ MYSQL_FLOAT = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("mysqlFloat", "FLOAT");
+ MYSQL_DOUBLE = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("mysqlDouble", "DOUBLE");
+ MYSQL_LONG = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("mysqlLong", "LONG");
+ MYSQL_DATE = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("mysqlDate", "DATE");
+ MYSQL_DATETIME = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("mysqlDatetime", "DATETIME");
+ MYSQL_TIME = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("mysqlTime", "TIME");
+ MYSQL_TIMESTAMP = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("mysqlTimestamp", "TIMESTAMP");
+ MYSQL_YEAR = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("mysqlYear", "YEAR");
+ MYSQL_BOOLEAN = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("mysqlBoolean", "BOOLEAN");
+ MYSQLCODE_MODIFIER = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("mysqlCodeModifier", "public");
+ MYSQL_NOTNULL = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).getBoolean("mysqlAddnotnull", false);
+ MYSQLCODE_STATIC = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).getBoolean("mysqlCodeStatic", true);
+ MYSQLCODE_CLOSECONNECTION = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).getBoolean("mysqlCodeCloseconnection", true);
+ MYSQLCODE_GENERATEDKEYS = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).getBoolean("mysqlCodeGeneratedkeys", true);
+
+ POSTGRESQL_STRING = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("postgresqlString", "character varying(255)");
+ POSTGRESQL_CHAR = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("postgresqlChar", "character(1)");
+ POSTGRESQL_INT = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("postgresqlInt", "integer");
+ POSTGRESQL_FLOAT = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("postgresqlFloat", "real");
+ POSTGRESQL_DOUBLE = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("postgresqlDouble", "double precision");
+ POSTGRESQL_LONG = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("postgresqlLong", "bigint");
+ POSTGRESQL_DATE = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("postgresqlDate", "date");
+ POSTGRESQL_DATETIME = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("postgresqlDatetime", "timestamp");
+ POSTGRESQL_TIME = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("postgresqlTime", "time");
+ POSTGRESQL_TIMESTAMP = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("postgresqlTimestamp", "timestamp");
+ POSTGRESQL_YEAR = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("postgresqlYear", "date");
+ POSTGRESQL_BOOLEAN = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).get("postgresqlBoolean", "boolean");
+
+ POSTGRESQL_NOTNULL = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).getBoolean("postgresqlAddnotnull", false);
+ POSTGRESQLCODE_STATIC = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).getBoolean("postgresqlCodeStatic", true);
+ POSTGRESQLCODE_CLOSECONNECTION = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).getBoolean("postgresqlCodeCloseconnection", true);
+ POSTGRESQLCODE_GENERATEDKEYS = NbPreferences.forModule(SQLGeneratorOptionsPanel.class).getBoolean("postgresqlCodeGeneratedkeys", true);
+ }
+}
Property changes on: trunk/src/de/acyrance/nb/sqlgenerator/Configuration/GeneratorConfiguration.java
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/src/de/acyrance/nb/sqlgenerator/Configuration/SQLGeneratorOptionsOptionsPanelController.java
===================================================================
--- trunk/src/de/acyrance/nb/sqlgenerator/Configuration/SQLGeneratorOptionsOptionsPanelController.java (rev 0)
+++ trunk/src/de/acyrance/nb/sqlgenerator/Configuration/SQLGeneratorOptionsOptionsPanelController.java 2010-07-21 09:24:57 UTC (rev 2)
@@ -0,0 +1,95 @@
+/*
+ * Netbeans Java SQL Generator
+ *
+ * Copyright (C) 2010 Yves Hoppe. All Rights Reserved.
+ * http://www.acyrance.de
+ *
+ * This file is part of de.acyrance.nb.sqlgenerator (Java SQL Generator)
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. See File LICENSE. If not, see
+ * <http://www.gnu.org/licenses/>.
+ */
+
+package de.acyrance.nb.sqlgenerator.Configuration;
+
+import java.beans.PropertyChangeListener;
+import java.beans.PropertyChangeSupport;
+import javax.swing.JComponent;
+import org.netbeans.spi.options.OptionsPanelController;
+import org.openide.util.HelpCtx;
+import org.openide.util.Lookup;
+
+@OptionsPanelController.SubRegistration(location = "Advanced",
+displayName = "#AdvancedOption_DisplayName_SQLGeneratorOptions",
+keywords = "#AdvancedOption_Keywords_SQLGeneratorOptions",
+keywordsCategory = "Advanced/SQLGeneratorOptions")
+public final class SQLGeneratorOptionsOptionsPanelController extends OptionsPanelController {
+
+ private SQLGeneratorOptionsPanel panel;
+ private final PropertyChangeSupport pcs = new PropertyChangeSupport(this);
+ private boolean changed;
+
+ public void update() {
+ getPanel().load();
+ changed = false;
+ }
+
+ public void applyChanges() {
+ getPanel().store();
+ changed = false;
+ }
+
+ public void cancel() {
+ // need not do anything special, if no changes have been persisted yet
+ }
+
+ public boolean isValid() {
+ return getPanel().valid();
+ }
+
+ public boolean isChanged() {
+ return changed;
+ }
+
+ public HelpCtx getHelpCtx() {
+ return null; // new HelpCtx("...ID") if you have a help set
+ }
+
+ public JComponent getComponent(Lookup masterLookup) {
+ return getPanel();
+ }
+
+ public void addPropertyChangeListener(PropertyChangeListener l) {
+ pcs.addPropertyChangeListener(l);
+ }
+
+ public void removePropertyChangeListener(PropertyChangeListener l) {
+ pcs.removePropertyChangeListener(l);
+ }
+
+ private SQLGeneratorOptionsPanel getPanel() {
+ if (panel == null) {
+ panel = new SQLGeneratorOptionsPanel(this);
+ }
+ return panel;
+ }
+
+ void changed() {
+ if (!changed) {
+ changed = true;
+ pcs.firePropertyChange(OptionsPanelController.PROP_CHANGED, false, true);
+ }
+ pcs.firePropertyChange(OptionsPanelController.PROP_VALID, null, null);
+ }
+}
Property changes on: trunk/src/de/acyrance/nb/sqlgenerator/Configuration/SQLGeneratorOptionsOptionsPanelController.java
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/src/de/acyrance/nb/sqlgenerator/Configuration/SQLGeneratorOptionsPanel.form
===================================================================
--- trunk/src/de/acyrance/nb/sqlgenerator/Configuration/SQLGeneratorOptionsPanel.form (rev 0)
+++ trunk/src/de/acyrance/nb/sqlgenerator/Configuration/SQLGeneratorOptionsPanel.form 2010-07-21 09:24:57 UTC (rev 2)
@@ -0,0 +1,1176 @@
+<?xml version="1.1" encoding="UTF-8" ?>
+
+<Form version="1.4" maxVersion="1.7" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
+ <AuxValues>
+ <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="1"/>
+ <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="true"/>
+ <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="true"/>
+ <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/>
+ <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
+ <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
+ <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
+ </AuxValues>
+
+ <Layout>
+ <DimensionLayout dim="0">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Component id="pane_options" alignment="0" pref="407" max="32767" attributes="0"/>
+ </Group>
+ </DimensionLayout>
+ <DimensionLayout dim="1">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Component id="pane_options" alignment="0" pref="631" max="32767" attributes="0"/>
+ </Group>
+ </DimensionLayout>
+ </Layout>
+ <SubComponents>
+ <Container class="javax.swing.JTabbedPane" name="pane_options">
+
+ <Layout class="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout"/>
+ <SubComponents>
+ <Container class="javax.swing.JPanel" name="panel_basic">
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription">
+ <JTabbedPaneConstraints tabName="Basic">
+ <Property name="tabTitle" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.panel_basic.TabConstraints.tabTitle" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
+ </Property>
+ </JTabbedPaneConstraints>
+ </Constraint>
+ </Constraints>
+
+ <Layout>
+ <DimensionLayout dim="0">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" attributes="0">
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <Component id="jLabel1" min="-2" max="-2" attributes="0"/>
+ <EmptySpace pref="114" max="32767" attributes="0"/>
+ <Component id="combo_defaultgeneration" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Component id="check_ifnotexists1" alignment="0" min="-2" max="-2" attributes="0"/>
+ <Component id="panel_varoptions" alignment="1" max="32767" attributes="0"/>
+ <Component id="check_generatejavadoc" alignment="0" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ </DimensionLayout>
+ <DimensionLayout dim="1">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace min="-2" pref="20" max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="combo_defaultgeneration" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Component id="check_ifnotexists1" min="-2" max="-2" attributes="0"/>
+ <EmptySpace max="-2" attributes="0"/>
+ <Component id="check_generatejavadoc" min="-2" max="-2" attributes="0"/>
+ <EmptySpace min="-2" pref="50" max="-2" attributes="0"/>
+ <Component id="panel_varoptions" min="-2" max="-2" attributes="0"/>
+ <EmptySpace pref="282" max="32767" attributes="0"/>
+ </Group>
+ </Group>
+ </DimensionLayout>
+ </Layout>
+ <SubComponents>
+ <Component class="javax.swing.JLabel" name="jLabel1">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.jLabel1.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JComboBox" name="combo_defaultgeneration">
+ <Properties>
+ <Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
+ <StringArray count="2">
+ <StringItem index="0" value="MySQL"/>
+ <StringItem index="1" value="PostgreSQL"/>
+ </StringArray>
+ </Property>
+ </Properties>
+ </Component>
+ <Container class="javax.swing.JPanel" name="panel_varoptions">
+ <Properties>
+ <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
+ <Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo">
+ <TitledBorder title="Variable Options">
+ <ResourceString PropertyName="titleX" bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.panel_varoptions.border.title" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
+ </TitledBorder>
+ </Border>
+ </Property>
+ </Properties>
+
+ <Layout>
+ <DimensionLayout dim="0">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" attributes="0">
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Component id="check_cleanvars" alignment="0" min="-2" max="-2" attributes="0"/>
+ <Component id="check_stripfirstunderscore" alignment="0" min="-2" max="-2" attributes="0"/>
+ <Component id="check_firstchartolowercase" alignment="0" min="-2" max="-2" attributes="0"/>
+ <Component id="check_varstolowercase" alignment="0" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace pref="52" max="32767" attributes="0"/>
+ </Group>
+ </Group>
+ </DimensionLayout>
+ <DimensionLayout dim="1">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <EmptySpace max="-2" attributes="0"/>
+ <Component id="check_cleanvars" min="-2" max="-2" attributes="0"/>
+ <EmptySpace max="-2" attributes="0"/>
+ <Component id="check_stripfirstunderscore" min="-2" max="-2" attributes="0"/>
+ <EmptySpace max="-2" attributes="0"/>
+ <Component id="check_firstchartolowercase" min="-2" max="-2" attributes="0"/>
+ <EmptySpace max="-2" attributes="0"/>
+ <Component id="check_varstolowercase" min="-2" max="-2" attributes="0"/>
+ <EmptySpace max="32767" attributes="0"/>
+ </Group>
+ </Group>
+ </DimensionLayout>
+ </Layout>
+ <SubComponents>
+ <Component class="javax.swing.JCheckBox" name="check_varstolowercase">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.check_varstolowercase.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JCheckBox" name="check_cleanvars">
+ <Properties>
+ <Property name="selected" type="boolean" value="true"/>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.check_cleanvars.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
+ </Property>
+ </Properties>
+ <Events>
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="check_cleanvarsActionPerformed"/>
+ </Events>
+ </Component>
+ <Component class="javax.swing.JCheckBox" name="check_stripfirstunderscore">
+ <Properties>
+ <Property name="selected" type="boolean" value="true"/>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.check_stripfirstunderscore.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
+ </Property>
+ </Properties>
+ <Events>
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="check_stripfirstunderscoreActionPerformed"/>
+ </Events>
+ </Component>
+ <Component class="javax.swing.JCheckBox" name="check_firstchartolowercase">
+ <Properties>
+ <Property name="selected" type="boolean" value="true"/>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.check_firstchartolowercase.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
+ </Property>
+ </Properties>
+ <Events>
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="check_firstchartolowercaseActionPerformed"/>
+ </Events>
+ </Component>
+ </SubComponents>
+ </Container>
+ <Component class="javax.swing.JCheckBox" name="check_ifnotexists1">
+ <Properties>
+ <Property name="selected" type="boolean" value="true"/>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.check_ifnotexists1.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
+ </Property>
+ </Properties>
+ <Events>
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="check_ifnotexists1ActionPerformed"/>
+ </Events>
+ </Component>
+ <Component class="javax.swing.JCheckBox" name="check_generatejavadoc">
+ <Properties>
+ <Property name="selected" type="boolean" value="true"/>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.check_generatejavadoc.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
+ </Property>
+ </Properties>
+ <Events>
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="check_generatejavadocActionPerformed"/>
+ </Events>
+ </Component>
+ </SubComponents>
+ </Container>
+ <Container class="javax.swing.JPanel" name="panel_mysql">
+ <Constraints>
+ <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription">
+ <JTabbedPaneConstraints tabName="MySQL">
+ <Property name="tabTitle" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="de/acyrance/nb/sqlgenerator/Configuration/Bundle.properties" key="SQLGeneratorOptionsPanel.panel_mysql.TabConstraints.tabTitle" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
+ </Property>
+ </JTabbedPaneConstraints>
+ </Constraint>
+ </Constraints>
+
+ <Layout>
+ <DimensionLayout dim="0">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" attributes="0">
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="1" attributes="0">
+ <Component id="jLabel2" min="-2" max="-2" attributes="0"/>
+ <EmptySpace pref="124" max="32767" attributes="0"/>
+ <Component id="field_mysqlstring" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <Component id="jLabel3" min="-2" max="-2" attributes="0"/>
+ <EmptySpace pref="201" max="32767" attributes="0"/>
+ <Component id="field_mysqlint" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <Component id="jLabel4" min="-2" max="-2" attributes="0"/>
+ <EmptySpace pref="137" max="32767" attributes="0"/>
+ <Component id="field_mysqlchar" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <Component id="jLabel5" min="-2" max="-2" attributes="0"/>
+ <EmptySpace pref="186" max="32767" attributes="0"/>
+ <Component id="field_mysqlfloat" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="102" alignment="1" attributes="0">
+ <Component id="jLabel6" min="-2" max="-2" attributes="0"/>
+ <EmptySpace pref="173" max="32767" attributes="0"/>
+ <Component id="field_mysqldouble" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <Component id="jLabel7" min="-2" max="-2" attributes="0"/>
+ <EmptySpace pref="187" max="32767" attributes="0"/>
+ <Component id="field_mysqllong" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <Component id="jLabel8" min="-2" max="-2" attributes="0"/>
+ <EmptySpace pref="187" max="32767" attributes="0"/>
+ <Component id="field_mysqldate" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <Component id="jLabel9" min="-2" max="-2" attributes="0"/>
+ <EmptySpace pref="158" max="32767" attributes="0"/>
+ <Component id="field_mysqldatetime" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <Component id="jLabel10" min="-2" max="-2" attributes="0"/>
+ <EmptySpace pref="188" max="32767" attributes="0"/>
+ <Component id="field_mysqltime" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Component id="panel_mysqlcode" alignment="0" max="32767" attributes="0"/>
+ <Component id="jSeparator1" alignment="0" pref="371" max="32767" attributes="0"/>
+ <Component id="check_addnotnull" alignment="0" min="-2" max="-2" attributes="0"/>
+ <Group type="102" alignment="1" attributes="0">
+ <Component id="jLabel11" min="-2" max="-2" attributes="0"/>
+ <EmptySpace pref="189" max="32767" attributes="0"/>
+ <Component id="field_mysqlyear" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <Component id="jLabel12" min="-2" max="-2" attributes="0"/>
+ <EmptySpace pref="170" max="32767" attributes="0"/>
+ <Component id="field_mysqlboolean" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <Component id="jLabel14" min="-2" max="-2" attributes="0"/>
+ <EmptySpace pref="149" max="32767" attributes="0"/>
+ <Component id="field_mysqltimestamp" min="-2" max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ </DimensionLayout>
+ <DimensionLayout dim="1">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" attributes="0">
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="field_mysqlstring" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="field_mysqlint" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jLabel3" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="field_mysqlchar" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jLabel4" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="field_mysqlfloat" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jLabel5" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="field_mysqldouble" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jLabel6" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="field_mysqllong" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jLabel7" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="field_mysqldate" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jLabel8" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="field_mysqldatetime" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jLabel9" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="field_mysqltime" alignment="3" min="-2" max...
[truncated message content] |
|
From: <yh...@us...> - 2010-07-21 09:22:50
|
Revision: 1
http://netbeansjavasql.svn.sourceforge.net/netbeansjavasql/?rev=1&view=rev
Author: yhoppe
Date: 2010-07-21 09:22:44 +0000 (Wed, 21 Jul 2010)
Log Message:
-----------
Initial import of the plugins sources including netbeans preferences
Added Paths:
-----------
trunk/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|