Bonjour à tous,

J'ai construit un TreeViewer contenant des éléments eObject (en fait, le TreeViewer contient des éléments DiffElement, une classe que j'ai créé. Ce DiffElement contient un eObject).

Je voudrais afficher les propriétés (dans la vue "propriétés") du eObject (du DiffElement) que je sélectionne dans l'arbre.

Ma classe DiffElement doit-elle implémenter IPropertySource ?
Et comment je dois procéder ?

Merci beaucoup !


----------------------------------------

Hello everybody,

I built a treeviewer containing eObject elements (in fact, the treeviewer contains DiffElement elements, a class I created. This DiffElement contains an eObject).

I would like to display properties (in the properties view) of the eObject (of the DiffElement) I select in the tree.

Do my DiffElement have to implement IPropertySource?
And how I have to proceed?

Thanks very much!