Exemplo n.º 1
0
  public boolean isLayoutChanged() {
    Container defaultContainer =
        (Container) BeanSupport.getDefaultInstance(radContainer.getBeanClass());
    Container defaultContDelegate = radContainer.getContainerDelegate(defaultContainer);

    return layoutDelegate.isLayoutChanged(defaultContainer, defaultContDelegate);
  }
Exemplo n.º 2
0
 // return container delegate of container instance of meta container
 @Override
 public Container getPrimaryContainerDelegate() {
   Container defCont = (Container) radContainer.getBeanInstance();
   if (primaryContainerDelegate == null || primaryContainer != defCont) {
     primaryContainer = defCont;
     primaryContainerDelegate = radContainer.getContainerDelegate(defCont);
   }
   return primaryContainerDelegate;
 }