[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Select all items in TreeViewer

Hi,

in a Eclipse view I have a TreeViewer Element and would like to add "Select 
All" and "De-select All" button in the view.

De-selecting all items in the TreeViewer is easy:
view.getViewer().setSelection(null);

How can I select all items of the TreeViewer?

Best regards, Lars