/** @generated NOT */
 protected void createDefaultEditPolicies() {
   super.createDefaultEditPolicies();
   installEditPolicy(
       EditPolicyRoles.SEMANTIC_ROLE,
       new MediatorFlowMediatorFlowCompartment21ItemSemanticEditPolicy());
   installEditPolicy(
       EditPolicyRoles.CREATION_ROLE,
       new CreationEditPolicyWithCustomReparent(EsbVisualIDRegistry.TYPED_INSTANCE));
   installEditPolicy(EditPolicyRoles.DRAG_DROP_ROLE, new DragDropEditPolicy());
   installEditPolicy(EditPolicyRoles.DRAG_DROP_ROLE, new FeedbackIndicateDragDropEditPolicy());
   installEditPolicy(
       EditPolicyRoles.CANONICAL_ROLE,
       new MediatorFlowMediatorFlowCompartment21CanonicalEditPolicy());
 }
 /** @generated */
 protected void setRatio(Double ratio) {
   if (getFigure().getParent().getLayoutManager() instanceof ConstrainedToolbarLayout) {
     super.setRatio(ratio);
   }
 }