[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] ToolItem right mouse click

Hello,

I have a question about right mouse click on a ToolItem.

I have a Toolbar which contains some ToolItem, I want each ToolItem react to right mouse click and left mouse click differently. I know for the left mouse click I can addSelectionListener to each ToolItem, but I couldn’t figure how to add right mouse click to the ToolItem. Can someone please give me some hint.

Thanks,
Hongying Zhang