|ISelectionProvider and Proxy Objects [message #656432]
||Fri, 25 February 2011 15:55
| Philipp Schill
Registered: July 2010
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
Powered by FUDForum
. Page generated in 0.12874 seconds