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: </jobs/genie.orion/orion-client-stable/workspace/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 04 2017 10:51:56 GMT-0400 (EDT)