|
Re: Virtual JFace Viewers - add(Objects[]) [message #328704 is a reply to message #328703] |
Mon, 02 June 2008 10:33  |
Eclipse User |
|
|
|
Please give me a snippet to test.
Tom
Manuel Selva schrieb:
> Hi there,
>
> I am using Virtual TableViewer. According to
> http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jface.s nippets/Eclipse%20JFace%20Snippets/org/eclipse/jface/snippet s/viewers/Snippet029VirtualTableViewer.java?view=markup
>
>
> it should be possible to have a virtual viewer supporting sorting. The
> required condition is to use a StructuredContentProvider and not A Lazy
> one.
> It seems to work when using the set input method nevertheless I have
> some troubles when using the Viewer.add(Objects[] objects) method.
> According to this method specification elements should be inserted at
> the right position if there is an associated Comparator. In my case
> elements are appended at the end of the viewer and the appended elements
> are not the good ones : they are "copy" of the existing elements.
>
> Before opening a bugzilla entry and because I think I missed something
> from my side I want to know if anybody already encountered such a
> problem ? Any help / comments / suggestion is welcomed ;o)
>
> Regards
>
> Manu
>
--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
|
|
|
Powered by
FUDForum. Page generated in 0.07573 seconds