private void installDependenciesModel(IntegrationEntityPage page) {
IntegrationEntity entity = page.getObject();
ManagedProject project = ProjectUtils.getManagedProject(page.getObject());
// This is to allow opening an Editor for an IntegrationEntity that is not yet in the project:
if (project != null) {
EntityDependenciesModel dependencies = new ProjectEntityDependenciesModel(entity, project);
page.getPageModel().setDependencies(dependencies);
}
}