Object (@NotNull @NonNls String dataId) { if (PlatformDataKeys.DELETE_ELEMENT_PROVIDER.is(dataId) || PlatformDataKeys.CUT_PROVIDER.is(dataId) || PlatformDataKeys.COPY_PROVIDER.is(dataId) || PlatformDataKeys.PASTE_PROVIDER.is(dataId)) { JTable table = DesignerToolWindowManager.getInstance(myDesigner).getPropertyTable(); Component focusOwner = IdeFocusManager.getInstance(myDesigner.getProject()).getFocusOwner(); if (!UIUtil.isAncestor(table, focusOwner)) { return myCommonEditActionsProvider; } } return null; }