Object (@NotNull final String dataId) { if (CommonDataKeys.NAVIGATABLE.is(dataId)) { final ComponentTree componentTree = DesignerToolWindowManager.getInstance(myEditor).getComponentTree(); if (componentTree != null) { return componentTree.getData(dataId); } } return null; }