You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2009/08/19 14:49:59 UTC
svn commit: r805781 -
/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/layout/LayoutContext.java
Author: lofwyr
Date: Wed Aug 19 12:49:58 2009
New Revision: 805781
URL: http://svn.apache.org/viewvc?rev=805781&view=rev
Log:
TOBAGO-606: Layout-Manager
- remove unsuitable comment
Modified:
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/layout/LayoutContext.java
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/layout/LayoutContext.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/layout/LayoutContext.java?rev=805781&r1=805780&r2=805781&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/layout/LayoutContext.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/layout/LayoutContext.java Wed Aug 19 12:49:58 2009
@@ -19,25 +19,6 @@
import org.apache.myfaces.tobago.layout.math.EquationManager;
-/*
-Thinking about an alternative algorithm to the SystemOfEquations ...
-
-- get UIPage
- - call compute-sizes
- - get the LayoutManager
- - go to the PX elements
- - call compute-sizes (recursively)
- - go to the Auto elements
- - call compute-sizes (recursively)
- - compute the max size of the elements and set it to the row/column
- - calculate remainder = given size - all px sizes - all auto sizes
- - go to the * elements
- - partition remainder to this elements (3*;2*)
- - call compute-sizes (recursively)
- - call set-positions
- - compute and set positions of columns/rows
- - call set-positions for all elements (recursively)
- */
public class LayoutContext {
private EquationManager horizontal;