Author: adietish
Date: 2010-12-08 07:26:46 -0500 (Wed, 08 Dec 2010)
New Revision: 27224
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/FindImagePage.java
Log:
various cleanups
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/FindImagePage.java
===================================================================
---
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/FindImagePage.java 2010-12-08
12:25:25 UTC (rev 27223)
+++
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/FindImagePage.java 2010-12-08
12:26:46 UTC (rev 27224)
@@ -117,6 +117,7 @@
String arch = archText.getText();
String desc = descText.getText();
+ // TODO remove this filter related functionality. bad encapsulation!
hasError = validateFilters(hasError, name, id, arch, desc);
if (selectedElement == null)
@@ -124,6 +125,7 @@
if (!hasError) {
setErrorMessage(null);
+ // TODO remove this filter related functionality. bad encapsulation!
String newRules = name + "*;" //$NON-NLS-1$
+ id + "*;" //$NON-NLS-1$
+ arch + "*;" //$NON-NLS-1$