I change my plugin to the new property panel architecture. Very nice, now I can reuse some of the code that control the widgets in my other filters.

But, (there is always a but)...

A have a base class ("Base" derived from vtkAlgorithm), with his own server_manager_xml file.

Now I have my final class ("Final") derived from Base. Of course this class has his own server_manager_xml ( using the base_proxygroup, base_proxyname tags for proper configuration).

My problem is that at the end of this file I use the PropertyGroup to group the widgets but this not work. Example:
in the server_manager_xml (of the final class)
...
<PropertyGroup label="Main">
<Property name="PointArrayStatus" /> <------ this came from Final <Property name="VisualizationSpaceStatus" /> <------ this came from Base
</PropertyGroup>
<PropertyGroup label="Options">
<Property name="Refresh" /> <------ this came from Base <Property name="ComputeDerivatives" /> <------ this came from Base
</PropertyGroup>
...

Inside ParaView the panel has the following order :
[- Properties]
_Main _
  VisualizationSpaceStatus
_Options _
  Refresh
  ComputeDerivatives
_Main
_  PointArrayStatus
[- Display]
...

I think paraview expose all the base class widgets first and only then expose the final class widgets.

Can I change this behaviour to correctly order my widgets???

Thanks to all
Felipe

--
Felipe Bordeu Weldt
Ingénieur de Recherche
-------------------------------------
Tél. : 33 (0)2 40 37 16 57
Fax. : 33 (0)2 40 74 74 06
[email protected]
Institut GeM - UMR CNRS 6183
École Centrale Nantes
1 Rue de La Noë, 44321 Nantes, FRANCE
-------------------------------------

_______________________________________________
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

Reply via email to