Community
Participate
Working Groups
Hi, I work for Thales AVS France (used to be Thales Avionics) and I'm in charge of a modeling tool based on tree editors. We have very good feedback on our solution, integrating Sirius 5.0.1. We would like implement use cases like this: - EMF or user defined validation of a tree data - Error view listing markers or something like that - Double clic on a marker => the tree expands to the involved object node and select it to display the property view and correct the wrong data After som research, it appears that children nodes are created in the tree memory only when an expand is required by the user. But it feels like there is no API providing the developer with a means to do it programmaticaly.
Hello, Indeed, validation can be created for a Diagram description, but not for a Tree description. As far as I know, this evolution is not planned in the next versions. However, you could provide a contextual action (popup menu in a TreeElement in a VSM) that would call Java services and put some markers if needed (see org.eclipse.sirius.common.tools.api.util.MarkerUtil.addMarkerFor(IResource, String, int, String)). Regards, Steve