Hi Utkarsh,

your approach works fine, thanks a lot!

Cheers

On Fri, Apr 17, 2015 at 6:07 AM, Utkarsh Ayachit <
[email protected]> wrote:

> Here's a potential approach:
>
> <StringVectorProperty name="ChooseOne"
>                       command="SetChosenOne">
>   <StringListDomain name="list">
>     <RequiredProperties>
>       <Property function="StringList"
>                 name="AvailableOptionsInfo" />
>     </RequiredProperties>
>   </StringListDomain>
> </StringVectorProperty>
> <StringVectorProperty name="AvailableOptionsInfo"
>                       information_only="1"
>                       command="GetAvailableOptions"
>                       si_class="vtkSIDataArrayProperty">
> </StringVectorProperty>
>
>
> With the following method prototypes:
>
>   void SetChosenOne(const char*);
>   vtkStringArray* GetAvailableOptions();
>
_______________________________________________
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to