Hi Xindice users
After the first "shots", I made a complete redesign of Xindice browser.
As before, you can browse Xindice collections and documents, make XPath queries, save (multiple) documents and query results into individual or one single document.
Now the views are completly pluggable. That means: adding an own view means: writing one java class, implementing one interface with two methods, adding an entry into the config.xml.
thats it.
moreover: views can be parametrized, so one view can be added multiple with different starting parameters. the configuration is like this:
<views number="4">
<view
name="treeview"
title="Tree View"
class="info.schatten.xindicebrowser.gui.XiTreeView"
>
<param name="defaultText" value="no data" />
</view>
<view
name="sourceview"
title="Source"
class="info.schatten.xindicebrowser.gui.XiSourceView"
/>
<view
name="htmlview"
title="HTML"
class="info.schatten.xindicebrowser.gui.XiHtmlView"
/>
<view
name="treeview2"
title="Tree View 2"
class="info.schatten.xindicebrowser.gui.XiTreeView"
>
<param name="defaultText" value="no information" />
</view>
</views>this should explain itself. For example: the Treeview is added twice with different parameters.
Currently three views are available. Source view, tree view and html view.
I guess I will add the one or the other view the next days.
Check it out...
http://www.schatten.info http://www.schatten.info/software/xindice_browser/xindice_browser.html
comments are welcome!!
Alex
