Class orion.editor.ContextMenuEvent
This is the event sent when the user right clicks or otherwise invokes the context menu of the view.
 
See:
 
orion.editor.TextView
 
orion.editor.TextView#event:onContextMenu 
Defined in: </shared/eclipse/e4/orion/I201404012230/bundles/org.eclipse.orion.client.editor/web/orion/editor/textView.js>.
| Constructor Attributes | Constructor Name and Description | 
|---|---|
| Field Attributes | Field Name and Description | 
|---|---|
| Determines whether the user agent context menu should be shown. | |
| If called prevents the user agent context menu from showing. | |
| The pointer location on the x axis, relative to the screen. | |
| The pointer location on the y axis, relative to the screen. | |
| The pointer location on the x axis, relative to the document the user is editing. | |
| The pointer location on the y axis, relative to the document the user is editing. | 
					Field Detail
				
				
					 
					
					
					{Boolean}
					defaultPrevented
					
					
					
						Determines whether the user agent context menu should be shown. It is shown by default.
						
						
					
					
					
						
						
						
						
					
					
					{Function}
					preventDefault
					
					
					
						If called prevents the user agent context menu from showing.
						
						
					
					
					
						
						
						
						
					
					
					{Number}
					screenX
					
					
					
						The pointer location on the x axis, relative to the screen. This is copied from the DOM contextmenu event.screenX property.
						
						
					
					
					
						
						
						
						
					
					
					{Number}
					screenY
					
					
					
						The pointer location on the y axis, relative to the screen. This is copied from the DOM contextmenu event.screenY property.
						
						
					
					
					
						
						
						
						
					
					
					{Number}
					x
					
					
					
						The pointer location on the x axis, relative to the document the user is editing.
						
						
					
					
					
						
						
						
						
					
					
					{Number}
					y
					
					
					
						The pointer location on the y axis, relative to the document the user is editing.