| [news.eclipse.platform.swt] Re: How to create dynamic context menu which items change related to right-click position? |
At the swt level this would be done as demonstrated in: http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet73.java?view=co http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet97.java?view=co However I don't know how directly this translates to the world of CompoundContributionItem because this is above the swt level. If you don't get an answer to this here then you should ask on the eclipse.platform newsgroup. Grant "Anakkapan K." <anakkapan_k@xxxxxxxxxxxxxxx> wrote in message news:g35aej$gn6$1@xxxxxxxxxxxxxxxxxxxx > I try to create dynamic context menu using CompoundContributionItem, but I > want those menu items change related to right-click position. How can I get > the mouse position when I'm in CompoundContributionItem or is there anyway > else to archieve my goal? > >