Class Index | File Index

Classes


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>.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
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.
 
x
The pointer location on the x axis, relative to the document the user is editing.
 
y
The pointer location on the y axis, relative to the document the user is editing.
Class Detail
orion.editor.ContextMenuEvent()
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.

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Apr 01 2014 22:58:23 GMT-0400 (EDT)