// The main label provider for the first column:
CompositeCellLabelProvider mainLabels = new CompositeCellLabelProvider(
new DateLabelProvider(), new WorkspaceStorageLabelProvider());
// The viewer:
filteredTree = Viewers.newFilteredTree(parent, new TreePathPatternFilter(mainLabels));
TreeViewer viewer = filteredTree.getViewer();
FilterableTreePathContentProvider filteredContentProvider =
new FilterableTreePathContentProvider(contentProvider);
filteredContentProvider.addFilter(instanceOf(Duration.class));
viewer.setContentProvider(filteredContentProvider);