From 0a8552a42e0c934ffbdabc83c095fea99ddc972f Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Fri, 25 Mar 2011 21:01:05 -0500 Subject: [PATCH] Revert ModelGeneratorDialog wrongly committed with personal params --- .../src/org/adempiere/util/ModelGeneratorDialog.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/org.adempiere.base/src/org/adempiere/util/ModelGeneratorDialog.java b/org.adempiere.base/src/org/adempiere/util/ModelGeneratorDialog.java index a2dd6b6852..7945b18392 100644 --- a/org.adempiere.base/src/org/adempiere/util/ModelGeneratorDialog.java +++ b/org.adempiere.base/src/org/adempiere/util/ModelGeneratorDialog.java @@ -63,7 +63,7 @@ public class ModelGeneratorDialog extends JDialog implements ActionListener { Panel filePanel = new Panel(); filePanel.setLayout(new BorderLayout()); - fFolderName = new JTextField("/home/carlos/hgAdempiere/localosgi/org.adempiere.base/src"); + fFolderName = new JTextField(); filePanel.add(fFolderName, BorderLayout.CENTER); bFolder = new JButton("..."); bFolder.setMargin(new Insets(0, 0, 0, 0)); @@ -73,22 +73,22 @@ public class ModelGeneratorDialog extends JDialog implements ActionListener { bFolder.addActionListener(this); mainPanel.add(new JLabel("Package Name")); - fPackageName = new JTextField("org.compiere.model"); + fPackageName = new JTextField("org.adempiere.model"); mainPanel.add(fPackageName); mainPanel.add(new JLabel("Table Name")); - fTableName = new JTextField("AD_Role"); + fTableName = new JTextField("%"); mainPanel.add(fTableName); mainPanel.add(new JLabel("Entity Type")); - fEntityType = new JTextField("D"); + fEntityType = new JTextField("U,A"); mainPanel.add(fEntityType); fGenerateInterface = new JCheckBox("Generate Interface"); fGenerateInterface.setSelected(true); mainPanel.add(fGenerateInterface); fGenerateClass = new JCheckBox("Generate Class"); - fGenerateClass.setSelected(true); + fGenerateClass.setSelected(false); mainPanel.add(fGenerateClass); bGenerate = new JButton("Generate Source");