Bug 550938 - Add sync project wizards to empty workspace. Restore remote
category.
Change-Id: Ib691ba32664ba949afd3efa9c5aa85346cd7b952
Signed-off-by: Greg Watson <g.watson@computer.org>
diff --git a/rdt/org.eclipse.ptp.rdt.sync.cdt.ui/plugin.xml b/rdt/org.eclipse.ptp.rdt.sync.cdt.ui/plugin.xml
index f11eece..7c188e3 100644
--- a/rdt/org.eclipse.ptp.rdt.sync.cdt.ui/plugin.xml
+++ b/rdt/org.eclipse.ptp.rdt.sync.cdt.ui/plugin.xml
@@ -5,7 +5,7 @@
point="org.eclipse.ui.newWizards">
<wizard
canFinishEarly="false"
- category="org.eclipse.ptp.rdt.ui.wizardCategory.Remote"
+ category="org.eclipse.cdt.ui.newCWizards"
class="org.eclipse.ptp.internal.rdt.sync.cdt.ui.wizards.NewRemoteSyncProjectWizard"
finalPerspective="org.eclipse.cdt.ui.CPerspective"
hasPages="true"
@@ -16,6 +16,9 @@
<description>
%syncProject.desc
</description>
+ <selection
+ class="org.eclipse.core.resources.IProject">
+ </selection>
</wizard>
</extension>
<extension
diff --git a/rdt/org.eclipse.ptp.rdt.sync.fortran.ui/plugin.xml b/rdt/org.eclipse.ptp.rdt.sync.fortran.ui/plugin.xml
index 7010c8f..c56c3b5 100644
--- a/rdt/org.eclipse.ptp.rdt.sync.fortran.ui/plugin.xml
+++ b/rdt/org.eclipse.ptp.rdt.sync.fortran.ui/plugin.xml
@@ -5,7 +5,7 @@
point="org.eclipse.ui.newWizards">
<wizard
canFinishEarly="false"
- category="org.eclipse.ptp.rdt.ui.wizardCategory.Remote"
+ category="org.eclipse.photran.ui.newFortranWizards"
class="org.eclipse.ptp.internal.rdt.sync.fortran.ui.wizards.NewFortranSyncProjectWizard"
finalPerspective="org.eclipse.photran.ui.FortranPerspective"
hasPages="true"
@@ -16,6 +16,9 @@
<description>
%syncProject.desc
</description>
+ <selection
+ class="org.eclipse.core.resources.IProject">
+ </selection>
</wizard>
diff --git a/rdt/org.eclipse.ptp.rdt.sync.ui/plugin.properties b/rdt/org.eclipse.ptp.rdt.sync.ui/plugin.properties
index ad36b42..a926994 100644
--- a/rdt/org.eclipse.ptp.rdt.sync.ui/plugin.properties
+++ b/rdt/org.eclipse.ptp.rdt.sync.ui/plugin.properties
@@ -13,6 +13,7 @@
providerName = Eclipse PTP
rdtViewCategory.name = Remote Development
NewWizards.project = Synchronized Project
+NewWizards.category = Remote
ConvertSyncProject.desc = Convert to Synchronized Project (sync files to a remote host)
ConvertWizards.project = Convert to Synchronized Project
syncProject.desc = Create a new Synchronized Project
diff --git a/rdt/org.eclipse.ptp.rdt.sync.ui/plugin.xml b/rdt/org.eclipse.ptp.rdt.sync.ui/plugin.xml
index 5c201af..01ecbdf 100644
--- a/rdt/org.eclipse.ptp.rdt.sync.ui/plugin.xml
+++ b/rdt/org.eclipse.ptp.rdt.sync.ui/plugin.xml
@@ -28,6 +28,10 @@
%ConvertSyncProject.desc
</description>
</wizard>
+ <category
+ id="org.eclipse.ptp.rdt.ui.wizardCategory.Remote"
+ name="%NewWizards.category">
+ </category>
</extension>
<extension
point="org.eclipse.ui.commands">