Author: adietish
Date: 2012-04-27 19:05:26 -0400 (Fri, 27 Apr 2012)
New Revision: 40596
Modified:
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/SelectExistingProjectDialog.java
Log:
[JBIDE-11162] removed WTP in filter that only accepted the following projects:
((non-shared | git-shared) && WTP)
Modified:
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/SelectExistingProjectDialog.java
===================================================================
---
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/SelectExistingProjectDialog.java 2012-04-27
22:48:18 UTC (rev 40595)
+++
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/SelectExistingProjectDialog.java 2012-04-27
23:05:26 UTC (rev 40596)
@@ -35,7 +35,8 @@
super(shell, new ProjectLabelProvider());
setTitle("Select Existing Project");
setMessage(NLS.bind(
- "Select an existing project for {0}.\nOnly Dynamic Web/Eclipse WTP projects can
be used.",
+// "Select an existing project for {0}.\nOnly Dynamic Web/Eclipse WTP projects
can be used.",
+ "Select an existing project for {0}.\nOnly Git shared projects can be
used.",
openShiftAppName));
setMultipleSelection(false);
setAllowDuplicates(false);
@@ -59,9 +60,10 @@
}
}
- if (!hasModuleNature(project)) {
- return false;
- }
+// we now accept all projects, not just WTP
+// if (!hasModuleNature(project)) {
+// return false;
+// }
return true;
}
Show replies by date