AbstractProjectViewPane () { if (project.isDisposed()) return null; ProjectViewCurrentPaneProvider currentPaneProvider = ProjectViewCurrentPaneProvider.getInstance(project); final String currentProjectViewPaneId = currentPaneProvider != null ? currentPaneProvider.getCurrentPaneId() : currentViewId; return currentProjectViewPaneId != null ? getProjectViewPaneById(currentProjectViewPaneId) : null; }