void (InputTool tool, RadComponent component) { if ((SystemInfo.isMac ? tool.myInputEvent.isMetaDown() : tool.myInputEvent.isControlDown())) { if (tool.myArea.isSelected(component)) { tool.myArea.deselect(component); } else { tool.myArea.appendSelection(component); } } else if (tool.myInputEvent.isShiftDown()) { tool.myArea.appendSelection(component); } else { tool.myArea.select(component); } }