Author: adietish
Date: 2010-12-03 14:07:50 -0500 (Fri, 03 Dec 2010)
New Revision: 27164
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/AbstractCloudElementViewLabelAndContentProvider.java
Log:
[JBIDE-7688] provide common superclass for ImageViewContentAndLabelProvider and
InstanceViewContentAndLabelProvider
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/AbstractCloudElementViewLabelAndContentProvider.java
===================================================================
---
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/AbstractCloudElementViewLabelAndContentProvider.java 2010-12-03
19:07:22 UTC (rev 27163)
+++
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/deltacloud/ui/views/AbstractCloudElementViewLabelAndContentProvider.java 2010-12-03
19:07:50 UTC (rev 27164)
@@ -38,7 +38,7 @@
private DeltaCloud cloud;
private Collection<CLOUDELEMENT> cloudElements;
private ICloudElementFilter<CLOUDELEMENT> localFilter;
-
+
@Override
public Object[] getElements(Object inputElement) {
if (cloudElements == null) {
@@ -50,7 +50,7 @@
public void setFilter(ICloudElementFilter<CLOUDELEMENT> filter) {
this.localFilter = filter;
}
-
+
@Override
public void dispose() {
this.cloud = null;
@@ -79,10 +79,10 @@
if (cloud == null) {
return null;
}
-
+
ICloudElementFilter<CLOUDELEMENT> filter = null;
filter = getCloudFilter(cloud);
-
+
if (filter == null) {
return Arrays.asList(getCloudElements(cloud));
}
Show replies by date