Author: dazarov
Date: 2008-12-01 07:23:14 -0500 (Mon, 01 Dec 2008)
New Revision: 12162
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamBaseWizardPage.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamEntityWizardPage1.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-3312
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamBaseWizardPage.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamBaseWizardPage.java 2008-12-01
12:14:41 UTC (rev 12161)
+++
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamBaseWizardPage.java 2008-12-01
12:23:14 UTC (rev 12162)
@@ -39,7 +39,7 @@
import org.eclipse.swt.widgets.Composite;
import org.jboss.tools.common.model.util.EclipseResourceUtil;
import org.jboss.tools.seam.core.SeamCorePlugin;
-import org.jboss.tools.seam.internal.core.InnerModelHelper;
+import org.jboss.tools.seam.core.SeamProjectsSet;
import org.jboss.tools.seam.internal.core.project.facet.ISeamFacetDataModelProperties;
import org.jboss.tools.seam.internal.core.validation.SeamProjectPropertyValidator;
import org.jboss.tools.seam.ui.SeamGuiPlugin;
@@ -313,7 +313,8 @@
}
}
- IPath webContent = InnerModelHelper.getWebInfPath(project).removeLastSegments(1);
+ SeamProjectsSet seamPrjSet = new SeamProjectsSet(project);
+ IPath webContent = seamPrjSet.getViewsFolder().getFullPath();
IPath page =
webContent.append(editorRegistry.get(IParameter.SEAM_PAGE_NAME).getValue()+".xhtml");
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamEntityWizardPage1.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamEntityWizardPage1.java 2008-12-01
12:14:41 UTC (rev 12161)
+++
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamEntityWizardPage1.java 2008-12-01
12:23:14 UTC (rev 12162)
@@ -29,7 +29,7 @@
import org.eclipse.swt.widgets.Composite;
import org.jboss.tools.common.model.util.EclipseResourceUtil;
import org.jboss.tools.seam.core.SeamCorePlugin;
-import org.jboss.tools.seam.internal.core.InnerModelHelper;
+import org.jboss.tools.seam.core.SeamProjectsSet;
import org.jboss.tools.seam.internal.core.project.facet.ISeamFacetDataModelProperties;
import org.jboss.tools.seam.internal.core.validation.SeamProjectPropertyValidator;
import org.jboss.tools.seam.ui.SeamGuiPlugin;
@@ -196,7 +196,8 @@
}
}
- IPath webContent = InnerModelHelper.getWebInfPath(project).removeLastSegments(1);
+ SeamProjectsSet seamPrjSet = new SeamProjectsSet(project);
+ IPath webContent = seamPrjSet.getViewsFolder().getFullPath();
IPath masterPage =
webContent.append(editorRegistry.get(IParameter.SEAM_MASTER_PAGE_NAME).getValue()+".xhtml");