[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.gef] Re: Getting menu on right click of mouse

I take it that this SolutionExplorer use GEF's TreeViewer.  In that case,
you do this the same way that you did it for the viewer in your editor.  See
LogicEditor.OutlinePage#configureOutlineViewer().

"Ved Gunjan" <gunjan_sir@xxxxxxxxx> wrote in message
news:4adc98f63d54482424e6e46296667a52$1@xxxxxxxxxxxxxxxxxx
> hi!
>  i'm facing a situation wherein i have a view called SolutionExplorer in
> my application and this view has categories which has my model objects.
> somthing like this..
> In SolutionExplorer view.
> category1
>  |-A
>  |-B
>  |-C
> category2
> category3
>
> here A,B,C are my model objects.
> when i right click on any of these model objects ,i should get a drop down
> menu which will have options.
> My question is - How will i get a menu on right click of mouse?
>
> im in desperate need for suggestion.
> regards
> ved
>