ExportTestResultsAction (String toolWindowId, RunConfiguration runtimeConfiguration, JComponent component) { ExportTestResultsAction action = new ExportTestResultsAction(); ActionUtil.copyFrom(action, ID); action.myToolWindowId = toolWindowId; action.myRunConfiguration = runtimeConfiguration; action.registerCustomShortcutSet(action.getShortcutSet(), component); return action; }