Object (@NotNull @NonNls String dataId) { if (PlatformDataKeys.DOMINANT_HINT_AREA_RECTANGLE.is(dataId)) { final Point p = SwingUtilities.getRoot(this).getLocationOnScreen(); return new Rectangle(p.x, p.y + getHeight(), 0, 0); } if (PlatformDataKeys.CONTEXT_MENU_POINT.is(dataId)) { return SwingUtilities.convertPoint(this, 0, getHeight(), UIUtil.getRootPane(this)); } return myAction instanceof DataProvider ? ((DataProvider)myAction).getData(dataId) : null; }