/** * Exchanges all the {@link CDockable}s on this area with the * elements of <code>grid</code>. * @param grid a grid containing some new {@link Dockable}s */ public void deploy( CGrid grid ){ station.dropTree( grid.toTree() ); }
/** * Exchanges all the {@link CDockable}s on this area with the * elements of <code>grid</code>. * @param grid a grid containing some new {@link Dockable}s */ public void deploy( CGrid grid ){ station.dropTree( grid.toTree() ); }
/** * Exchanges all the {@link CDockable}s on the center panel by * the elements of <code>grid</code>. * @param grid a grid containing some new {@link Dockable}s */ public void deploy( CGrid grid ){ getCenter().dropTree( grid.toTree() ); }
/** * Exchanges all the {@link CDockable}s on the center panel by * the elements of <code>grid</code>. * @param grid a grid containing some new {@link Dockable}s */ public void deploy( CGrid grid ){ getCenter().dropTree( grid.toTree() ); }
/** * Exchanges all the {@link CDockable}s on this area with the * elements of <code>grid</code>. This method also calls * {@link CDockable#setWorkingArea(CStation)} for each * dockable in <code>grid</code>. * @param grid a grid containing some new {@link Dockable}s */ public void deploy( CGrid grid ){ DockableSplitDockTree tree = grid.toTree(); for( Dockable dockable : tree.getDockables() ){ if( dockable instanceof CommonDockable ){ CommonDockable cdock = (CommonDockable)dockable; cdock.getDockable().setWorkingArea( this ); } } getStation().dropTree( tree ); }
/** * Exchanges all the {@link CDockable}s on this area with the * elements of <code>grid</code>. This method also calls * {@link CDockable#setWorkingArea(CStation)} for each * dockable in <code>grid</code>. * @param grid a grid containing some new {@link Dockable}s */ public void deploy( CGrid grid ){ DockableSplitDockTree tree = grid.toTree(); for( Dockable dockable : tree.getDockables() ){ if( dockable instanceof CommonDockable ){ CommonDockable cdock = (CommonDockable)dockable; cdock.getDockable().setWorkingArea( this ); } } getStation().dropTree( tree ); }