Hi,
I am writing a new vtk source and I need to programmatically populate a drop
down list in the object-inspector/Properties from RequestInformation(). Are
there any examples/code snippets that I could look at to help me do this?
I defined the static drop down list this way so far,
<code>
-<IntVectorProperty name="Studies" default_values="1" number_of_elements="1"
command="SetStudyList">
-<EnumerationDomain name="enum">
<Entry text="Study 1" value="6"/>
<Entry text="Study 2" value="7"/>
<Entry text="Study 3" value="12"/>
</EnumerationDomain>
<Documentation>
This property indicates which transform mode will be used.
</Documentation>
</IntVectorProperty>
<code>
Thanks,
Janaki Duggirala
_______________________________________________
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