|
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] |