Hi Sebastien,<div>Thanks for your answer.</div><div>I create an RCP Eclipse application so I have got many views and my VTK Canevas is inside a SWT frame.</div><div>If I understand your answer, I just need to get the focus of the window, capture the "Right Click Event" and display a Java/Swing component, don't I?</div>
<div><br></div><div>Romain<br><br><div class="gmail_quote">2011/7/19 Sebastien Jourdain <span dir="ltr"><<a href="mailto:sebastien.jourdain@kitware.com">sebastien.jourdain@kitware.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Romain,<br>
<br>
you should be able to do it like any other Java/Swing component. The<br>
only thing is to set your popup menu to be lightweight.<br>
<br>
Seb<br>
<div><div></div><div class="h5"><br>
On Tue, Jul 19, 2011 at 12:19 PM, Romain LEGUAY <<a href="mailto:romain.leguay@gmail.com">romain.leguay@gmail.com</a>> wrote:<br>
> Hello everyone,<br>
> I don't find any info on the implementation of a subMenu inside a VTK<br>
> Canvas. I would like when I right click inside the Vtk Canvas a subMenu with<br>
> just two actions (wireframe and solid).<br>
> Does anyone do something like this?<br>
> Thanks,<br>
> Romain LEGUAY<br>
</div></div>> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the VTK FAQ at:<br>
> <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
><br>
><br>
</blockquote></div><br></div>