if (SystemConfiguration.hasFeatureEnabled(Features.NEW_MODEL)) {
if (input instanceof IFileEditorInput) {
final IFile file = ((IFileEditorInput) input).getFile();
final IErlSource fooFile = ErlModelCore.create(file);
if (fooFile != null) {
final IViewPart navigatorView = PlatformUI.getWorkbench()
.getActiveWorkbenchWindow().getActivePage()
.findView(ErlangNavigator.ID);
if (navigatorView != null) {
final IStructuredSelection currentSelection = (IStructuredSelection) navigatorView
.getSite().getSelectionProvider().getSelection();
if (currentSelection != null && currentSelection.size() == 1) {
final Object element = currentSelection.getFirstElement();
if (element instanceof org.erlide.engine.new_model.IErlElement) {
if (fooFile