[Paraview] Populating a servermanager list widget with string array
Girish Ramesh
rgirish28 at gmail.com
Wed Aug 20 09:37:11 EDT 2014
Hi,
I would like to use the panel_widget option in the servermanager XML with a
String Array, but whenever I try to do it, it doesn't display anything. So,
I'm wondering how it can be done even though it works with a normal
StringVectorProperty for the default widget. Thank you. The XML and
screenshot is given below.
XML:
<StringVectorProperty
name="CPOList"
label="CPOList"
command="SetCPOList"
number_of_elements="1"
panel_visibility="default"
panel_widget="list">
<StringListDomain name="array_list">
<RequiredProperties>
<Property function="ArrayList"
name="CPOListInfo"/>
</RequiredProperties>
</StringListDomain>
<Documentation>
This property specifies the CPO on the UAL Database.
</Documentation>
</StringVectorProperty>
<StringVectorProperty
name="CPOListInfo"
label="CPOListInfo"
command="GetCPOList"
information_only="1">
<StringArrayHelper />
</StringVectorProperty>
Screenshot of option working with default widget:
https://imageshack.com/i/eyhM3mFKp
Regards,
Girish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20140820/20063b7e/attachment-0001.html>
More information about the ParaView
mailing list