Object (@NotNull @NonNls String dataId) { final ConsoleView consoleView = getSubConsoleView(isPrimaryConsoleEnabled()); if (consoleView instanceof DataProvider) { return ((DataProvider)consoleView).getData(dataId); } else { return null; } }