JBoss Tools SVN: r8794 - trunk/jsf/plugins/org.jboss.tools.jsf.text.ext/src/org/jboss/tools/jsf/text/ext/hyperlink.
by jbosstools-commits@lists.jboss.org
Author: vrubezhny
Date: 2008-06-16 09:54:19 -0400 (Mon, 16 Jun 2008)
New Revision: 8794
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.text.ext/src/org/jboss/tools/jsf/text/ext/hyperlink/JSPExprHyperlinkPartitioner.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-2333 java.lang.NullPointerException when make openOn on EL w/o atribute.
Issue is fixed
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.text.ext/src/org/jboss/tools/jsf/text/ext/hyperlink/JSPExprHyperlinkPartitioner.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.text.ext/src/org/jboss/tools/jsf/text/ext/hyperlink/JSPExprHyperlinkPartitioner.java 2008-06-16 13:04:39 UTC (rev 8793)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.text.ext/src/org/jboss/tools/jsf/text/ext/hyperlink/JSPExprHyperlinkPartitioner.java 2008-06-16 13:54:19 UTC (rev 8794)
@@ -90,7 +90,9 @@
String valText = (n instanceof IDOMAttr)?
((IDOMAttr)n).getValueRegionText():
((IDOMText)n).getData();
-
+ if (valText == null)
+ return null;
+
int startBracket = 0;
int exprStart = 0;
int exprLength = 0;
17 years, 10 months
JBoss Tools SVN: r8793 - in trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui: src/org/jboss/tools/hibernate/jpt/ui/internal/platform and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: dgeraskov
Date: 2008-06-16 09:04:39 -0400 (Mon, 16 Jun 2008)
New Revision: 8793
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/META-INF/MANIFEST.MF
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/src/org/jboss/tools/hibernate/jpt/ui/internal/platform/HibernatePlatformUI.java
Log:
method to change moved to the top.
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/META-INF/MANIFEST.MF
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/META-INF/MANIFEST.MF 2008-06-16 12:42:49 UTC (rev 8792)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/META-INF/MANIFEST.MF 2008-06-16 13:04:39 UTC (rev 8793)
@@ -6,7 +6,8 @@
Bundle-Activator: org.jboss.tools.hibernate.jpt.ui.HibernateJptUIPlugin
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
- org.eclipse.jpt.ui
+ org.eclipse.jpt.ui,
+ org.eclipse.jpt.core;bundle-version="2.0.0"
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Bundle-Vendor: Hibernate Team
Modified: trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/src/org/jboss/tools/hibernate/jpt/ui/internal/platform/HibernatePlatformUI.java
===================================================================
--- trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/src/org/jboss/tools/hibernate/jpt/ui/internal/platform/HibernatePlatformUI.java 2008-06-16 12:42:49 UTC (rev 8792)
+++ trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.ui/src/org/jboss/tools/hibernate/jpt/ui/internal/platform/HibernatePlatformUI.java 2008-06-16 13:04:39 UTC (rev 8793)
@@ -10,6 +10,9 @@
******************************************************************************/
package org.jboss.tools.hibernate.jpt.ui.internal.platform;
+import org.eclipse.jface.viewers.IStructuredSelection;
+import org.eclipse.jpt.core.JpaProject;
+import org.eclipse.jpt.ui.internal.platform.base.EntitiesGenerator;
import org.eclipse.jpt.ui.internal.platform.generic.GenericPlatformUi;
/**
@@ -17,5 +20,13 @@
*
*/
public class HibernatePlatformUI extends GenericPlatformUi {
+
+ /**
+ * Change method realization to provide other entities generation.
+ */
+ @Override
+ public void generateEntities(JpaProject project, IStructuredSelection selection) {
+ EntitiesGenerator.generate(project, selection);
+ }
}
17 years, 10 months
JBoss Tools SVN: r8792 - branches/jbosstools-2.1.x/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el.
by jbosstools-commits@lists.jboss.org
Author: vrubezhny
Date: 2008-06-16 08:42:49 -0400 (Mon, 16 Jun 2008)
New Revision: 8792
Modified:
branches/jbosstools-2.1.x/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamELOperandTokenizer.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-2329 There is a java.lang.IndexOutOfBoundsException if we try use hiperlinks on some EL.
Issue is fixed
Modified: branches/jbosstools-2.1.x/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamELOperandTokenizer.java
===================================================================
--- branches/jbosstools-2.1.x/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamELOperandTokenizer.java 2008-06-16 12:26:58 UTC (rev 8791)
+++ branches/jbosstools-2.1.x/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamELOperandTokenizer.java 2008-06-16 12:42:49 UTC (rev 8792)
@@ -293,6 +293,9 @@
if ((backSlashCount/2)*2 == backSlashCount) {
return;
}
+ } else {
+ releaseChar(); // Return the last non-slash char to the buffer
+ return;
}
}
ch = readCharBackward();
17 years, 10 months
JBoss Tools SVN: r8791 - trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el.
by jbosstools-commits@lists.jboss.org
Author: vrubezhny
Date: 2008-06-16 08:26:58 -0400 (Mon, 16 Jun 2008)
New Revision: 8791
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamELOperandTokenizer.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-2329 There is a java.lang.IndexOutOfBoundsException if we try use hiperlinks on some EL.
Issue is fixed
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamELOperandTokenizer.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamELOperandTokenizer.java 2008-06-16 11:45:41 UTC (rev 8790)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/el/SeamELOperandTokenizer.java 2008-06-16 12:26:58 UTC (rev 8791)
@@ -293,6 +293,9 @@
if ((backSlashCount/2)*2 == backSlashCount) {
return;
}
+ } else {
+ releaseChar(); // Return the last non-slash char to the buffer
+ return;
}
}
ch = readCharBackward();
17 years, 10 months
JBoss Tools SVN: r8790 - branches/jbosstools-2.1.x/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/scanner/xml.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2008-06-16 07:45:41 -0400 (Mon, 16 Jun 2008)
New Revision: 8790
Modified:
branches/jbosstools-2.1.x/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/scanner/xml/XMLScanner.java
Log:
JBIDE-2327
Modified: branches/jbosstools-2.1.x/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/scanner/xml/XMLScanner.java
===================================================================
--- branches/jbosstools-2.1.x/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/scanner/xml/XMLScanner.java 2008-06-16 11:44:25 UTC (rev 8789)
+++ branches/jbosstools-2.1.x/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/scanner/xml/XMLScanner.java 2008-06-16 11:45:41 UTC (rev 8790)
@@ -102,6 +102,7 @@
COMMON_ATTRIBUTES.add(ISeamXmlComponentDeclaration.INSTALLED);
COMMON_ATTRIBUTES.add(ISeamXmlComponentDeclaration.AUTO_CREATE);
COMMON_ATTRIBUTES.add(ISeamXmlComponentDeclaration.JNDI_NAME);
+ COMMON_ATTRIBUTES.add(ISeamXmlComponentDeclaration.STARTUP);
INTERNAL_ATTRIBUTES.add("NAME"); //$NON-NLS-1$
INTERNAL_ATTRIBUTES.add("EXTENSION"); //$NON-NLS-1$
17 years, 10 months
JBoss Tools SVN: r8789 - trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/scanner/xml.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2008-06-16 07:44:25 -0400 (Mon, 16 Jun 2008)
New Revision: 8789
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/scanner/xml/XMLScanner.java
Log:
JBIDE-2327
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/scanner/xml/XMLScanner.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/scanner/xml/XMLScanner.java 2008-06-16 11:43:26 UTC (rev 8788)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/scanner/xml/XMLScanner.java 2008-06-16 11:44:25 UTC (rev 8789)
@@ -102,6 +102,7 @@
COMMON_ATTRIBUTES.add(ISeamXmlComponentDeclaration.INSTALLED);
COMMON_ATTRIBUTES.add(ISeamXmlComponentDeclaration.AUTO_CREATE);
COMMON_ATTRIBUTES.add(ISeamXmlComponentDeclaration.JNDI_NAME);
+ COMMON_ATTRIBUTES.add(ISeamXmlComponentDeclaration.STARTUP);
INTERNAL_ATTRIBUTES.add("NAME"); //$NON-NLS-1$
INTERNAL_ATTRIBUTES.add("EXTENSION"); //$NON-NLS-1$
17 years, 10 months
JBoss Tools SVN: r8788 - branches/jbosstools-2.1.x/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2008-06-16 07:43:26 -0400 (Mon, 16 Jun 2008)
New Revision: 8788
Modified:
branches/jbosstools-2.1.x/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamXmlComponentDeclaration.java
Log:
JBIDE-2327
Modified: branches/jbosstools-2.1.x/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamXmlComponentDeclaration.java
===================================================================
--- branches/jbosstools-2.1.x/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamXmlComponentDeclaration.java 2008-06-16 11:41:26 UTC (rev 8787)
+++ branches/jbosstools-2.1.x/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamXmlComponentDeclaration.java 2008-06-16 11:43:26 UTC (rev 8788)
@@ -26,6 +26,7 @@
public final static String INSTALLED = "installed"; //$NON-NLS-1$
public final static String AUTO_CREATE = "auto-create"; //$NON-NLS-1$
public final static String JNDI_NAME = "jndi-name"; //$NON-NLS-1$
+ public final static String STARTUP = "startup"; //$NON-NLS-1$
/**
* @return scope type
17 years, 10 months
JBoss Tools SVN: r8787 - trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2008-06-16 07:41:26 -0400 (Mon, 16 Jun 2008)
New Revision: 8787
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamXmlComponentDeclaration.java
Log:
JBIDE-2327
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamXmlComponentDeclaration.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamXmlComponentDeclaration.java 2008-06-16 11:39:08 UTC (rev 8786)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamXmlComponentDeclaration.java 2008-06-16 11:41:26 UTC (rev 8787)
@@ -26,6 +26,7 @@
public final static String INSTALLED = "installed"; //$NON-NLS-1$
public final static String AUTO_CREATE = "auto-create"; //$NON-NLS-1$
public final static String JNDI_NAME = "jndi-name"; //$NON-NLS-1$
+ public final static String STARTUP = "startup"; //$NON-NLS-1$
/**
* @return scope type
17 years, 10 months
JBoss Tools SVN: r8785 - branches/jbosstools-2.1.x/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2008-06-16 07:24:47 -0400 (Mon, 16 Jun 2008)
New Revision: 8785
Modified:
branches/jbosstools-2.1.x/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamCoreValidator.java
branches/jbosstools-2.1.x/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamValidationHelper.java
branches/jbosstools-2.1.x/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/messages.properties
Log:
http://jira.jboss.com/jira/browse/JBIDE-2328 Fixed in trunk and brunch 2.1.*
Modified: branches/jbosstools-2.1.x/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamCoreValidator.java
===================================================================
--- branches/jbosstools-2.1.x/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamCoreValidator.java 2008-06-16 11:15:03 UTC (rev 8784)
+++ branches/jbosstools-2.1.x/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamCoreValidator.java 2008-06-16 11:24:47 UTC (rev 8785)
@@ -23,12 +23,10 @@
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.jdt.core.Flags;
import org.eclipse.jdt.core.IMember;
import org.eclipse.jdt.core.IMethod;
import org.eclipse.jdt.core.IType;
-import org.eclipse.jdt.core.ITypeHierarchy;
import org.eclipse.jdt.core.JavaModelException;
import org.eclipse.osgi.util.NLS;
import org.eclipse.wst.validation.internal.core.ValidationException;
@@ -465,7 +463,7 @@
if(name==null) {
return;
}
- boolean ok = type.isBinary() || coreHelper.findSetter(type, name)!=null;
+ boolean ok = type.isBinary() || coreHelper.findProperty(type, name)!=null;
if(!ok) {
addError(UNKNOWN_COMPONENT_PROPERTY_MESSAGE_ID, SeamPreferences.UNKNOWN_COMPONENT_PROPERTY, new String[]{type.getElementName(), componentName, name}, property, declaration.getResource());
}
Modified: branches/jbosstools-2.1.x/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamValidationHelper.java
===================================================================
--- branches/jbosstools-2.1.x/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamValidationHelper.java 2008-06-16 11:15:03 UTC (rev 8784)
+++ branches/jbosstools-2.1.x/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamValidationHelper.java 2008-06-16 11:24:47 UTC (rev 8785)
@@ -16,7 +16,9 @@
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.IPath;
+import org.eclipse.jdt.core.IField;
import org.eclipse.jdt.core.IJavaProject;
+import org.eclipse.jdt.core.IMember;
import org.eclipse.jdt.core.IMethod;
import org.eclipse.jdt.core.IPackageFragment;
import org.eclipse.jdt.core.IType;
@@ -168,7 +170,7 @@
return null;
}
String className = fileName.substring(0, firstDot);
- IProject p = getProject().getProject();
+ IProject p = getProject();
try {
IJavaProject jp = EclipseResourceUtil.getJavaProject(p);
IPackageFragment packageFragment = jp.findPackageFragment(componentXmlFile.getFullPath().removeLastSegments(1));
@@ -183,33 +185,41 @@
}
/**
- * Find setter for property
+ * Find a setter or a field for a property.
* @param type
* @param propertyName
- * @return
+ * @return IMethod (setter) or IFiled (field)
*/
- public IMethod findSetter(IType type, String propertyName) {
+ public IMember findProperty(IType type, String propertyName) {
if(propertyName == null || propertyName.length()==0) {
return null;
}
- String firstLetter = propertyName.substring(0, 1).toUpperCase();
- String nameWithoutFirstLetter = propertyName.substring(1);
- String setterName = "set" + firstLetter + nameWithoutFirstLetter; //$NON-NLS-1$
try {
- return findSetterInHierarchy(type, setterName);
+ return findPropertyInHierarchy(type, propertyName);
} catch (JavaModelException e) {
SeamCorePlugin.getDefault().logError(e);
}
return null;
}
- private IMethod findSetterInHierarchy(IType type, String setterName) throws JavaModelException {
+ private IMember findPropertyInHierarchy(IType type, String propertyName) throws JavaModelException {
+ String firstLetter = propertyName.substring(0, 1).toUpperCase();
+ String nameWithoutFirstLetter = propertyName.substring(1);
+ String setterName = "set" + firstLetter + nameWithoutFirstLetter; //$NON-NLS-1$
+
IMethod[] methods = type.getMethods();
for (int i = 0; i < methods.length; i++) {
if(methods[i].getElementName().equals(setterName) && methods[i].getParameterNames().length==1) {
return methods[i];
}
}
+ IField[] fields = type.getFields();
+ for (int i = 0; i < fields.length; i++) {
+ if(fields[i].getElementName().equals(propertyName)) {
+ return fields[i];
+ }
+ }
+
String superclassName = type.getSuperclassName();
if(superclassName!=null) {
String[][] packages = type.resolveType(superclassName);
@@ -224,9 +234,9 @@
String qName = packageName + packages[i][1];
IType superclass = type.getJavaProject().findType(qName);
if(superclass!=null) {
- IMethod method = findSetterInHierarchy(superclass, setterName);
- if(method!=null) {
- return method;
+ IMember property = findPropertyInHierarchy(superclass, propertyName);
+ if(property!=null) {
+ return property;
}
}
}
Modified: branches/jbosstools-2.1.x/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/messages.properties
===================================================================
--- branches/jbosstools-2.1.x/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/messages.properties 2008-06-16 11:15:03 UTC (rev 8784)
+++ branches/jbosstools-2.1.x/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/messages.properties 2008-06-16 11:24:47 UTC (rev 8785)
@@ -14,7 +14,7 @@
STATEFUL_COMPONENT_DOES_NOT_CONTAIN_DESTROY=Stateful component "{0}" must have a method marked @Destroy
STATEFUL_COMPONENT_WRONG_SCOPE=Stateful component "{0}" should not have org.jboss.seam.ScopeType.PAGE, nor org.jboss.seam.ScopeType.STATELESS
UNKNOWN_COMPONENT_CLASS_NAME="{0}" cannot be resolved to a type
-UNKNOWN_COMPONENT_PROPERTY=Class "{0}" of component "{1}" does not contain setter for property "{2}"
+UNKNOWN_COMPONENT_PROPERTY=Class "{0}" of component "{1}" does not have a setter or a field for the property "{2}"
#Entities
ENTITY_COMPONENT_WRONG_SCOPE=Entity component "{0}" should not have org.jboss.seam.ScopeType.STATELESS
17 years, 10 months
JBoss Tools SVN: r8784 - trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2008-06-16 07:15:03 -0400 (Mon, 16 Jun 2008)
New Revision: 8784
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamCoreValidator.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-2328 Fixed in trunk and brunch 2.1.*
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamCoreValidator.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamCoreValidator.java 2008-06-16 11:14:41 UTC (rev 8783)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation/SeamCoreValidator.java 2008-06-16 11:15:03 UTC (rev 8784)
@@ -23,12 +23,10 @@
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.jdt.core.Flags;
import org.eclipse.jdt.core.IMember;
import org.eclipse.jdt.core.IMethod;
import org.eclipse.jdt.core.IType;
-import org.eclipse.jdt.core.ITypeHierarchy;
import org.eclipse.jdt.core.JavaModelException;
import org.eclipse.osgi.util.NLS;
import org.eclipse.wst.validation.internal.core.ValidationException;
@@ -465,7 +463,7 @@
if(name==null) {
return;
}
- boolean ok = type.isBinary() || coreHelper.findSetter(type, name)!=null;
+ boolean ok = type.isBinary() || coreHelper.findProperty(type, name)!=null;
if(!ok) {
addError(UNKNOWN_COMPONENT_PROPERTY_MESSAGE_ID, SeamPreferences.UNKNOWN_COMPONENT_PROPERTY, new String[]{type.getElementName(), componentName, name}, property, declaration.getResource());
}
17 years, 10 months