Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2008-05-21 02:11:07 +0000
committerslewis2008-05-21 02:11:07 +0000
commit43a257ebae1452ba21d12c748dd3d7ae6ef9cc09 (patch)
treee621e9a51d1ca4b7358f60d05fbae4f54c1d6a4c
parent10f8ca516123523158a7ab726fb26f8aaab5a651 (diff)
downloadorg.eclipse.ecf-43a257ebae1452ba21d12c748dd3d7ae6ef9cc09.tar.gz
org.eclipse.ecf-43a257ebae1452ba21d12c748dd3d7ae6ef9cc09.tar.xz
org.eclipse.ecf-43a257ebae1452ba21d12c748dd3d7ae6ef9cc09.zip
Fixed clean up of available service types.
-rw-r--r--framework/bundles/org.eclipse.ecf.discovery.ui/src/org/eclipse/ecf/internal/discovery/ui/ViewContentProvider.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/framework/bundles/org.eclipse.ecf.discovery.ui/src/org/eclipse/ecf/internal/discovery/ui/ViewContentProvider.java b/framework/bundles/org.eclipse.ecf.discovery.ui/src/org/eclipse/ecf/internal/discovery/ui/ViewContentProvider.java
index 73b34232e..05f1652e7 100644
--- a/framework/bundles/org.eclipse.ecf.discovery.ui/src/org/eclipse/ecf/internal/discovery/ui/ViewContentProvider.java
+++ b/framework/bundles/org.eclipse.ecf.discovery.ui/src/org/eclipse/ecf/internal/discovery/ui/ViewContentProvider.java
@@ -158,5 +158,7 @@ public class ViewContentProvider implements IStructuredContentProvider, ITreeCon
}
}
}
+ if (typenode.getChildren().length == 0)
+ root.removeChild(typenode);
}
} \ No newline at end of file

Back to the top