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();
} else if (parentElement instanceof FeaturesRepository) {
final FeaturesRepository featuresRepository = (FeaturesRepository) parentElement;
return featuresRepository.getFeatures().getFeatures().toArray();