[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools.gef] Re: Getting menu on right click of mouse
|
Is there any particular reason you're using the JFace TreeViewer and not the
GEF TreeViewer?
With the JFace viewer, I think you can just invoke setMenu() on the control.
Since you're using the JFace TreeViewer, this is not GEF-related. For
further queries about this topic, try the platform newsgroup.
"Ved Gunjan" <gunjan_sir@xxxxxxxxx> wrote in message
news:c8da6596f5365b9c64e407b3c258b9f2$1@xxxxxxxxxxxxxxxxxx
>
> hi!
> im using JFace TreeViewer to show up my SolutionExplorer view.
> i want my SolutionExplorer to register action.
> For which i need to viewer.setContextMenu(provider);
> but the viewer is not a EditPartViewer, so i cant set the context.
> please tell me how will i do viewer.setContextMenu(provider)
> in case of TreeViewer.
>
> thanking in advance for the suggestions.
> regards
> ved
>
>
>