[gui-dev] Search columns

"M. Vernier" <[email protected]> Fri, 17 Sep 2004 13:53:36 +0200
Newsgroups gmane.network.gnutella.limewire.gui.devel
Message-ID <[email protected]>
No, it would not be the only visible columns, it would just be the default.
If you are an advanced user, you would be given the possibility to add those
technical columns and even hide the xml ones. 
I like the idea of XMLSearchTableColumns taking XSD schemas. This
would allow great flexibility in defining how we want to present the
columns. 
Extending ResultPanelModel is not necessary but the constructor(s) 
should take a parameter “columns” being the XMLSearchTableColumns to use.
How to save the different settings for each view? Right now,
SearchTableColumns uses a prefix “RESULT_PANEL” for each line saved in
tables.props. This prefix could be part of the schema or
XMLSearchTableColumns could take another parameter which would be this
prefix.
For Audio SearchTableColumns, we would just have:
XMLSearchTableColumns(‘audio_search_table_columns.xsd’)

or

XMLSearchTableColumns(‘AUDIO_RESULT_PANEL’,
‘audio_search_table_columns.xsd’)

M. Vernier


_______________________________________________
gui-dev mailing list
[email protected]
http://www.limewire.org/mailman/listinfo/gui-dev