Author: xcoulon
Date: 2012-05-22 11:27:09 -0400 (Tue, 22 May 2012)
New Revision: 41256
Modified:
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/action/DeleteDomainAction.java
Log:
Fixed issue where 'Delete domain' action was disabled if user has applications,
which is now supported
Modified:
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/action/DeleteDomainAction.java
===================================================================
---
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/action/DeleteDomainAction.java 2012-05-22
14:33:31 UTC (rev 41255)
+++
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/action/DeleteDomainAction.java 2012-05-22
15:27:09 UTC (rev 41256)
@@ -51,7 +51,7 @@
try {
IDomain domain = user.getDefaultDomain();
- if (domain != null && user.getApplications().size() == 0) {
+ if (domain != null) {
enable = true;
}
} catch (OpenShiftException e) {
Show replies by date