When I disable component (setEnabled(false)) context menu does not show. I

When I disable component (setEnabled(false)) context menu does not show. I think that it’s not ok. May be there could be a choice wheither to allow menu opening or not.