children = NO_CHILDREN;
} else if(parentElement instanceof IFile) {
/* possible model file */
IFile modelFile = (IFile) parentElement;
if(CDF_EXT.equals(modelFile.getFileExtension())) {
ToolInterface model = getToolInterface(modelFile);
children = model.getComponents() ;
}
} else if (parentElement instanceof ToolInterface){
ToolInterface model = (ToolInterface)parentElement;
children = model.getComponents();
}
return children != null ? children : NO_CHILDREN;
}