nl: sets the current active layout manager concode_field_sep SchemaDiagramPart diagram concode_elem_sep Map partsToNodeMap concode_elem_sep GraphXYLayout xyLayoutManager concode_elem_sep Map figureToBoundsMap concode_elem_sep LayoutManager activeLayoutManager concode_elem_sep GraphLayoutManager graphLayoutManager concode_field_sep void layout concode_elem_sep void setConstraint concode_elem_sep Object getConstraint concode_elem_sep Dimension getPreferredSize concode_elem_sep Dimension getMinimumSize concode_elem_sep LayoutManager getActiveLayoutManager concode_elem_sep void invalidate concode_elem_sep void setXYLayoutConstraint concode_elem_sep void remove
code: void function ( IFigure arg0 , LayoutManager arg1 ) { arg0 . setLayoutManager ( arg1 ) ; this . activeLayoutManager = arg1 ; if ( arg1 == xyLayoutManager ) { diagram . installEditPolicy ( EditPolicy . LAYOUT_ROLE , new SchemaXYLayoutPolicy ( ) ) ; } else { diagram . installEditPolicy ( EditPolicy . LAYOUT_ROLE , null ) ; } }