Author: dgolovin
Date: 2007-10-09 03:56:22 -0400 (Tue, 09 Oct 2007)
New Revision: 4074
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamEntityWizardPage1.java
Log:
http://jira.jboss.org/jira/browse/JBIDE-1023
fields name have been adusted to fix NPE
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamEntityWizardPage1.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamEntityWizardPage1.java 2007-10-09
07:31:55 UTC (rev 4073)
+++
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamEntityWizardPage1.java 2007-10-09
07:56:22 UTC (rev 4074)
@@ -60,9 +60,8 @@
public void doFillDefaults(PropertyChangeEvent event) {
if(event.getPropertyName().equals(IParameter.SEAM_ENTITY_CLASS_NAME)) {
if(event.getNewValue()==null||"".equals(event.getNewValue().toString().trim()))
{ //$NON-NLS-1$
- setDefaultValue(IParameter.SEAM_COMPONENT_NAME, ""); //$NON-NLS-1$
- setDefaultValue(IParameter.SEAM_LOCAL_INTERFACE_NAME, ""); //$NON-NLS-1$
- setDefaultValue(IParameter.SEAM_METHOD_NAME, ""); //$NON-NLS-1$
+ setDefaultValue(IParameter.SEAM_ENTITY_CLASS_NAME, ""); //$NON-NLS-1$
+ setDefaultValue(IParameter.SEAM_MASTER_PAGE_NAME, ""); //$NON-NLS-1$
setDefaultValue(IParameter.SEAM_PAGE_NAME, ""); //$NON-NLS-1$
} else {
String value = event.getNewValue().toString();