1 28 package org.eclipse.swt.internal.mozilla; 29 30 public class nsIContextMenuListener extends nsISupports { 31 32 static final int LAST_METHOD_ID = nsISupports.LAST_METHOD_ID + 1; 33 34 public static final String NS_ICONTEXTMENULISTENER_IID_STR = 35 "3478b6b0-3875-11d4-94ef-0020183bf181"; 36 37 public static final nsID NS_ICONTEXTMENULISTENER_IID = 38 new nsID(NS_ICONTEXTMENULISTENER_IID_STR); 39 40 public nsIContextMenuListener(int address) { 41 super(address); 42 } 43 44 public static final int CONTEXT_NONE = 0; 45 46 public static final int CONTEXT_LINK = 1; 47 48 public static final int CONTEXT_IMAGE = 2; 49 50 public static final int CONTEXT_DOCUMENT = 4; 51 52 public static final int CONTEXT_TEXT = 8; 53 54 public static final int CONTEXT_INPUT = 16; 55 56 public int OnShowContextMenu(int aContextFlags, int aEvent, int aNode) { 57 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 1, getAddress(), aContextFlags, aEvent, aNode); 58 } 59 } | Popular Tags |