public Object[] getChildren(final Object parentElement) {
if (parentElement instanceof IProject && KarafProject.isKarafProject((IProject) parentElement)) {
final IProject project = (IProject) parentElement;
final IKarafProject karafProject = (IKarafProject) project.getAdapter(IKarafProject.class);
return new Object[] { new FeatureRepositoryContentModel(karafProject) };
} else if (parentElement instanceof ContentModel) {
final ContentModel contentModel = (ContentModel) parentElement;
return contentModel.getElements();
} else if (parentElement == featuresRepositories && parentElement != null) {
return featuresRepositories.toArray();