<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Hi,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Firstly apologies if this is the wrong place to post this king of thing.</p>
<p style="margin-top:0;margin-bottom:0">I'm currently working on a reader plugin for paraview but I'm having a few issues with writing the XML for the GUI. the files I'm using contain multiple separate datasets and I'd like them to appear in a drop down box
of which only one is selectable. I've been looking at the wiki page here: <a href="https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Adding_GUI_Parameters" class="OWAAutoLink" id="LPlnk53477" previewremoved="true">https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Adding_GUI_Parameters</a> and
various posts here but haven't been able to get exactly what I want working. I did manage to get the other drop down list working (the one where you can select/deselect each item). This uses some set and get methods in my reader's class and seemed to work
very well. Unfortunately I haven't been able to apply this to the drop down box where only a single item is selectable.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Could anybody explain to me how the XML works or point me towards a thorough resource?</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Thanks,</p>
<p style="margin-top:0;margin-bottom:0">Dan</p>
<div id="LPBorder_GT_15180877603290.9431615093211818" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_15180877603210.23547530641812542" role="presentation" cellspacing="0" style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);">
<tbody>
<tr valign="top" style="border-spacing: 0px;">
<td id="TextCell_15180877603230.7156494300335792" colspan="2" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;">
<div id="LPRemovePreviewContainer_15180877603230.9882828595009574"></div>
<div id="LPTitle_15180877603240.22221506575849537" style="top: 0px; color: rgb(0, 120, 215); font-weight: 400; font-size: 21px; font-family: wf_segoe-ui_light, "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_15180877603250.0179412107121395" href="https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Adding_GUI_Parameters" target="_blank" style="text-decoration: none;">ParaView/Plugin HowTo - KitwarePublic</a></div>
<div id="LPMetadata_15180877603260.951549389399186" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: 400; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 14px;">
www.paraview.org</div>
<div id="LPDescription_15180877603270.6936557588885697" style="display: block; color: rgb(102, 102, 102); font-weight: 400; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
Introduction. ParaView comes with plethora of functionality bundled in: several readers, multitude of filters, quite a few different types of views etc.</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
</div>
</body>
</html>