- Timestamp:
- 07/25/07 01:11:18 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Jav_GE/com/scenari/m/ge/agent/scenario/HAgentScenario.java
r7467 r9394 100 100 return hGetIntitule(pDialog).length() == 0; 101 101 } 102 103 /** 104 * Avec cette implémentaton, un noeud de l'outline est matérialisé 105 * que si son 1er fils est une noeud rejeté de l'outline constituant par conséquent son contenu. 106 */ 107 public boolean isMaterialized(IHDialog pDialog) throws Exception{ 108 IWADialog vDialog = null; 109 110 if (pDialog instanceof IWADialog) { 111 vDialog = (IWADialog) pDialog; 112 } else { 113 vDialog = hNewDialog(pDialog); 114 } 115 String[] vCodesAgents = ((WComposantScenario) fComposant).hGetCodesAgentsLies(this, vDialog); 116 if(vCodesAgents.length > 0) { 117 IWAgent vAgt = hGetAgentParRef(vCodesAgents[0]); 118 if(vAgt != null && vAgt instanceof IWAgentOutline) { 119 return ((IWAgentOutline)vAgt).isRejected(pDialog); 120 } 121 } 122 return false; 123 } 102 124 }
Note: See TracChangeset
for help on using the changeset viewer.