ISelectionProvider and Proxy Objects [message #656432] |
Fri, 25 February 2011 10:55  |
Eclipse User |
|
|
|
Hi,
does anyone know a good solution for this problem:
Guess, I have a TreeViewer based ViewPart showing a number of objects. Due to performance reasons, we want to give a minimal number of information to the client (id and name). Only the ViewPart should work with these objects.
As soon as e.g. another view or wizard gets the selection from the tree (via ISelectionProvider), the tree should return a fully initialized object (not the lightweight object).
I tried to implement my own SelectionProvider but the problem is that getSelection() method is called from the owning ViewPart itself and I'm not able to distinguish that from an 'external' getSelection() call.
Does anyone know a good concept to get this work within the Eclipse architecture?
Thanks in advance
Regards
philipp
|
|
|
|
Powered by
FUDForum. Page generated in 0.03413 seconds