Author: Grid.Qian
Date: 2011-03-01 01:02:24 -0500 (Tue, 01 Mar 2011)
New Revision: 29401
Modified:
trunk/bpel/plugins/org.jboss.tools.bpel.runtimes/plugin.xml
trunk/bpel/plugins/org.jboss.tools.bpel.runtimes/src/org/jboss/tools/bpel/runtimes/ui/wizards/NewBPELProjectWizard.java
Log:
JBIDE-8465: make the bpel perspective opened when finishing creating bpel project
Modified: trunk/bpel/plugins/org.jboss.tools.bpel.runtimes/plugin.xml
===================================================================
--- trunk/bpel/plugins/org.jboss.tools.bpel.runtimes/plugin.xml 2011-03-01 03:59:47 UTC
(rev 29400)
+++ trunk/bpel/plugins/org.jboss.tools.bpel.runtimes/plugin.xml 2011-03-01 06:02:24 UTC
(rev 29401)
@@ -26,6 +26,8 @@
category="org.eclipse.bpel.wizards"
project="true"
class="org.jboss.tools.bpel.runtimes.ui.wizards.NewBPELProjectWizard"
+ finalPerspective="org.eclipse.bpel.ui.perspective"
+ preferredPerspectives="org.eclipse.bpel.ui.perspective"
id="org.jboss.tools.bpel.runtimes.wizards.newBPELProject">
<description>%NEW_BPEL_PROJECT_DESCRIPTION</description>
</wizard>
Modified:
trunk/bpel/plugins/org.jboss.tools.bpel.runtimes/src/org/jboss/tools/bpel/runtimes/ui/wizards/NewBPELProjectWizard.java
===================================================================
---
trunk/bpel/plugins/org.jboss.tools.bpel.runtimes/src/org/jboss/tools/bpel/runtimes/ui/wizards/NewBPELProjectWizard.java 2011-03-01
03:59:47 UTC (rev 29400)
+++
trunk/bpel/plugins/org.jboss.tools.bpel.runtimes/src/org/jboss/tools/bpel/runtimes/ui/wizards/NewBPELProjectWizard.java 2011-03-01
06:02:24 UTC (rev 29401)
@@ -103,4 +103,8 @@
protected IWizardPage createFirstPage() {
return new NewBPELProjectWizardPage1(model, "newBPELProject"); //
$NON-NLS-1$
}
+
+ protected String getFinalPerspectiveID() {
+ return "org.eclipse.bpel.ui.perspective"; //$NON-NLS-1$
+ }
}