Object (@NotNull final String dataId) { if (PlatformCoreDataKeys.HELP_ID.is(dataId)) { return ourHelpID; } // Standard Swing cut/copy/paste actions should work if user is editing something inside property inspector Project project = getProject(); if (project.isDisposed()) return null; DesignerToolWindow toolWindow = DesignerToolWindowManager.getInstance(this); if (toolWindow == null) return null; final PropertyInspector inspector = toolWindow.getPropertyInspector(); if (inspector != null && inspector.isEditing()) { return null; } if (PlatformDataKeys.DELETE_ELEMENT_PROVIDER.is(dataId)) { return myDeleteProvider; } if (PlatformDataKeys.COPY_PROVIDER.is(dataId) || PlatformDataKeys.CUT_PROVIDER.is(dataId) || PlatformDataKeys.PASTE_PROVIDER.is(dataId)) { return myCutCopyPasteSupport; } return null; }