returns the subdiagram for a given state or statechart concode_field_sep String INLINE_STYLE concode_elem_sep String DOMAIN_ID concode_field_sep List<Diagram> getSubDiagramHierachy concode_elem_sep void openEditor concode_elem_sep IEditorPart openEditor concode_elem_sep TransactionalEditingDomain getSharedDomain concode_elem_sep boolean closeSubdiagramEditors concode_elem_sep Diagram getDiagramContaining concode_elem_sep List<Diagram> getDiagramContainerHierachy
Diagram function ( CompositeElement arg0 ) { Resource loc0 = arg0 . loc0 ( ) ; Collection < Diagram > loc1 = EcoreUtil . getObjectsByType ( loc0 . getContents ( ) , NotationPackage . Literals . DIAGRAM ) ; for ( Diagram loc2 : loc1 ) { if ( EcoreUtil . equals ( loc2 . getElement ( ) , arg0 ) ) return loc2 ; } return null ; }