Revert ModelGeneratorDialog wrongly committed with personal params

This commit is contained in:
Carlos Ruiz 2011-03-25 21:01:05 -05:00
parent 29c30b7df0
commit 0a8552a42e
1 changed files with 5 additions and 5 deletions

View File

@ -63,7 +63,7 @@ public class ModelGeneratorDialog extends JDialog implements ActionListener {
Panel filePanel = new Panel(); Panel filePanel = new Panel();
filePanel.setLayout(new BorderLayout()); filePanel.setLayout(new BorderLayout());
fFolderName = new JTextField("/home/carlos/hgAdempiere/localosgi/org.adempiere.base/src"); fFolderName = new JTextField();
filePanel.add(fFolderName, BorderLayout.CENTER); filePanel.add(fFolderName, BorderLayout.CENTER);
bFolder = new JButton("..."); bFolder = new JButton("...");
bFolder.setMargin(new Insets(0, 0, 0, 0)); bFolder.setMargin(new Insets(0, 0, 0, 0));
@ -73,22 +73,22 @@ public class ModelGeneratorDialog extends JDialog implements ActionListener {
bFolder.addActionListener(this); bFolder.addActionListener(this);
mainPanel.add(new JLabel("Package Name")); mainPanel.add(new JLabel("Package Name"));
fPackageName = new JTextField("org.compiere.model"); fPackageName = new JTextField("org.adempiere.model");
mainPanel.add(fPackageName); mainPanel.add(fPackageName);
mainPanel.add(new JLabel("Table Name")); mainPanel.add(new JLabel("Table Name"));
fTableName = new JTextField("AD_Role"); fTableName = new JTextField("%");
mainPanel.add(fTableName); mainPanel.add(fTableName);
mainPanel.add(new JLabel("Entity Type")); mainPanel.add(new JLabel("Entity Type"));
fEntityType = new JTextField("D"); fEntityType = new JTextField("U,A");
mainPanel.add(fEntityType); mainPanel.add(fEntityType);
fGenerateInterface = new JCheckBox("Generate Interface"); fGenerateInterface = new JCheckBox("Generate Interface");
fGenerateInterface.setSelected(true); fGenerateInterface.setSelected(true);
mainPanel.add(fGenerateInterface); mainPanel.add(fGenerateInterface);
fGenerateClass = new JCheckBox("Generate Class"); fGenerateClass = new JCheckBox("Generate Class");
fGenerateClass.setSelected(true); fGenerateClass.setSelected(false);
mainPanel.add(fGenerateClass); mainPanel.add(fGenerateClass);
bGenerate = new JButton("Generate Source"); bGenerate = new JButton("Generate Source");