Author: akazakov
Date: 2012-01-06 14:49:53 -0500 (Fri, 06 Jan 2012)
New Revision: 37695
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamProjectWizard.java
Log:
https://issues.jboss.org/browse/JBIDE-8464 Ensure that the Seam Project wizard opens the
Seam perspective with the Web Development perspective as preferred
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamProjectWizard.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamProjectWizard.java 2012-01-06
19:32:02 UTC (rev 37694)
+++
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamProjectWizard.java 2012-01-06
19:49:53 UTC (rev 37695)
@@ -26,13 +26,12 @@
import org.eclipse.core.resources.IncrementalProjectBuilder;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IExecutableExtension;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.core.runtime.Path;
import org.eclipse.core.runtime.Preferences;
-import org.eclipse.core.runtime.jobs.Job;
import org.eclipse.jdt.core.IClasspathContainer;
import org.eclipse.jdt.core.IClasspathEntry;
import org.eclipse.jdt.core.IJavaProject;
@@ -100,7 +99,7 @@
*
*/
@SuppressWarnings("restriction")
-public class SeamProjectWizard extends WebProjectWizard {
+public class SeamProjectWizard extends WebProjectWizard implements IExecutableExtension
{
private SeamWebProjectFirstPage firstPage;
private String seamConfigTemplate;
@@ -285,9 +284,13 @@
return null;
}
+ /*
+ * (non-Javadoc)
+ * @see
org.eclipse.jst.servlet.ui.project.facet.WebProjectWizard#getFinalPerspectiveID()
+ */
@Override
protected String getFinalPerspectiveID() {
- return "org.jboss.tools.seam.ui.SeamPerspective"; //$NON-NLS-1$
+ return null;
}
protected IFacetedProjectTemplate getTemplate() {