Author: scabanovich
Date: 2007-11-02 11:15:17 -0400 (Fri, 02 Nov 2007)
New Revision: 4662
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/META-INF/MANIFEST.MF
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetProjectCreationDataModelProvider.java
Log:
JBIDE-1230
Modified: trunk/seam/plugins/org.jboss.tools.seam.core/META-INF/MANIFEST.MF
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.core/META-INF/MANIFEST.MF 2007-11-02 14:18:44
UTC (rev 4661)
+++ trunk/seam/plugins/org.jboss.tools.seam.core/META-INF/MANIFEST.MF 2007-11-02 15:15:17
UTC (rev 4662)
@@ -38,6 +38,7 @@
org.eclipse.wst.server.core,
org.eclipse.core.filesystem,
org.eclipse.jst.j2ee.ejb,
+ org.eclipse.jst.jsf.ui,
org.jboss.tools.jst.web
Provide-Package: org.jboss.tools.seam.core,
org.jboss.tools.seam.internal.core,
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetProjectCreationDataModelProvider.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetProjectCreationDataModelProvider.java 2007-11-02
14:18:44 UTC (rev 4661)
+++
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/project/facet/SeamFacetProjectCreationDataModelProvider.java 2007-11-02
15:15:17 UTC (rev 4662)
@@ -21,7 +21,9 @@
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
+import org.eclipse.jface.dialogs.IDialogSettings;
import
org.eclipse.jst.j2ee.internal.web.archive.operations.WebFacetProjectCreationDataModelProvider;
+import org.eclipse.jst.jsf.ui.internal.JSFUiPlugin;
import
org.eclipse.wst.common.componentcore.datamodel.properties.IFacetDataModelProperties;
import
org.eclipse.wst.common.componentcore.datamodel.properties.IFacetProjectCreationDataModelProperties;
import org.eclipse.wst.common.frameworks.datamodel.DataModelEvent;
@@ -73,6 +75,17 @@
Collection requiredFacets = (Collection)getProperty(REQUIRED_FACETS_COLLECTION);
requiredFacets.add(ProjectFacetsManager.getProjectFacet(seamFacet.getStringProperty(IFacetDataModelProperties.FACET_ID)));
setProperty(REQUIRED_FACETS_COLLECTION, requiredFacets);
+
+ IDialogSettings s = JSFUiPlugin.getDefault().getDialogSettings();
+ IDialogSettings r = s.getSection(JSFUiPlugin.PLUGIN_ID +
".jsfFacetInstall");
+ if(r == null) {
+ r = s.addNewSection(JSFUiPlugin.PLUGIN_ID + ".jsfFacetInstall");
+ }
+ IDialogSettings u = r.getSection("urlMappings");
+ if(u == null) {
+ u = r.addNewSection("urlMappings");
+ }
+ u.put("pattern", new String[]{"*.seam"});
}
public boolean propertySet(String propertyName, Object propertyValue) {
Show replies by date