Community
Participate
Working Groups
The XViewerStyledTextLabelProvider is currently not full integrated in the XViewer: - It is not possbile to use hide/show columns because clearXViewerColumnIndexCache is only called for XViewerLabelProvider (see CustomizeManager.java:504 - Setting GradientSupport to true will cause crashing the XViewer - It is not possible to show CellData via the Action in the ContextMenu - ... The overall problem is that there are either unchecked casts to XViewerLabelProvider or 'instanceof' conditions for XViewerLabelProvider only. I assume to check the casts and add the missing 'instanceof' conditions for XViewerStyledTextLabelProvider. But it would be better to make both LabelProviders (and maybe others in the future) inherit from an IXViewerLabelProvider interface. Cheers, Patrick
sounds fine to me, if you would like to provide the enhancement via a patch, I'll be happy to take a look
Created attachment 206470 [details] IXViewerLabelProvider XViewerStyledTextLabelProvider fully integrated. XViewerLabelProvider and XViewerStyledTextLabelProvider implements now the IXViewerLabelProvider. Additionally I added some new constuctors to support the MVC model. best regards Jürgen
Applied Patch
Thanks for the contribution. Everything looks great. Patch is applied.