[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Removing default popup menu listener from text

Hi,

I am adding a MenuDetectListener to a text field which I created using the
createFormText method of a FormToolkit. This menu detect listener shows the
my custom context menu, but after I select something from that menu or
click it away, the default context menu pops up (which I don't want). I
thought of deregistering the default menudetected listener, but since I
don't have the reference to this object, it is not possible.

Is there a way to solve this problem?

Thanks

Lars