Interaction with tree and table views [message #1553382] |
Thu, 08 January 2015 12:19  |
Eclipse User |
|
|
|
Hi,
I would like to know if it possible to interact programmatically with the views provided by Sirius (typically table view and/or tree view), in order for example to change the selected element(s) or to listen for events (selection change, double-click on an item). If the answer is yes, what documentation should I look for ?
Thanks in advance.
|
|
|
|
|
|
Re: Interaction with tree and table views [message #1561892 is a reply to message #1554963] |
Tue, 13 January 2015 06:05  |
Eclipse User |
|
|
|
You can yet use DialectUIManager.INSTANCE.setSelection(DialectEditor,
List<DRepresentationElement>); API.
Le 09/01/2015 15:25, Frédéric Botron a écrit :
> Hello Esteban,
>
> Yes, using the TreeView object to get access to the tree's selection
> and events (without modifying directly the underlying model) was my intent.
>
> But my main problem is to find my way through the TreeViewer object
> from the Sirius Session object. What API calls do I need to get it ?
>
> I am behind a company firewall which prevents me from packaging the
> Sirius Javadoc using Maven, so I cannot find the information for the
> moment. I did not find it in
> https://www.eclipse.org/sirius/doc/developer/Architecture.html and I
> think I need the Javadoc to go further. I think I'll generate the Sirius
> Javadoc one evening at home :)
>
--
Esteban Dugueperoux - Obeo
Need professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
Powered by
FUDForum. Page generated in 0.03438 seconds