[Paraview] Is is possible to create second filters menu?
Utkarsh Ayachit
utkarsh.ayachit at kitware.com
Mon Jun 13 16:27:50 EDT 2011
You are on the right track. Any proxy registered in the "filters" group from
the plugins will automatically end up in the "Filters" menu, there's no way
around it. The solution would be create a new group for your filters that's
being shown in your menu. Theoretically, it should work, but I don't think
we test it, but definitely worth a try.
Utkarsh
On Mon, Jun 13, 2011 at 3:43 PM, Kit Chambers <
kit.chambers at rocktalkimaging.com> wrote:
> Dear all
>
> Is it possible to create a second filters menu which I specify plugin
> filters to be added to?
>
> I can create a static menu from the main application using
> pqProxyGroupMenuManager() with the appropriate XML but cannot work out how
> to specify make filters from plugins go to the new menu rather than the
> filters menu. I guess I would like to be able to do something like specify a
> ProxyGroup (i.e. <ProxyGroup name="MyGroup"> ... ) in the plugin XML which
> puts filters in the new menu rather than in with the filters as a normal
> <ProxyGroup name="filters"> does.
>
> Any suggestions and or help is welcome.
>
> Kit
>
>
>
>
>
> *Kit Chambers*
>
> *Principal Geophysicist*
> Office: +33 9 6418 7790
> Direct: +44 1872 879 007
> Mobile: +44 7816506558
> Email: *kit.chambers at rocktalkimaging.com<kit.chambers at reservoirrocktalk.com>
> *
>
> *NOTE: OUR WEBSITE AND EMAIL ADDRESSES HAVE CHANGED. TO ENSURE WE RECEIVE
> YOUR COMMUNICATION, PLEASE UPDATE YOUR RECORDS.*
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110613/6815a07d/attachment.htm>
More information about the ParaView
mailing list