Author: jjohnstn
Date: 2010-10-08 19:07:03 -0400 (Fri, 08 Oct 2010)
New Revision: 25661
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/CVInstancesCategoryElement.java
Log:
2010-10-08 Jeff Johnston <jjohnstn(a)redhat.com>
* src/org/jboss/tools/internal/deltacloud/ui/wizards/InstanceFilter.java: New file.
* src/org/jboss/tools/internal/deltacloud/ui/wizards/InstanceFilterPage.java: New file.
* src/org/jboss/tools/deltacloud/ui/views/CVInstancesCategoryElement.java (getChildren):
Add
filtering.
(listChanged): Ditto.
(filter): New method.
* src/org/jboss/tools/deltacloud/ui/views/CVMessages.properties: Add new instance
filtering
messages.
* src/org/jboss/tools/deltacloud/ui/views/DeltaCloudView.java (handleSelection): Add
enablement
of instances filter.
(fillLocalPullDown): Add instances filtering.
(fillContextMenu): Ditto.
(makeActions): Add instances filtering action. Disable all cloud-wide actions based on
whether
an item is selected or not.
* src/org/jboss/tools/deltacloud/ui/views/InstanceView.java (createPartControl): Add
filtered
label.
(fillLocalPullDown): Add filtering action.
(makeActions): Ditto.
* src/org/jboss/tools/deltacloud/ui/views/InstanceViewLabelAndContentProvider.java
(inputChanged):
Add filtering support.
(filter): New method.
* src/org/jboss/tools/internal/deltacloud/ui/wizards/ImageFilterPage.java
(.widgetSelected): Fix
default values to be wildcards.
(validate): Remove regex checking of input rules.
* src/org/jboss/tools/internal/deltacloud/ui/wizards/WizardMessages.properties: Add new
messages.
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/CVInstancesCategoryElement.java
===================================================================
---
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/CVInstancesCategoryElement.java 2010-10-08
23:05:06 UTC (rev 25660)
+++
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/CVInstancesCategoryElement.java 2010-10-08
23:07:03 UTC (rev 25661)
@@ -16,7 +16,6 @@
import org.eclipse.jface.viewers.Viewer;
import org.eclipse.swt.widgets.Display;
import org.jboss.tools.deltacloud.core.DeltaCloud;
-import org.jboss.tools.deltacloud.core.DeltaCloudImage;
import org.jboss.tools.deltacloud.core.DeltaCloudInstance;
import org.jboss.tools.deltacloud.core.IInstanceFilter;
import org.jboss.tools.deltacloud.core.IInstanceListListener;