[gui-dev] ResultPanel constructor

"M. Vernier" <[email protected]> Fri, 24 Sep 2004 18:19:24 +0200
Newsgroups gmane.network.gnutella.limewire.gui.devel
Message-ID <[email protected]>
I found a workaround for the problem mentioned in my last post without
modifying too much of AbstractTableMediator. I plan to save the settings for
each column by overriding the corresponding methods of
DefaultColumnPreferenceHandler in SearchColumnPreferenceHandler. I would
still retrieve the id for each column but they would be prefixed by the type
of search.

Example: col.GetId() returns “RESULT_PANEL_QUALITY”, I will prefix it with
“AUDIO_” for an audio search. The preference would be saved as
“AUDIO_RESULT_PANEL_QUALITY”.

Default values for visibility, order and width will be provided by xml files
that would follow a common schema.

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