Author: scabanovich
Date: 2011-10-06 19:49:12 -0400 (Thu, 06 Oct 2011)
New Revision: 35443
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.seam.config.ui/src/org/jboss/tools/cdi/seam/config/ui/preferences/CDISeamConfigurationBlockDescriptionProvider.java
trunk/cdi/plugins/org.jboss.tools.cdi.seam.config.ui/src/org/jboss/tools/cdi/seam/config/ui/preferences/CDISeamPreferencesMessages.java
trunk/cdi/plugins/org.jboss.tools.cdi.seam.config.ui/src/org/jboss/tools/cdi/seam/config/ui/preferences/CDISeamPreferencesMessages.properties
Log:
JBIDE-9834
https://issues.jboss.org/browse/JBIDE-9834
Preferences for validation of configuring abstract types and types without bean
constructors is added.
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.seam.config.ui/src/org/jboss/tools/cdi/seam/config/ui/preferences/CDISeamConfigurationBlockDescriptionProvider.java
===================================================================
---
trunk/cdi/plugins/org.jboss.tools.cdi.seam.config.ui/src/org/jboss/tools/cdi/seam/config/ui/preferences/CDISeamConfigurationBlockDescriptionProvider.java 2011-10-06
23:47:29 UTC (rev 35442)
+++
trunk/cdi/plugins/org.jboss.tools.cdi.seam.config.ui/src/org/jboss/tools/cdi/seam/config/ui/preferences/CDISeamConfigurationBlockDescriptionProvider.java 2011-10-06
23:49:12 UTC (rev 35443)
@@ -21,6 +21,8 @@
{CDISeamConfigPreferences.UNRESOLVED_METHOD,
CDISeamPreferencesMessages.CDIValidatorConfigurationBlock_pb_unresolvedMethod_label},
{CDISeamConfigPreferences.ANNOTATION_EXPECTED,
CDISeamPreferencesMessages.CDIValidatorConfigurationBlock_pb_annotationExpected_label},
{CDISeamConfigPreferences.INLINE_BEAN_TYPE_MISMATCH,
CDISeamPreferencesMessages.CDIValidatorConfigurationBlock_pb_inlineBeanTypeMismatch_label},
+ {CDISeamConfigPreferences.ABSTRACT_TYPE_IS_CONFIGURED_AS_BEAN,
CDISeamPreferencesMessages.CDIValidatorConfigurationBlock_pb_abstractTypeIsConfiguredAsBean_label},
+ {CDISeamConfigPreferences.BEAN_CONSTRUCTOR_IS_MISSING,
CDISeamPreferencesMessages.CDIValidatorConfigurationBlock_pb_beanConstructorIsMissing_label},
},
CDISeamConfigCorePlugin.PLUGIN_ID
);
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.seam.config.ui/src/org/jboss/tools/cdi/seam/config/ui/preferences/CDISeamPreferencesMessages.java
===================================================================
---
trunk/cdi/plugins/org.jboss.tools.cdi.seam.config.ui/src/org/jboss/tools/cdi/seam/config/ui/preferences/CDISeamPreferencesMessages.java 2011-10-06
23:47:29 UTC (rev 35442)
+++
trunk/cdi/plugins/org.jboss.tools.cdi.seam.config.ui/src/org/jboss/tools/cdi/seam/config/ui/preferences/CDISeamPreferencesMessages.java 2011-10-06
23:49:12 UTC (rev 35443)
@@ -13,6 +13,8 @@
public static String CDIValidatorConfigurationBlock_pb_unresolvedConstructor_label;
public static String CDIValidatorConfigurationBlock_pb_annotationExpected_label;
public static String CDIValidatorConfigurationBlock_pb_inlineBeanTypeMismatch_label;
+ public static String
CDIValidatorConfigurationBlock_pb_abstractTypeIsConfiguredAsBean_label;
+ public static String CDIValidatorConfigurationBlock_pb_beanConstructorIsMissing_label;
//Section Solder
public static String CDIValidatorConfigurationBlock_section_solder;
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.seam.config.ui/src/org/jboss/tools/cdi/seam/config/ui/preferences/CDISeamPreferencesMessages.properties
===================================================================
---
trunk/cdi/plugins/org.jboss.tools.cdi.seam.config.ui/src/org/jboss/tools/cdi/seam/config/ui/preferences/CDISeamPreferencesMessages.properties 2011-10-06
23:47:29 UTC (rev 35442)
+++
trunk/cdi/plugins/org.jboss.tools.cdi.seam.config.ui/src/org/jboss/tools/cdi/seam/config/ui/preferences/CDISeamPreferencesMessages.properties 2011-10-06
23:49:12 UTC (rev 35443)
@@ -2,12 +2,14 @@
##Section Seam Config
CDIValidatorConfigurationBlock_section_config=Seam Config
-CDIValidatorConfigurationBlock_pb_unresolvedType_label=Unresolved Type:
-CDIValidatorConfigurationBlock_pb_unresolvedMember_label=Unresolved Member:
-CDIValidatorConfigurationBlock_pb_unresolvedMethod_label=Unresolved Method:
-CDIValidatorConfigurationBlock_pb_unresolvedConstructor_label=Unresolved Constructor:
-CDIValidatorConfigurationBlock_pb_annotationExpected_label=Annotation Expected:
-CDIValidatorConfigurationBlock_pb_inlineBeanTypeMismatch_label=Inline Bean Type
Mismatch:
+CDIValidatorConfigurationBlock_pb_unresolvedType_label=Unresolved type:
+CDIValidatorConfigurationBlock_pb_unresolvedMember_label=Unresolved member:
+CDIValidatorConfigurationBlock_pb_unresolvedMethod_label=Unresolved method:
+CDIValidatorConfigurationBlock_pb_unresolvedConstructor_label=Unresolved constructor:
+CDIValidatorConfigurationBlock_pb_annotationExpected_label=Annotation expected:
+CDIValidatorConfigurationBlock_pb_inlineBeanTypeMismatch_label=Inline bean type
mismatch:
+CDIValidatorConfigurationBlock_pb_abstractTypeIsConfiguredAsBean_label=Abstract type is
configured as a bean:
+CDIValidatorConfigurationBlock_pb_beanConstructorIsMissing_label=Bean constructor is
missing:
##Section Seam Solder
CDIValidatorConfigurationBlock_section_solder=Seam Solder