capint
4/25/2017 - 4:26 PM

Sirius >> Get all Representations from a DView

Melody >> Sirius >> Get all Representations from a DView

//Return the content of a DView according to the input predicate 

new DViewQuery(view).getAllContentInRepresentations(Predicates.instanceOf(DDiagramElement.class));
import org.eclipse.sirius.business.api.query.DViewQuery;

new DViewQuery(view).getLoadedRepresentations()