Hi,

I am trying to use the "UseDirectoryName" hint for my source that requires a
directory.  Below is my xml file:

8<-----------------------------------------------------------
<ServerManagerConfiguration>
  <ProxyGroup name="sources">
    <SourceProxy name="MySource" class="vtkMySource" label="MySource">

      <StringVectorProperty name="Directory"
                            command="SetDirectory"
                            number_of_elements="1">
          <FileListDomain name="files"/>
          <Hints>
              <UseDirectoryName />
          </Hints>
      </StringVectorProperty>

      <Hints>
          <Property name="Directory" show="1"/>
      </Hints>
  </SourceProxy>
  </ProxyGroup>
</ServerManagerConfiguration>
----------------------------------------------------------->8

This isn't doing what I would expect - it is just giving a file dialog where
any file can be selected.  If I select a directory and click "ok", it will
just open that directory and list the files in the dialog.

Any help would be appreciated,
Paul
_______________________________________________
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