[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.rcp] Traverse to get all children
|
Hi,
In our plug-in we will do a refresh of all elements ( and it's children)
that have been selected.
IResource [] resources = getSelectedResources();
Then for each selected resource I need to traverse the children ( files
and folders) add them to an array.
This array I will send to a method that will do refresh State on each
element.
What is the most efficient method to traverse children and add it to an
array?
The above will be done in an Action.
Are there any code examples for this?
br,
//mike