code: function(element)
  	{
  		mxEvent.addListener(element, 'contextmenu', function(evt)
  		{
  			if (evt.preventDefault)
  			{
  				evt.preventDefault();
  			}
  			
  			return false;
  		});
  	}
docs: Function: disableContextMenu
  
  Disables the context menu for the given element.