Author: vrubezhny
Date: 2010-12-30 10:39:13 -0500 (Thu, 30 Dec 2010)
New Revision: 27831
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/plugin.properties
trunk/seam/plugins/org.jboss.tools.seam.core/plugin.xml
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/SeamCoreMessages.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/messages.properties
Log:
JBIDE-8013
Move the acquirement for KB Builder requirements out of the nature(-s)
New extension point is used to declare KB Builder requirement.
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/plugin.properties
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/plugin.properties 2010-12-30 15:36:47 UTC
(rev 27830)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/plugin.properties 2010-12-30 15:39:13 UTC
(rev 27831)
@@ -4,4 +4,6 @@
Bundle-Vendor.0 = JBoss by Red Hat
Bundle-Name.0 = Seam Tools
-KBProblemName=Seam Problem
\ No newline at end of file
+KBProblemName=Seam Problem
+
+KB_REQUIRED_FOR_SEAM=Seam
\ No newline at end of file
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/plugin.xml
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/plugin.xml 2010-12-30 15:36:47 UTC (rev
27830)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/plugin.xml 2010-12-30 15:39:13 UTC (rev
27831)
@@ -531,7 +531,16 @@
class="org.jboss.tools.seam.internal.core.validation.SeamELValidationDelegate">
</delegate>
</extension>
-
+
+ <extension
+ id="org.jboss.tools.seam.core.KbRequire"
+ point="org.jboss.tools.jst.web.kb.KbRequire">
+ <require
+ description="%KB_REQUIRED_FOR_SEAM"
+ forNature="org.jboss.tools.seam.core.seamnature">
+ </require>
+ </extension>
+
<!-- Workaround for
https://bugs.eclipse.org/bugs/show_bug.cgi?id=315390 -->
<extension
id="excludeEJBValidation"
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/SeamCoreMessages.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/SeamCoreMessages.java 2010-12-30
15:36:47 UTC (rev 27830)
+++
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/SeamCoreMessages.java 2010-12-30
15:39:13 UTC (rev 27831)
@@ -63,5 +63,4 @@
public static String SEAM_RENAME_PROCESSOR_COMPONENT_HAS_BROKEN_DECLARATION;
public static String SEAM_RENAME_METHOD_PARTICIPANT_SETTER_WARNING;
public static String SEAM_RENAME_METHOD_PARTICIPANT_GETTER_WARNING;
- public static String SEAM_NATURE_DESCRIPTION;
}
\ No newline at end of file
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/messages.properties
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/messages.properties 2010-12-30
15:36:47 UTC (rev 27830)
+++
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/messages.properties 2010-12-30
15:39:13 UTC (rev 27831)
@@ -42,4 +42,3 @@
SEAM_RENAME_PROCESSOR_COMPONENT_HAS_BROKEN_DECLARATION=Declaration of component
''{0}'' is broken.
SEAM_RENAME_METHOD_PARTICIPANT_SETTER_WARNING=Be sure, may be you also should rename
getter method to avoid compilation problems.
SEAM_RENAME_METHOD_PARTICIPANT_GETTER_WARNING=Be sure, may be you also should rename
setter method to avoid compilation problems.
-SEAM_NATURE_DESCRIPTION=Seam
\ No newline at end of file