Author: vrubezhny
Date: 2010-12-30 12:37:16 -0500 (Thu, 30 Dec 2010)
New Revision: 27837
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamProject.java
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/src/org/jboss/tools/seam/internal/core/SeamProject.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamProject.java 2010-12-30
16:40:12 UTC (rev 27836)
+++
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamProject.java 2010-12-30
17:37:16 UTC (rev 27837)
@@ -41,7 +41,6 @@
import org.jboss.tools.common.model.project.ext.event.Change;
import org.jboss.tools.common.model.util.EclipseResourceUtil;
import org.jboss.tools.common.xml.XMLUtilities;
-import org.jboss.tools.jst.web.kb.internal.IKBBuilderRequiredNature;
import org.jboss.tools.jst.web.kb.internal.validation.ProjectValidationContext;
import org.jboss.tools.seam.core.BijectedAttributeType;
import org.jboss.tools.seam.core.IBijectedAttribute;
@@ -74,7 +73,7 @@
/**
* @author Viacheslav Kabanovich
*/
-public class SeamProject extends SeamObject implements ISeamProject, IProjectNature,
IKBBuilderRequiredNature {
+public class SeamProject extends SeamObject implements ISeamProject, IProjectNature {
IProject project;
@@ -2506,13 +2505,4 @@
}
}
-
- public boolean isKBBuilderRequired() {
- return true;
- }
-
- public String getNatureDescription() {
- return SeamCoreMessages.SEAM_NATURE_DESCRIPTION;
- }
-
}
Show replies by date