Author: scabanovich
Date: 2007-07-17 09:26:36 -0400 (Tue, 17 Jul 2007)
New Revision: 2463
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/plugin.xml
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamProject.java
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamProject.java
Log:
EXIN-217 seam nature renamed
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/plugin.xml
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/plugin.xml 2007-07-17 12:33:41 UTC (rev
2462)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/plugin.xml 2007-07-17 13:26:36 UTC (rev
2463)
@@ -14,7 +14,7 @@
</builder>
</extension>
<extension
- id="seam"
+ id="seamnature"
name="Seam Project Nature"
point="org.eclipse.core.resources.natures">
<runtime>
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamProject.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamProject.java 2007-07-17
12:33:41 UTC (rev 2462)
+++
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/ISeamProject.java 2007-07-17
13:26:36 UTC (rev 2463)
@@ -12,13 +12,12 @@
import java.util.Set;
-import org.eclipse.core.resources.IProjectNature;
import org.eclipse.core.runtime.IPath;
import org.jboss.tools.seam.core.event.ISeamProjectChangeListener;
-public interface ISeamProject extends IProjectNature, ISeamElement {
+public interface ISeamProject extends ISeamElement {
- public static String NATURE_ID = "org.jboss.tools.seam.core.seam";
+ public static String NATURE_ID = "org.jboss.tools.seam.core.seamnature";
/**
* Returns list of scope objects for all scope types.
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 2007-07-17
12:33:41 UTC (rev 2462)
+++
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamProject.java 2007-07-17
13:26:36 UTC (rev 2463)
@@ -24,6 +24,7 @@
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IProjectDescription;
+import org.eclipse.core.resources.IProjectNature;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
@@ -53,7 +54,7 @@
/**
* @author Viacheslav Kabanovich
*/
-public class SeamProject extends SeamObject implements ISeamProject {
+public class SeamProject extends SeamObject implements ISeamProject, IProjectNature {
IProject project;
ClassPath classPath = new ClassPath(this);