Bug 2892 - Import wgz file from Import menu should have same functionality as File New Project Create from wgz
--- a/org.symbian.tools.wrttools/plugin.xml Mon Jun 07 16:22:59 2010 -0700
+++ b/org.symbian.tools.wrttools/plugin.xml Mon Jun 07 16:33:07 2010 -0700
@@ -136,19 +136,6 @@
templates
</description>
</wizard>
- <wizard
- category="org.symbian.tools.wrttools.core.category"
- class="org.symbian.tools.wrttools.wizards.WgzImportWizard"
- finalPerspective="org.symbian.tools.wrttools.mainPerspective"
- hasPages="true"
- icon="icons/import_16x16px.png"
- id="org.symbian.tools.wrttools.importwgz"
- name="WRT Project from WGZ Archive"
- project="true">
- <description>
- Create WRT project from deployable WGZ application archive
- </description>
- </wizard>
</extension>
<!-- WRT Project Templates -->
@@ -215,7 +202,7 @@
<!-- Import Wizard -->
<extension point="org.eclipse.ui.importWizards">
- <category id="org.symbian.tools.wrttools.import" name="Web Runtime(WRT)">
+ <category id="org.symbian.tools.wrttools.import" name="Web Runtime (WRT)">
</category>
<wizard category="org.symbian.tools.wrttools.import"
class="org.symbian.tools.wrttools.wizards.projectimport.WrtProjectsImportWizard"
@@ -225,6 +212,18 @@
Import WRT project created in Aptana, Adobe Dreamweaver or WRT IDE
</description>
</wizard>
+
+ <wizard
+ category="org.symbian.tools.wrttools.import"
+ class="org.symbian.tools.wrttools.wizards.WgzImportWizard"
+ icon="icons/import_16x16px.png"
+ id="org.symbian.tools.wrttools.importwgz"
+ name="Application Archive (WGZ)">
+ <description>
+ Create WRT project from deployable WGZ application archive
+ </description>
+ </wizard>
+
</extension>
<!-- Problem Markers -->
@@ -256,20 +255,13 @@
<perspectiveExtension targetID="org.eclipse.wst.jsdt.ui.JavaPerspective">
<newWizardShortcut id="org.symbian.tools.wrttools.core.wrtwidgetwizard">
</newWizardShortcut>
- <newWizardShortcut id="org.symbian.tools.wrttools.importwgz">
- </newWizardShortcut>
</perspectiveExtension>
<perspectiveExtension targetID="org.eclipse.debug.ui.DebugPerspective">
<newWizardShortcut id="org.symbian.tools.wrttools.core.wrtwidgetwizard">
</newWizardShortcut>
- <newWizardShortcut id="org.symbian.tools.wrttools.importwgz">
- </newWizardShortcut>
</perspectiveExtension>
<perspectiveExtension
targetID="org.symbian.tools.wrttools.mainPerspective">
- <newWizardShortcut
- id="org.symbian.tools.wrttools.importwgz">
- </newWizardShortcut>
</perspectiveExtension>
</extension>
@@ -442,8 +434,7 @@
suppressedExtensionId="org.eclipse.ui.navigator.resourceContent">
</override>
<commonWizard
- menuGroupId="group.new.z"
- type="new"
+ type="import"
wizardId="org.symbian.tools.wrttools.importwgz">
<enablement>
<or>