/** @generated */
 protected void setupCompartmentCollapsed(View view) {
   DrawerStyle drawerStyle =
       (DrawerStyle) view.getStyle(NotationPackage.eINSTANCE.getDrawerStyle());
   if (drawerStyle != null) {
     drawerStyle.setCollapsed(false);
   }
 }
 /** @generated */
 @Override
 protected void refreshVisibility() {
   boolean visibility = getNotationView().isVisible();
   if (visibility) {
     DrawerStyle style =
         (DrawerStyle) getNotationView().getStyle(NotationPackage.eINSTANCE.getDrawerStyle());
     if (style != null && !style.isCollapsed()) {
       visibility &= !getChildren().isEmpty();
     }
   }
   setVisibility(visibility);
 }