/**
* Retrieves the children of the current <code>UIMASourceFolder</code>.
*/
public Object[] getChildren(Object o)
{
CasProcessorFolder sourceFolder = (CasProcessorFolder) o;
Collection<Object> childs = new LinkedList<Object>();
childs.addAll(sourceFolder.getAnnotators());
childs.addAll(sourceFolder.getConsumers());
try
{
childs.addAll(sourceFolder.getNonNlpResources());
}
catch (CoreException e)
{
// sorry this fails if the resource was already removed
}