code: function(evt)
  	{
  		return mxEvent.isRightMouseButton(evt) || (mxClient.IS_MAC && mxEvent.isControlDown(evt) &&
  			!mxEvent.isShiftDown(evt) && !mxEvent.isMetaDown(evt) && !mxEvent.isAltDown(evt));
  	}
docs: Function: isPopupTrigger
  
  Returns true if the event is a popup trigger. This implementation
  returns true if the right button or the left button and control was
  pressed on a Mac.