Author: akazakov
Date: 2009-04-09 08:12:22 -0400 (Thu, 09 Apr 2009)
New Revision: 14629
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/SeamProjectsSet.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-1077
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/SeamProjectsSet.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/SeamProjectsSet.java 2009-04-09
11:48:47 UTC (rev 14628)
+++
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/SeamProjectsSet.java 2009-04-09
12:12:22 UTC (rev 14629)
@@ -125,13 +125,25 @@
/**
- * @return all child projects for web seam project.
+ * @return all child projects of main web seam project.
*/
public IProject[] getChildProjects() {
return childProjects;
}
/**
+ * @return all Seam projects of one application
+ */
+ public IProject[] getAllProjects() {
+ IProject[] projects = new IProject[childProjects.length + 1];
+ for (int i = 0; i < childProjects.length; i++) {
+ projects[i] = childProjects[i];
+ }
+ projects[childProjects.length] = war;
+ return projects;
+ }
+
+ /**
* @return default deploy type for Seam project set
*/
public String getDefaultDeployType() {