Class Index | File Index

Classes


Class orion.textview.ContextMenuEvent

This is the event sent when the user right clicks or otherwise invokes the context menu of the view.

See:
orion.textview.TextView
orion.textview.TextView#event:onContextMenu


Defined in: </shared/eclipse/e4/orion/I201301232230/plugins/org.eclipse.orion.client.editor/web/orion/textview/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.textview.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 Wed Jan 23 2013 22:37:25 GMT-0500 (EST)