コード例 #1
0
 @Override
 protected void updateConstraints(RadComponent component) {
   GridLayoutManager layout = (GridLayoutManager) component.getParent().getLayout();
   final GridConstraints radConstraints = component.getConstraints();
   final GridConstraints delegeeConstraints =
       layout.getConstraintsForComponent(component.getDelegee());
   if (radConstraints != delegeeConstraints) {
     delegeeConstraints.restore(radConstraints);
   }
   super.updateConstraints(component);
 }
コード例 #2
0
 public void addComponentToContainer(
     final RadContainer container, final RadComponent component, final int index) {
   super.addComponentToContainer(container, component, index);
   container.getDelegee().add(component.getDelegee(), component.getConstraints());
 }