/** * Removes all children of this area, then executes pending commands that add dockables at specified locations.<br> * In particular this method analyzes all the commands that were generated by calls to the <code>grid*</code> methods * and merges them into a layout that fits the locations and sizes the client specified as good as possible.<br> * If {@link #isAutoDeploy()} returns <code>true</code>, then this method is called automatically before storing * the layout of this area.<br> * This method will silently return if the list of pending commands was never accessed directly or indirectly * by the client. * @see #isAutoDeploy() * @see #gridAdd(double, double, double, double, CDockablePerspective...) * @see #gridSelect(double, double, double, double, CDockablePerspective) * @see #gridHorizontal(double, double, double) * @see #gridVertical(double, double, double) * @see #gridClear() */ public void gridDeploy(){ if( gridChanges ) { gridChanges = false; try { onDeploy = true; delegate().read( grid.toTree(), null ); } finally { onDeploy = false; } } }
/** * Removes all children of this area, then executes pending commands that add dockables at specified locations.<br> * In particular this method analyzes all the commands that were generated by calls to the <code>grid*</code> methods * and merges them into a layout that fits the locations and sizes the client specified as good as possible.<br> * If {@link #isAutoDeploy()} returns <code>true</code>, then this method is called automatically before storing * the layout of this area.<br> * This method will silently return if the list of pending commands was never accessed directly or indirectly * by the client. * @see #isAutoDeploy() * @see #gridAdd(double, double, double, double, CDockablePerspective...) * @see #gridSelect(double, double, double, double, CDockablePerspective) * @see #gridHorizontal(double, double, double) * @see #gridVertical(double, double, double) * @see #gridClear() */ public void gridDeploy(){ if( gridChanges ) { gridChanges = false; try { onDeploy = true; delegate().read( grid.toTree(), null ); } finally { onDeploy = false; } } }