Ignore:
Timestamp:
07/25/07 01:11:18 (5 years ago)
Author:
sys
Message:

navOutline : activation de la version complète.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Jav_GE/com/scenari/m/ge/agent/OutlineWalker.java

    r9203 r9394  
    6363 
    6464        } 
     65         
     66        /** 
     67         * Restreint les noeuds à ceux qui sont matérialisés dans le contenu. 
     68         */ 
     69        protected boolean fRestrictToMaterializedNode = false; 
    6570 
    6671        /** 
     
    913918 
    914919        protected boolean xIsSkipped(IWAgent pAgt) throws Exception { 
    915                 return (pAgt instanceof IWAgentOutline) && ((IWAgentOutline) pAgt).isSkipped(fCurrentDialog); 
     920                if(pAgt instanceof IWAgentOutline) { 
     921                        return ((IWAgentOutline) pAgt).isSkipped(fCurrentDialog) || (fRestrictToMaterializedNode && ! ((IWAgentOutline) pAgt).isMaterialized(fCurrentDialog)); 
     922                } 
     923                return false; 
    916924        } 
    917925 
     
    10271035                return vPos; 
    10281036        } 
     1037 
     1038        public boolean isRestrictToMaterializedNode() { 
     1039                return fRestrictToMaterializedNode; 
     1040        } 
     1041 
     1042        public void setRestrictToMaterializedNode(boolean pRestrictToMaterializedNode) { 
     1043                fRestrictToMaterializedNode = pRestrictToMaterializedNode; 
     1044        } 
    10291045} 
Note: See TracChangeset for help on using the changeset viewer.