diff --git a/build.txt b/build.txt
index 58d3d6a5c30e87b7dca0f2389d42e0920462687b..1f1aebc3864e524b31a67b42c80e26da4599ad6e 100644
--- a/build.txt
+++ b/build.txt
@@ -1 +1 @@
-12633
\ No newline at end of file
+12666
\ No newline at end of file
diff --git a/doc/config_linux.xml b/doc/config_linux.xml
index 22e478ab988ae5fc4a874b4afb357ba103a7b5d9..1306d59b20ffa873350d60c96268fa92f4f786c7 100755
--- a/doc/config_linux.xml
+++ b/doc/config_linux.xml
@@ -7,6 +7,7 @@
 <DownloadedFILEPath data="../modeling/" />
 <LIBPath data="../lib" />
 <IMGPath data="../figures" />
+<IMGPath data="../doc" />
 <LOTOSPath data="../lotos/" />
 <GGraphPath data="../graphs" />
 <TGraphPath data="../graphs" />
diff --git a/doc/config_macosx.xml b/doc/config_macosx.xml
index f1b9ed8ca066ff0e4933958373391631c6f824d8..bf93b4152c0c09e53a68c36b89a5d7aa366ece3b 100755
--- a/doc/config_macosx.xml
+++ b/doc/config_macosx.xml
@@ -7,6 +7,7 @@
 <DownloadedFILEPath data="../modeling/" />
 <LIBPath data="../lib" />
 <IMGPath data="../figures" />
+<DocGenPath data="../doc" />
 <LOTOSPath data="../lotos/" />
 <GGraphPath data="../graphs" />
 <TGraphPath data="../graphs" />
diff --git a/doc/config_windows.xml b/doc/config_windows.xml
index 33da8b3b5ab6854d35b0899e8e3128ef1d9b096a..464829aa54f462dfd8bab310ca6b9d64c10fdbcb 100755
--- a/doc/config_windows.xml
+++ b/doc/config_windows.xml
@@ -7,6 +7,7 @@
 <DownloadedFILEPath data="../modeling/" />
 <LIBPath data="../lib" />
 <IMGPath data="../figures" />
+<DocGenPath data="../doc" />
 <LOTOSPath data="../lotos/" />
 <GGraphPath data="../graphs" />
 <TGraphPath data="../graphs" />
diff --git a/modeling/DIPLODOCUS/SmartCardProtocol.xml b/modeling/DIPLODOCUS/SmartCardProtocol.xml
index 9636dcbcd86b9992db3f7ed5b1bb06ccb91a359c..0bc6f299f4388cea85cf10513689c1ff196154ee 100755
--- a/modeling/DIPLODOCUS/SmartCardProtocol.xml
+++ b/modeling/DIPLODOCUS/SmartCardProtocol.xml
@@ -8,198 +8,198 @@
 <cdparam x="522" y="390" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="535" y="377" id="60" />
-<P2  x="455" y="323" id="39" />
+<P1  x="522" y="390" id="200" />
+<P2  x="468" y="336" id="47" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="2" >
 <cdparam x="409" y="124" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="402" y="84" id="37" />
-<P2  x="593" y="85" id="186" />
+<P1  x="402" y="84" id="49" />
+<P2  x="593" y="85" id="82" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="3" >
-<cdparam x="652" y="444" />
+<cdparam x="656" y="426" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="805" y="544" id="89" />
-<P2  x="971" y="481" id="152" />
+<P1  x="816" y="554" id="179" />
+<P2  x="971" y="502" id="107" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="4" >
-<cdparam x="652" y="418" />
+<cdparam x="656" y="400" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="805" y="512" id="87" />
-<P2  x="932" y="472" id="154" />
+<P1  x="816" y="522" id="181" />
+<P2  x="922" y="482" id="105" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="5" >
 <cdparam x="602" y="327" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="752" y="408" id="79" />
-<P2  x="844" y="363" id="103" />
+<P1  x="752" y="408" id="189" />
+<P2  x="831" y="376" id="150" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="6" >
-<cdparam x="685" y="310" />
+<cdparam x="689" y="292" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="844" y="389" id="107" />
-<P2  x="932" y="358" id="144" />
+<P1  x="857" y="376" id="154" />
+<P2  x="922" y="368" id="115" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="7" >
-<cdparam x="652" y="395" />
+<cdparam x="656" y="377" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="805" y="483" id="83" />
-<P2  x="932" y="449" id="146" />
+<P1  x="816" y="493" id="185" />
+<P2  x="922" y="459" id="113" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="8" >
-<cdparam x="652" y="369" />
+<cdparam x="656" y="351" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="805" y="451" id="85" />
-<P2  x="932" y="422" id="148" />
+<P1  x="816" y="461" id="183" />
+<P2  x="922" y="432" id="111" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="9" >
-<cdparam x="737" y="314" />
+<cdparam x="741" y="296" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="932" y="393" id="150" />
-<P2  x="805" y="422" id="81" />
+<P1  x="922" y="403" id="109" />
+<P2  x="816" y="432" id="187" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="10" >
 <cdparam x="735" y="260" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="932" y="323" id="142" />
-<P2  x="736" y="271" id="198" />
+<P1  x="919" y="336" id="117" />
+<P2  x="749" y="284" id="70" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="11" >
 <cdparam x="641" y="230" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="736" y="235" id="200" />
-<P2  x="932" y="284" id="140" />
+<P1  x="749" y="248" id="68" />
+<P2  x="919" y="297" id="119" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="12" >
 <cdparam x="641" y="195" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="736" y="191" id="202" />
-<P2  x="932" y="241" id="138" />
+<P1  x="749" y="204" id="66" />
+<P2  x="919" y="254" id="121" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="13" >
 <cdparam x="740" y="353" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="844" y="363" id="102" />
-<P2  x="736" y="302" id="204" />
+<P1  x="831" y="376" id="149" />
+<P2  x="749" y="315" id="64" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="14" >
 <cdparam x="460" y="270" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="535" y="291" id="194" />
-<P2  x="455" y="291" id="45" />
+<P1  x="522" y="304" id="74" />
+<P2  x="468" y="304" id="41" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="15" >
 <cdparam x="387" y="129" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="455" y="117" id="49" />
-<P2  x="535" y="117" id="206" />
+<P1  x="466" y="127" id="37" />
+<P2  x="525" y="127" id="62" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="16" >
 <cdparam x="389" y="200" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="455" y="203" id="43" />
-<P2  x="535" y="203" id="192" />
+<P1  x="468" y="216" id="43" />
+<P2  x="522" y="216" id="76" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="17" >
 <cdparam x="460" y="236" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="535" y="248" id="190" />
-<P2  x="455" y="248" id="41" />
+<P1  x="522" y="261" id="78" />
+<P2  x="468" y="261" id="45" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="18" >
 <cdparam x="460" y="296" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="536" y="323" id="188" />
-<P2  x="535" y="403" id="65" />
+<P1  x="536" y="349" id="80" />
+<P2  x="548" y="390" id="205" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="19" >
 <cdparam x="389" y="163" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="455" y="157" id="47" />
-<P2  x="535" y="157" id="196" />
+<P1  x="468" y="170" id="39" />
+<P2  x="522" y="170" id="72" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="20" >
 <cdparam x="967" y="190" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="932" y="191" id="136" />
-<P2  x="736" y="112" id="184" />
+<P1  x="919" y="204" id="123" />
+<P2  x="749" y="125" id="84" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="21" >
 <cdparam x="1028" y="535" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="630" y="326" id="208" />
-<P2  x="671" y="408" id="91" />
+<P1  x="630" y="347" id="60" />
+<P2  x="671" y="408" id="177" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="22" >
-<cdparam x="1304" y="321" />
+<cdparam x="1308" y="303" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="1234" y="369" id="121" />
-<P2  x="1169" y="376" id="156" />
+<P1  x="1224" y="379" id="138" />
+<P2  x="1180" y="386" id="103" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="23" >
-<cdparam x="1168" y="455" />
+<cdparam x="1172" y="437" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="1169" y="411" id="158" />
-<P2  x="1234" y="404" id="123" />
+<P1  x="1180" y="421" id="101" />
+<P2  x="1224" y="414" id="136" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="26" >
-<cdparam x="1037" y="180" />
+<cdparam x="1041" y="162" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="1169" y="204" id="160" />
-<P2  x="1169" y="272" id="162" />
-<Point x="1224" y="226" />
-<Point x="1224" y="266" />
+<P1  x="1180" y="214" id="99" />
+<P2  x="1180" y="282" id="97" />
+<Point x="1228" y="208" />
+<Point x="1228" y="248" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR><SUBCOMPONENT type="-1" id="24" >
 <father id="26" num="0" />
-<cdparam x="1224" y="226" />
+<cdparam x="1228" y="208" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
@@ -207,7 +207,7 @@
 </SUBCOMPONENT>
 <SUBCOMPONENT type="-1" id="25" >
 <father id="26" num="1" />
-<cdparam x="1224" y="266" />
+<cdparam x="1228" y="248" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
@@ -215,15 +215,15 @@
 </SUBCOMPONENT>
 
 <CONNECTOR type="126" id="27" >
-<cdparam x="873" y="361" />
+<cdparam x="877" y="343" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="1169" y="451" id="164" />
-<P2  x="1234" y="432" id="125" />
+<P1  x="1180" y="461" id="95" />
+<P2  x="1224" y="442" id="134" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <COMPONENT type="1205" id="36" >
-<cdparam x="1152" y="505" />
+<cdparam x="1156" y="487" />
 <sizeparam width="206" height="105" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="0" maxX="2725" minY="0" maxY="917" />
@@ -267,14 +267,14 @@
 </COMPONENT>
 <SUBCOMPONENT type="1203" id="38" >
 <father id="59" num="0" />
-<cdparam x="389" y="84" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="445" y="117" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="278" minY="-13" maxY="264" />
-<infoparam name="TGComponent" value="Event reset, pTS" />
+<cdrectangleparam minX="-10" maxX="281" minY="-10" maxY="267" />
+<infoparam name="TGComponent" value="Request activation" />
 <TGConnectingPoint num="0" id="37" />
 <extraparam>
-<Prop commName="reset, pTS" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="activation" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -284,16 +284,16 @@
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="40" >
 <father id="59" num="1" />
-<cdparam x="442" y="323" />
+<cdparam x="442" y="157" />
 <sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-13" maxX="278" minY="-13" maxY="264" />
-<infoparam name="TGComponent" value="Event answerToReset, pTSConfirm" />
+<infoparam name="TGComponent" value="Event data_Ready" />
 <TGConnectingPoint num="0" id="39" />
 <extraparam>
-<Prop commName="answerToReset, pTSConfirm" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
+<Prop commName="data_Ready" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="uint_16" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="1" typeOther="" />
+<Type type="2" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -301,14 +301,14 @@
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="42" >
 <father id="59" num="2" />
-<cdparam x="442" y="248" />
+<cdparam x="442" y="291" />
 <sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-13" maxX="278" minY="-13" maxY="264" />
-<infoparam name="TGComponent" value="Channel fromSCtoD" />
+<infoparam name="TGComponent" value="Event data_Ready_SC" />
 <TGConnectingPoint num="0" id="41" />
 <extraparam>
-<Prop commName="fromSCtoD" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="data_Ready_SC" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -335,14 +335,14 @@
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="46" >
 <father id="59" num="4" />
-<cdparam x="442" y="291" />
+<cdparam x="442" y="248" />
 <sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-13" maxX="278" minY="-13" maxY="264" />
-<infoparam name="TGComponent" value="Event data_Ready_SC" />
+<infoparam name="TGComponent" value="Channel fromSCtoD" />
 <TGConnectingPoint num="0" id="45" />
 <extraparam>
-<Prop commName="data_Ready_SC" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="fromSCtoD" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -352,16 +352,16 @@
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="48" >
 <father id="59" num="5" />
-<cdparam x="442" y="157" />
+<cdparam x="442" y="323" />
 <sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-13" maxX="278" minY="-13" maxY="264" />
-<infoparam name="TGComponent" value="Event data_Ready" />
+<infoparam name="TGComponent" value="Event answerToReset, pTSConfirm" />
 <TGConnectingPoint num="0" id="47" />
 <extraparam>
-<Prop commName="data_Ready" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="uint_16" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="1" typeOther="" />
-<Type type="2" typeOther="" />
+<Prop commName="answerToReset, pTSConfirm" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -369,14 +369,14 @@
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="50" >
 <father id="59" num="6" />
-<cdparam x="445" y="117" />
-<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="389" y="84" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="281" minY="-10" maxY="267" />
-<infoparam name="TGComponent" value="Request activation" />
+<cdrectangleparam minX="-13" maxX="278" minY="-13" maxY="264" />
+<infoparam name="TGComponent" value="Event reset, pTS" />
 <TGConnectingPoint num="0" id="49" />
 <extraparam>
-<Prop commName="activation" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="reset, pTS" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -403,61 +403,43 @@
 <info hiddeni="false" />
 </extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="1201" id="78" >
+<SUBCOMPONENT type="1202" id="94" >
 <father id="227" num="0" />
-<cdparam x="522" y="377" />
-<sizeparam width="26" height="26" minWidth="10" minHeight="10" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-13" maxX="923" minY="-13" maxY="517" />
-<infoparam name="Composite port" value="" />
-<TGConnectingPoint num="0" id="60" />
-<TGConnectingPoint num="1" id="61" />
-<TGConnectingPoint num="2" id="62" />
-<TGConnectingPoint num="3" id="63" />
-<TGConnectingPoint num="4" id="64" />
-<TGConnectingPoint num="5" id="65" />
-<TGConnectingPoint num="6" id="66" />
-<TGConnectingPoint num="7" id="67" />
-<TGConnectingPoint num="8" id="68" />
-<TGConnectingPoint num="9" id="69" />
-<TGConnectingPoint num="10" id="70" />
-<TGConnectingPoint num="11" id="71" />
-<TGConnectingPoint num="12" id="72" />
-<TGConnectingPoint num="13" id="73" />
-<TGConnectingPoint num="14" id="74" />
-<TGConnectingPoint num="15" id="75" />
-<TGConnectingPoint num="16" id="76" />
-<TGConnectingPoint num="17" id="77" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1202" id="101" >
-<father id="227" num="1" />
-<cdparam x="565" y="418" />
-<sizeparam width="240" height="146" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="535" y="98" />
+<sizeparam width="201" height="238" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="696" minY="0" maxY="384" />
-<infoparam name="TGComponent" value="Application" />
-<TGConnectingPoint num="0" id="93" />
-<TGConnectingPoint num="1" id="94" />
-<TGConnectingPoint num="2" id="95" />
-<TGConnectingPoint num="3" id="96" />
-<TGConnectingPoint num="4" id="97" />
-<TGConnectingPoint num="5" id="98" />
-<TGConnectingPoint num="6" id="99" />
-<TGConnectingPoint num="7" id="100" />
+<cdrectangleparam minX="0" maxX="735" minY="0" maxY="292" />
+<infoparam name="TGComponent" value="SmartCard" />
+<TGConnectingPoint num="0" id="86" />
+<TGConnectingPoint num="1" id="87" />
+<TGConnectingPoint num="2" id="88" />
+<TGConnectingPoint num="3" id="89" />
+<TGConnectingPoint num="4" id="90" />
+<TGConnectingPoint num="5" id="91" />
+<TGConnectingPoint num="6" id="92" />
+<TGConnectingPoint num="7" id="93" />
 <extraparam>
 <Data isAttacker="No" />
+<Attribute access="2" id="resetType" value="0" type="0" typeOther="" />
+<Attribute access="2" id="a" value="0" type="0" typeOther="" />
+<Attribute access="2" id="b" value="" type="4" typeOther="" />
+<Attribute access="2" id="i" value="0" type="0" typeOther="" />
+<Attribute access="2" id="j" value="0" type="0" typeOther="" />
+<Attribute access="2" id="x" value="0" type="0" typeOther="" />
+<Attribute access="2" id="tcpctrl" value="" type="5" typeOther="TCP_CTRL" />
+<Attribute access="2" id="t" value="" type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="80" >
-<father id="101" num="0" />
-<cdparam x="742" y="408" />
+<SUBCOMPONENT type="1203" id="61" >
+<father id="94" num="0" />
+<cdparam x="620" y="326" />
 <sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="136" />
-<infoparam name="TGComponent" value="Request start_TCP_IP" />
-<TGConnectingPoint num="0" id="79" />
+<cdrectangleparam minX="-10" maxX="191" minY="-10" maxY="228" />
+<infoparam name="TGComponent" value="Request start_Application" />
+<TGConnectingPoint num="0" id="60" />
 <extraparam>
-<Prop commName="start_TCP_IP" commType="2" origin="true" finite="false" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="start_Application" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -465,16 +447,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="82" >
-<father id="101" num="1" />
-<cdparam x="795" y="422" />
+<SUBCOMPONENT type="1203" id="63" >
+<father id="94" num="1" />
+<cdparam x="525" y="117" />
 <sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="136" />
-<infoparam name="TGComponent" value="Channel fromTtoA" />
-<TGConnectingPoint num="0" id="81" />
+<cdrectangleparam minX="-10" maxX="191" minY="-10" maxY="228" />
+<infoparam name="TGComponent" value="Request activation" />
+<TGConnectingPoint num="0" id="62" />
 <extraparam>
-<Prop commName="fromTtoA" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="activation" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -482,16 +464,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="84" >
-<father id="101" num="2" />
-<cdparam x="795" y="483" />
-<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="65" >
+<father id="94" num="2" />
+<cdparam x="723" y="302" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="136" />
-<infoparam name="TGComponent" value="Event send_TCP" />
-<TGConnectingPoint num="0" id="83" />
+<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
+<infoparam name="TGComponent" value="Request start_TCP_IP" />
+<TGConnectingPoint num="0" id="64" />
 <extraparam>
-<Prop commName="send_TCP" commType="1" origin="true" finite="false" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="start_TCP_IP" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -499,16 +481,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="86" >
-<father id="101" num="3" />
-<cdparam x="795" y="451" />
-<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="67" >
+<father id="94" num="3" />
+<cdparam x="723" y="191" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="136" />
-<infoparam name="TGComponent" value="Event open, abort, close" />
-<TGConnectingPoint num="0" id="85" />
+<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
+<infoparam name="TGComponent" value="Event receive" />
+<TGConnectingPoint num="0" id="66" />
 <extraparam>
-<Prop commName="open, abort, close" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="receive" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -516,16 +498,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="88" >
-<father id="101" num="4" />
-<cdparam x="795" y="512" />
-<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="69" >
+<father id="94" num="4" />
+<cdparam x="723" y="235" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="136" />
-<infoparam name="TGComponent" value="Event receive_Application" />
-<TGConnectingPoint num="0" id="87" />
+<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
+<infoparam name="TGComponent" value="Channel fromPtoT" />
+<TGConnectingPoint num="0" id="68" />
 <extraparam>
-<Prop commName="receive_Application" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="fromPtoT" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -533,16 +515,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="90" >
-<father id="101" num="5" />
-<cdparam x="795" y="544" />
-<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="71" >
+<father id="94" num="5" />
+<cdparam x="723" y="271" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="136" />
-<infoparam name="TGComponent" value="Channel fromAtoT" />
-<TGConnectingPoint num="0" id="89" />
+<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
+<infoparam name="TGComponent" value="Channel fromTtoP" />
+<TGConnectingPoint num="0" id="70" />
 <extraparam>
-<Prop commName="fromAtoT" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="fromTtoP" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -550,16 +532,33 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="92" >
-<father id="101" num="6" />
-<cdparam x="661" y="408" />
-<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="73" >
+<father id="94" num="6" />
+<cdparam x="522" y="157" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="136" />
-<infoparam name="TGComponent" value="Request start_Application" />
-<TGConnectingPoint num="0" id="91" />
+<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
+<infoparam name="TGComponent" value="Event data_Ready" />
+<TGConnectingPoint num="0" id="72" />
 <extraparam>
-<Prop commName="start_Application" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="data_Ready" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="uint_16" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="1" typeOther="" />
+<Type type="2" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+</extraparam>
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="75" >
+<father id="94" num="7" />
+<cdparam x="522" y="291" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
+<infoparam name="TGComponent" value="Event data_Ready_SC" />
+<TGConnectingPoint num="0" id="74" />
+<extraparam>
+<Prop commName="data_Ready_SC" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -567,81 +566,50 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1200" id="183" >
-<father id="227" num="2" />
-<cdparam x="844" y="134" />
-<sizeparam width="570" height="486" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="77" >
+<father id="94" num="8" />
+<cdparam x="522" y="203" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="366" minY="0" maxY="44" />
-<infoparam name="TGComponent" value="TCPIP Entities" />
-<TGConnectingPoint num="0" id="175" />
-<TGConnectingPoint num="1" id="176" />
-<TGConnectingPoint num="2" id="177" />
-<TGConnectingPoint num="3" id="178" />
-<TGConnectingPoint num="4" id="179" />
-<TGConnectingPoint num="5" id="180" />
-<TGConnectingPoint num="6" id="181" />
-<TGConnectingPoint num="7" id="182" />
+<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
+<infoparam name="TGComponent" value="Channel fromDtoSC" />
+<TGConnectingPoint num="0" id="76" />
 <extraparam>
-<info hiddeni="false" />
+<Prop commName="fromDtoSC" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="uint_16" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="120" >
-<father id="183" num="0" />
-<cdparam x="831" y="363" />
-<sizeparam width="26" height="26" minWidth="10" minHeight="10" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-13" maxX="557" minY="-13" maxY="473" />
-<infoparam name="Composite port" value="" />
-<TGConnectingPoint num="0" id="102" />
-<TGConnectingPoint num="1" id="103" />
-<TGConnectingPoint num="2" id="104" />
-<TGConnectingPoint num="3" id="105" />
-<TGConnectingPoint num="4" id="106" />
-<TGConnectingPoint num="5" id="107" />
-<TGConnectingPoint num="6" id="108" />
-<TGConnectingPoint num="7" id="109" />
-<TGConnectingPoint num="8" id="110" />
-<TGConnectingPoint num="9" id="111" />
-<TGConnectingPoint num="10" id="112" />
-<TGConnectingPoint num="11" id="113" />
-<TGConnectingPoint num="12" id="114" />
-<TGConnectingPoint num="13" id="115" />
-<TGConnectingPoint num="14" id="116" />
-<TGConnectingPoint num="15" id="117" />
-<TGConnectingPoint num="16" id="118" />
-<TGConnectingPoint num="17" id="119" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1202" id="135" >
-<father id="183" num="1" />
-<cdparam x="1234" y="329" />
-<sizeparam width="141" height="142" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="79" >
+<father id="94" num="9" />
+<cdparam x="522" y="248" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="429" minY="0" maxY="344" />
-<infoparam name="TGComponent" value="Timer" />
-<TGConnectingPoint num="0" id="127" />
-<TGConnectingPoint num="1" id="128" />
-<TGConnectingPoint num="2" id="129" />
-<TGConnectingPoint num="3" id="130" />
-<TGConnectingPoint num="4" id="131" />
-<TGConnectingPoint num="5" id="132" />
-<TGConnectingPoint num="6" id="133" />
-<TGConnectingPoint num="7" id="134" />
+<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
+<infoparam name="TGComponent" value="Channel fromSCtoD" />
+<TGConnectingPoint num="0" id="78" />
 <extraparam>
-<Data isAttacker="No" />
-<Attribute access="2" id="x" value="0" type="0" typeOther="" />
+<Prop commName="fromSCtoD" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="122" >
-<father id="135" num="0" />
-<cdparam x="1224" y="369" />
-<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="81" >
+<father id="94" num="10" />
+<cdparam x="523" y="323" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="131" minY="-10" maxY="132" />
-<infoparam name="TGComponent" value="Event timeOut" />
-<TGConnectingPoint num="0" id="121" />
+<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
+<infoparam name="TGComponent" value="Event answerToReset, pTSConfirm" />
+<TGConnectingPoint num="0" id="80" />
 <extraparam>
-<Prop commName="timeOut" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="answerToReset, pTSConfirm" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -649,16 +617,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="124" >
-<father id="135" num="1" />
-<cdparam x="1224" y="404" />
-<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="83" >
+<father id="94" num="11" />
+<cdparam x="580" y="85" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="131" minY="-10" maxY="132" />
-<infoparam name="TGComponent" value="Request req_Timer" />
-<TGConnectingPoint num="0" id="123" />
+<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
+<infoparam name="TGComponent" value="Event reset, pTS" />
+<TGConnectingPoint num="0" id="82" />
 <extraparam>
-<Prop commName="req_Timer" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="reset, pTS" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -666,16 +634,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="126" >
-<father id="135" num="2" />
-<cdparam x="1224" y="432" />
-<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="85" >
+<father id="94" num="12" />
+<cdparam x="723" y="112" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="131" minY="-10" maxY="132" />
-<infoparam name="TGComponent" value="Event stop" />
-<TGConnectingPoint num="0" id="125" />
+<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
+<infoparam name="TGComponent" value="Event send" />
+<TGConnectingPoint num="0" id="84" />
 <extraparam>
-<Prop commName="stop" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="send" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -683,21 +651,40 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1202" id="174" >
-<father id="183" num="2" />
+<SUBCOMPONENT type="1200" id="176" >
+<father id="227" num="1" />
+<cdparam x="844" y="134" />
+<sizeparam width="570" height="486" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="0" maxX="366" minY="0" maxY="44" />
+<infoparam name="TGComponent" value="TCPIP Entities" />
+<TGConnectingPoint num="0" id="168" />
+<TGConnectingPoint num="1" id="169" />
+<TGConnectingPoint num="2" id="170" />
+<TGConnectingPoint num="3" id="171" />
+<TGConnectingPoint num="4" id="172" />
+<TGConnectingPoint num="5" id="173" />
+<TGConnectingPoint num="6" id="174" />
+<TGConnectingPoint num="7" id="175" />
+<extraparam>
+<info hiddeni="false" />
+</extraparam>
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1202" id="133" >
+<father id="176" num="0" />
 <cdparam x="932" y="173" />
 <sizeparam width="237" height="318" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="0" maxX="333" minY="0" maxY="168" />
 <infoparam name="TGComponent" value="TCPIP" />
-<TGConnectingPoint num="0" id="166" />
-<TGConnectingPoint num="1" id="167" />
-<TGConnectingPoint num="2" id="168" />
-<TGConnectingPoint num="3" id="169" />
-<TGConnectingPoint num="4" id="170" />
-<TGConnectingPoint num="5" id="171" />
-<TGConnectingPoint num="6" id="172" />
-<TGConnectingPoint num="7" id="173" />
+<TGConnectingPoint num="0" id="125" />
+<TGConnectingPoint num="1" id="126" />
+<TGConnectingPoint num="2" id="127" />
+<TGConnectingPoint num="3" id="128" />
+<TGConnectingPoint num="4" id="129" />
+<TGConnectingPoint num="5" id="130" />
+<TGConnectingPoint num="6" id="131" />
+<TGConnectingPoint num="7" id="132" />
 <extraparam>
 <Data isAttacker="No" />
 <Attribute access="2" id="wind" value="64" type="0" typeOther="" />
@@ -709,16 +696,16 @@
 <Attribute access="2" id="tcpctrl" value="" type="5" typeOther="TCP_CTRL" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="137" >
-<father id="174" num="0" />
-<cdparam x="919" y="191" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="96" >
+<father id="133" num="0" />
+<cdparam x="1159" y="451" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="224" minY="-13" maxY="305" />
-<infoparam name="TGComponent" value="Event send" />
-<TGConnectingPoint num="0" id="136" />
+<cdrectangleparam minX="-10" maxX="227" minY="-10" maxY="308" />
+<infoparam name="TGComponent" value="Event stop" />
+<TGConnectingPoint num="0" id="95" />
 <extraparam>
-<Prop commName="send" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="stop" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -726,16 +713,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="139" >
-<father id="174" num="1" />
-<cdparam x="919" y="241" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="98" >
+<father id="133" num="1" />
+<cdparam x="1159" y="272" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="224" minY="-13" maxY="305" />
-<infoparam name="TGComponent" value="Event receive" />
-<TGConnectingPoint num="0" id="138" />
+<cdrectangleparam minX="-10" maxX="227" minY="-10" maxY="308" />
+<infoparam name="TGComponent" value="Channel temp" />
+<TGConnectingPoint num="0" id="97" />
 <extraparam>
-<Prop commName="receive" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="temp" commType="0" origin="false" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -743,16 +730,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="141" >
-<father id="174" num="2" />
-<cdparam x="919" y="284" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="100" >
+<father id="133" num="2" />
+<cdparam x="1159" y="204" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="224" minY="-13" maxY="305" />
-<infoparam name="TGComponent" value="Channel fromPtoT" />
-<TGConnectingPoint num="0" id="140" />
+<cdrectangleparam minX="-10" maxX="227" minY="-10" maxY="308" />
+<infoparam name="TGComponent" value="Channel temp" />
+<TGConnectingPoint num="0" id="99" />
 <extraparam>
-<Prop commName="fromPtoT" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="temp" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -760,16 +747,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="143" >
-<father id="174" num="3" />
-<cdparam x="919" y="323" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="102" >
+<father id="133" num="3" />
+<cdparam x="1159" y="411" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="224" minY="-13" maxY="305" />
-<infoparam name="TGComponent" value="Channel fromTtoP" />
-<TGConnectingPoint num="0" id="142" />
+<cdrectangleparam minX="-10" maxX="227" minY="-10" maxY="308" />
+<infoparam name="TGComponent" value="Request req_Timer" />
+<TGConnectingPoint num="0" id="101" />
 <extraparam>
-<Prop commName="fromTtoP" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="req_Timer" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -777,16 +764,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="145" >
-<father id="174" num="4" />
-<cdparam x="922" y="358" />
+<SUBCOMPONENT type="1203" id="104" >
+<father id="133" num="4" />
+<cdparam x="1159" y="376" />
 <sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-10" maxX="227" minY="-10" maxY="308" />
-<infoparam name="TGComponent" value="Request start_TCP_IP" />
-<TGConnectingPoint num="0" id="144" />
+<infoparam name="TGComponent" value="Event timeOut" />
+<TGConnectingPoint num="0" id="103" />
 <extraparam>
-<Prop commName="start_TCP_IP" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="timeOut" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -794,16 +781,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="147" >
-<father id="174" num="5" />
-<cdparam x="922" y="449" />
+<SUBCOMPONENT type="1203" id="106" >
+<father id="133" num="5" />
+<cdparam x="922" y="472" />
 <sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-10" maxX="227" minY="-10" maxY="308" />
-<infoparam name="TGComponent" value="Event send_TCP" />
-<TGConnectingPoint num="0" id="146" />
+<infoparam name="TGComponent" value="Event receive_Application" />
+<TGConnectingPoint num="0" id="105" />
 <extraparam>
-<Prop commName="send_TCP" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="receive_Application" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -811,16 +798,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="149" >
-<father id="174" num="6" />
-<cdparam x="922" y="422" />
+<SUBCOMPONENT type="1203" id="108" >
+<father id="133" num="6" />
+<cdparam x="961" y="481" />
 <sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-10" maxX="227" minY="-10" maxY="308" />
-<infoparam name="TGComponent" value="Event open, abort, close" />
-<TGConnectingPoint num="0" id="148" />
+<infoparam name="TGComponent" value="Channel fromAtoT" />
+<TGConnectingPoint num="0" id="107" />
 <extraparam>
-<Prop commName="open, abort, close" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="fromAtoT" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -828,14 +815,14 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="151" >
-<father id="174" num="7" />
+<SUBCOMPONENT type="1203" id="110" >
+<father id="133" num="7" />
 <cdparam x="922" y="393" />
 <sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-10" maxX="227" minY="-10" maxY="308" />
 <infoparam name="TGComponent" value="Channel fromTtoA" />
-<TGConnectingPoint num="0" id="150" />
+<TGConnectingPoint num="0" id="109" />
 <extraparam>
 <Prop commName="fromTtoA" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
@@ -845,16 +832,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="153" >
-<father id="174" num="8" />
-<cdparam x="961" y="481" />
+<SUBCOMPONENT type="1203" id="112" >
+<father id="133" num="8" />
+<cdparam x="922" y="422" />
 <sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-10" maxX="227" minY="-10" maxY="308" />
-<infoparam name="TGComponent" value="Channel fromAtoT" />
-<TGConnectingPoint num="0" id="152" />
+<infoparam name="TGComponent" value="Event open, abort, close" />
+<TGConnectingPoint num="0" id="111" />
 <extraparam>
-<Prop commName="fromAtoT" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="open, abort, close" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -862,16 +849,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="155" >
-<father id="174" num="9" />
-<cdparam x="922" y="472" />
+<SUBCOMPONENT type="1203" id="114" >
+<father id="133" num="9" />
+<cdparam x="922" y="449" />
 <sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-10" maxX="227" minY="-10" maxY="308" />
-<infoparam name="TGComponent" value="Event receive_Application" />
-<TGConnectingPoint num="0" id="154" />
+<infoparam name="TGComponent" value="Event send_TCP" />
+<TGConnectingPoint num="0" id="113" />
 <extraparam>
-<Prop commName="receive_Application" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="send_TCP" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -879,16 +866,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="157" >
-<father id="174" num="10" />
-<cdparam x="1159" y="376" />
+<SUBCOMPONENT type="1203" id="116" >
+<father id="133" num="10" />
+<cdparam x="922" y="358" />
 <sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-10" maxX="227" minY="-10" maxY="308" />
-<infoparam name="TGComponent" value="Event timeOut" />
-<TGConnectingPoint num="0" id="156" />
+<infoparam name="TGComponent" value="Request start_TCP_IP" />
+<TGConnectingPoint num="0" id="115" />
 <extraparam>
-<Prop commName="timeOut" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="start_TCP_IP" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -896,16 +883,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="159" >
-<father id="174" num="11" />
-<cdparam x="1159" y="411" />
-<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="118" >
+<father id="133" num="11" />
+<cdparam x="919" y="323" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="227" minY="-10" maxY="308" />
-<infoparam name="TGComponent" value="Request req_Timer" />
-<TGConnectingPoint num="0" id="158" />
+<cdrectangleparam minX="-13" maxX="224" minY="-13" maxY="305" />
+<infoparam name="TGComponent" value="Channel fromTtoP" />
+<TGConnectingPoint num="0" id="117" />
 <extraparam>
-<Prop commName="req_Timer" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="fromTtoP" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -913,16 +900,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="161" >
-<father id="174" num="12" />
-<cdparam x="1159" y="204" />
-<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="120" >
+<father id="133" num="12" />
+<cdparam x="919" y="284" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="227" minY="-10" maxY="308" />
-<infoparam name="TGComponent" value="Channel temp" />
-<TGConnectingPoint num="0" id="160" />
+<cdrectangleparam minX="-13" maxX="224" minY="-13" maxY="305" />
+<infoparam name="TGComponent" value="Channel fromPtoT" />
+<TGConnectingPoint num="0" id="119" />
 <extraparam>
-<Prop commName="temp" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="fromPtoT" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -930,16 +917,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="163" >
-<father id="174" num="13" />
-<cdparam x="1159" y="272" />
-<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="122" >
+<father id="133" num="13" />
+<cdparam x="919" y="241" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="227" minY="-10" maxY="308" />
-<infoparam name="TGComponent" value="Channel temp" />
-<TGConnectingPoint num="0" id="162" />
+<cdrectangleparam minX="-13" maxX="224" minY="-13" maxY="305" />
+<infoparam name="TGComponent" value="Event receive" />
+<TGConnectingPoint num="0" id="121" />
 <extraparam>
-<Prop commName="temp" commType="0" origin="false" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="receive" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -947,16 +934,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="165" >
-<father id="174" num="14" />
-<cdparam x="1159" y="451" />
-<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="124" >
+<father id="133" num="14" />
+<cdparam x="919" y="191" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="227" minY="-10" maxY="308" />
-<infoparam name="TGComponent" value="Event stop" />
-<TGConnectingPoint num="0" id="164" />
+<cdrectangleparam minX="-13" maxX="224" minY="-13" maxY="305" />
+<infoparam name="TGComponent" value="Event send" />
+<TGConnectingPoint num="0" id="123" />
 <extraparam>
-<Prop commName="stop" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="send" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -964,43 +951,36 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1202" id="218" >
-<father id="227" num="3" />
-<cdparam x="535" y="98" />
-<sizeparam width="201" height="238" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1202" id="148" >
+<father id="176" num="1" />
+<cdparam x="1234" y="329" />
+<sizeparam width="141" height="142" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="735" minY="0" maxY="292" />
-<infoparam name="TGComponent" value="SmartCard" />
-<TGConnectingPoint num="0" id="210" />
-<TGConnectingPoint num="1" id="211" />
-<TGConnectingPoint num="2" id="212" />
-<TGConnectingPoint num="3" id="213" />
-<TGConnectingPoint num="4" id="214" />
-<TGConnectingPoint num="5" id="215" />
-<TGConnectingPoint num="6" id="216" />
-<TGConnectingPoint num="7" id="217" />
+<cdrectangleparam minX="0" maxX="429" minY="0" maxY="344" />
+<infoparam name="TGComponent" value="Timer" />
+<TGConnectingPoint num="0" id="140" />
+<TGConnectingPoint num="1" id="141" />
+<TGConnectingPoint num="2" id="142" />
+<TGConnectingPoint num="3" id="143" />
+<TGConnectingPoint num="4" id="144" />
+<TGConnectingPoint num="5" id="145" />
+<TGConnectingPoint num="6" id="146" />
+<TGConnectingPoint num="7" id="147" />
 <extraparam>
 <Data isAttacker="No" />
-<Attribute access="2" id="resetType" value="0" type="0" typeOther="" />
-<Attribute access="2" id="a" value="0" type="0" typeOther="" />
-<Attribute access="2" id="b" value="" type="4" typeOther="" />
-<Attribute access="2" id="i" value="0" type="0" typeOther="" />
-<Attribute access="2" id="j" value="0" type="0" typeOther="" />
 <Attribute access="2" id="x" value="0" type="0" typeOther="" />
-<Attribute access="2" id="tcpctrl" value="" type="5" typeOther="TCP_CTRL" />
-<Attribute access="2" id="t" value="" type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="185" >
-<father id="218" num="0" />
-<cdparam x="723" y="112" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="135" >
+<father id="148" num="0" />
+<cdparam x="1224" y="432" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
-<infoparam name="TGComponent" value="Event send" />
-<TGConnectingPoint num="0" id="184" />
+<cdrectangleparam minX="-10" maxX="131" minY="-10" maxY="132" />
+<infoparam name="TGComponent" value="Event stop" />
+<TGConnectingPoint num="0" id="134" />
 <extraparam>
-<Prop commName="send" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="stop" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1008,16 +988,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="187" >
-<father id="218" num="1" />
-<cdparam x="580" y="85" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="137" >
+<father id="148" num="1" />
+<cdparam x="1224" y="404" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
-<infoparam name="TGComponent" value="Event reset, pTS" />
-<TGConnectingPoint num="0" id="186" />
+<cdrectangleparam minX="-10" maxX="131" minY="-10" maxY="132" />
+<infoparam name="TGComponent" value="Request req_Timer" />
+<TGConnectingPoint num="0" id="136" />
 <extraparam>
-<Prop commName="reset, pTS" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="req_Timer" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1025,16 +1005,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="189" >
-<father id="218" num="2" />
-<cdparam x="523" y="323" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="139" >
+<father id="148" num="2" />
+<cdparam x="1224" y="369" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
-<infoparam name="TGComponent" value="Event answerToReset, pTSConfirm" />
-<TGConnectingPoint num="0" id="188" />
+<cdrectangleparam minX="-10" maxX="131" minY="-10" maxY="132" />
+<infoparam name="TGComponent" value="Event timeOut" />
+<TGConnectingPoint num="0" id="138" />
 <extraparam>
-<Prop commName="answerToReset, pTSConfirm" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="timeOut" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1042,33 +1022,61 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="191" >
-<father id="218" num="3" />
-<cdparam x="522" y="248" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1201" id="167" >
+<father id="176" num="2" />
+<cdparam x="831" y="363" />
+<sizeparam width="26" height="26" minWidth="10" minHeight="10" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
-<infoparam name="TGComponent" value="Channel fromSCtoD" />
-<TGConnectingPoint num="0" id="190" />
+<cdrectangleparam minX="-13" maxX="557" minY="-13" maxY="473" />
+<infoparam name="Composite port" value="" />
+<TGConnectingPoint num="0" id="149" />
+<TGConnectingPoint num="1" id="150" />
+<TGConnectingPoint num="2" id="151" />
+<TGConnectingPoint num="3" id="152" />
+<TGConnectingPoint num="4" id="153" />
+<TGConnectingPoint num="5" id="154" />
+<TGConnectingPoint num="6" id="155" />
+<TGConnectingPoint num="7" id="156" />
+<TGConnectingPoint num="8" id="157" />
+<TGConnectingPoint num="9" id="158" />
+<TGConnectingPoint num="10" id="159" />
+<TGConnectingPoint num="11" id="160" />
+<TGConnectingPoint num="12" id="161" />
+<TGConnectingPoint num="13" id="162" />
+<TGConnectingPoint num="14" id="163" />
+<TGConnectingPoint num="15" id="164" />
+<TGConnectingPoint num="16" id="165" />
+<TGConnectingPoint num="17" id="166" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1202" id="199" >
+<father id="227" num="2" />
+<cdparam x="565" y="418" />
+<sizeparam width="240" height="146" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="0" maxX="696" minY="0" maxY="384" />
+<infoparam name="TGComponent" value="Application" />
+<TGConnectingPoint num="0" id="191" />
+<TGConnectingPoint num="1" id="192" />
+<TGConnectingPoint num="2" id="193" />
+<TGConnectingPoint num="3" id="194" />
+<TGConnectingPoint num="4" id="195" />
+<TGConnectingPoint num="5" id="196" />
+<TGConnectingPoint num="6" id="197" />
+<TGConnectingPoint num="7" id="198" />
 <extraparam>
-<Prop commName="fromSCtoD" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
+<Data isAttacker="No" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="193" >
-<father id="218" num="4" />
-<cdparam x="522" y="203" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="178" >
+<father id="199" num="0" />
+<cdparam x="661" y="408" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
-<infoparam name="TGComponent" value="Channel fromDtoSC" />
-<TGConnectingPoint num="0" id="192" />
+<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="136" />
+<infoparam name="TGComponent" value="Request start_Application" />
+<TGConnectingPoint num="0" id="177" />
 <extraparam>
-<Prop commName="fromDtoSC" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="uint_16" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="start_Application" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1076,16 +1084,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="195" >
-<father id="218" num="5" />
-<cdparam x="522" y="291" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="180" >
+<father id="199" num="1" />
+<cdparam x="795" y="544" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
-<infoparam name="TGComponent" value="Event data_Ready_SC" />
-<TGConnectingPoint num="0" id="194" />
+<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="136" />
+<infoparam name="TGComponent" value="Channel fromAtoT" />
+<TGConnectingPoint num="0" id="179" />
 <extraparam>
-<Prop commName="data_Ready_SC" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="fromAtoT" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1093,33 +1101,33 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="197" >
-<father id="218" num="6" />
-<cdparam x="522" y="157" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="182" >
+<father id="199" num="2" />
+<cdparam x="795" y="512" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
-<infoparam name="TGComponent" value="Event data_Ready" />
-<TGConnectingPoint num="0" id="196" />
+<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="136" />
+<infoparam name="TGComponent" value="Event receive_Application" />
+<TGConnectingPoint num="0" id="181" />
 <extraparam>
-<Prop commName="data_Ready" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="uint_16" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="1" typeOther="" />
-<Type type="2" typeOther="" />
+<Prop commName="receive_Application" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="199" >
-<father id="218" num="7" />
-<cdparam x="723" y="271" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="184" >
+<father id="199" num="3" />
+<cdparam x="795" y="451" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
-<infoparam name="TGComponent" value="Channel fromTtoP" />
-<TGConnectingPoint num="0" id="198" />
+<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="136" />
+<infoparam name="TGComponent" value="Event open, abort, close" />
+<TGConnectingPoint num="0" id="183" />
 <extraparam>
-<Prop commName="fromTtoP" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="open, abort, close" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1127,16 +1135,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="201" >
-<father id="218" num="8" />
-<cdparam x="723" y="235" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="186" >
+<father id="199" num="4" />
+<cdparam x="795" y="483" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
-<infoparam name="TGComponent" value="Channel fromPtoT" />
-<TGConnectingPoint num="0" id="200" />
+<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="136" />
+<infoparam name="TGComponent" value="Event send_TCP" />
+<TGConnectingPoint num="0" id="185" />
 <extraparam>
-<Prop commName="fromPtoT" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="send_TCP" commType="1" origin="true" finite="false" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1144,16 +1152,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="203" >
-<father id="218" num="9" />
-<cdparam x="723" y="191" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="188" >
+<father id="199" num="5" />
+<cdparam x="795" y="422" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
-<infoparam name="TGComponent" value="Event receive" />
-<TGConnectingPoint num="0" id="202" />
+<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="136" />
+<infoparam name="TGComponent" value="Channel fromTtoA" />
+<TGConnectingPoint num="0" id="187" />
 <extraparam>
-<Prop commName="receive" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="fromTtoA" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1161,16 +1169,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="205" >
-<father id="218" num="10" />
-<cdparam x="723" y="302" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="190" >
+<father id="199" num="6" />
+<cdparam x="742" y="408" />
+<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="188" minY="-13" maxY="225" />
+<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="136" />
 <infoparam name="TGComponent" value="Request start_TCP_IP" />
-<TGConnectingPoint num="0" id="204" />
+<TGConnectingPoint num="0" id="189" />
 <extraparam>
-<Prop commName="start_TCP_IP" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="start_TCP_IP" commType="2" origin="true" finite="false" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1178,1023 +1186,416 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="207" >
-<father id="218" num="11" />
-<cdparam x="525" y="117" />
-<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-10" maxX="191" minY="-10" maxY="228" />
-<infoparam name="TGComponent" value="Request activation" />
-<TGConnectingPoint num="0" id="206" />
-<extraparam>
-<Prop commName="activation" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-</extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="209" >
-<father id="218" num="12" />
-<cdparam x="620" y="326" />
-<sizeparam width="21" height="21" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1201" id="218" >
+<father id="227" num="3" />
+<cdparam x="522" y="377" />
+<sizeparam width="26" height="26" minWidth="10" minHeight="10" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="191" minY="-10" maxY="228" />
-<infoparam name="TGComponent" value="Request start_Application" />
-<TGConnectingPoint num="0" id="208" />
-<extraparam>
-<Prop commName="start_Application" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-</extraparam>
+<cdrectangleparam minX="-13" maxX="923" minY="-13" maxY="517" />
+<infoparam name="Composite port" value="" />
+<TGConnectingPoint num="0" id="200" />
+<TGConnectingPoint num="1" id="201" />
+<TGConnectingPoint num="2" id="202" />
+<TGConnectingPoint num="3" id="203" />
+<TGConnectingPoint num="4" id="204" />
+<TGConnectingPoint num="5" id="205" />
+<TGConnectingPoint num="6" id="206" />
+<TGConnectingPoint num="7" id="207" />
+<TGConnectingPoint num="8" id="208" />
+<TGConnectingPoint num="9" id="209" />
+<TGConnectingPoint num="10" id="210" />
+<TGConnectingPoint num="11" id="211" />
+<TGConnectingPoint num="12" id="212" />
+<TGConnectingPoint num="13" id="213" />
+<TGConnectingPoint num="14" id="214" />
+<TGConnectingPoint num="15" id="215" />
+<TGConnectingPoint num="16" id="216" />
+<TGConnectingPoint num="17" id="217" />
 </SUBCOMPONENT>
 
 
 </TMLComponentTaskDiagramPanel>
 
-<TMLActivityDiagramPanel name="InterfaceDevice" minX="10" maxX="1400" minY="10" maxY="900" >
-<COMPONENT type="1012" id="235" >
-<cdparam x="553" y="376" />
+<TMLActivityDiagramPanel name="Application" minX="10" maxX="1400" minY="10" maxY="900" >
+<COMPONENT type="1012" id="333" >
+<cdparam x="491" y="277" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="231" />
-<TGConnectingPoint num="1" id="232" />
-<TGConnectingPoint num="2" id="233" />
-<TGConnectingPoint num="3" id="234" />
+<TGConnectingPoint num="0" id="329" />
+<TGConnectingPoint num="1" id="330" />
+<TGConnectingPoint num="2" id="331" />
+<TGConnectingPoint num="3" id="332" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="228" >
-<father id="235" num="0" />
-<cdparam x="528" y="386" />
-<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="326" >
+<father id="333" num="0" />
+<cdparam x="466" y="287" />
+<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="229" >
-<father id="235" num="1" />
-<cdparam x="588" y="386" />
-<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="327" >
+<father id="333" num="1" />
+<cdparam x="526" y="287" />
+<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="230" >
-<father id="235" num="2" />
-<cdparam x="573" y="421" />
-<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="328" >
+<father id="333" num="2" />
+<cdparam x="511" y="322" />
+<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
 <infoparam name="guard 3" value="[ ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="243" >
-<cdparam x="644" y="517" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="239" />
-<TGConnectingPoint num="1" id="240" />
-<TGConnectingPoint num="2" id="241" />
-<TGConnectingPoint num="3" id="242" />
-</COMPONENT>
-<SUBCOMPONENT type="-1" id="236" >
-<father id="243" num="0" />
-<cdparam x="599" y="527" />
-<sizeparam width="52" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ x==0 ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="237" >
-<father id="243" num="1" />
-<cdparam x="679" y="527" />
-<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="238" >
-<father id="243" num="2" />
-<cdparam x="664" y="562" />
-<sizeparam width="42" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ x&gt;0 ]" />
-</SUBCOMPONENT>
-
-<COMPONENT type="1000" id="245" >
-<cdparam x="222" y="58" />
+<COMPONENT type="1000" id="335" >
+<cdparam x="501" y="91" />
 <sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="244" />
-</COMPONENT>
-
-<COMPONENT type="1007" id="248" >
-<cdparam x="188" y="137" />
-<sizeparam width="81" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send request" value="activation()" />
-<TGConnectingPoint num="0" id="246" />
-<TGConnectingPoint num="1" id="247" />
-<extraparam>
-<Data requestName="activation" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1008" id="251" >
-<cdparam x="202" y="237" />
-<sizeparam width="53" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="reset()" />
-<TGConnectingPoint num="0" id="249" />
-<TGConnectingPoint num="1" id="250" />
-<latencyCheck />
-<extraparam>
-<Data eventName="reset" nbOfParams="5" />
-</extraparam>
+<TGConnectingPoint num="0" id="334" />
 </COMPONENT>
 
-<COMPONENT type="1010" id="254" >
-<cdparam x="167" y="288" />
-<sizeparam width="120" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="338" >
+<cdparam x="485" y="129" />
+<sizeparam width="47" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="answerToReset() " />
-<TGConnectingPoint num="0" id="252" />
-<TGConnectingPoint num="1" id="253" />
+<infoparam name="send event" value="open()" />
+<TGConnectingPoint num="0" id="336" />
+<TGConnectingPoint num="1" id="337" />
 <extraparam>
-<Data eventName="answerToReset" nbOfParams="5" />
+<Data eventName="open" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="257" >
-<cdparam x="207" y="337" />
-<sizeparam width="43" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="341" >
+<cdparam x="468" y="178" />
+<sizeparam width="80" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="pTS()" />
-<TGConnectingPoint num="0" id="255" />
-<TGConnectingPoint num="1" id="256" />
+<infoparam name="write channel" value="fromAtoT(1)" />
+<TGConnectingPoint num="0" id="339" />
+<TGConnectingPoint num="1" id="340" />
 <extraparam>
-<Data eventName="pTS" nbOfParams="5" />
+<Data channelName="fromAtoT" nbOfSamples="1" secPattern="" isAttacker="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="260" >
-<cdparam x="356" y="165" />
-<sizeparam width="94" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="344" >
+<cdparam x="470" y="226" />
+<sizeparam width="75" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="pTSConfirm() " />
-<TGConnectingPoint num="0" id="258" />
-<TGConnectingPoint num="1" id="259" />
-<latencyCheck />
-<breakpoint />
+<infoparam name="send event" value="send_TCP()" />
+<TGConnectingPoint num="0" id="342" />
+<TGConnectingPoint num="1" id="343" />
 <extraparam>
-<Data eventName="pTSConfirm" nbOfParams="5" />
+<Data eventName="send_TCP" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="277" >
-<cdparam x="367" y="222" />
-<sizeparam width="114" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1001" id="346" >
+<cdparam x="576" y="388" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="UML Note" value="data exchange
-" />
-<TGConnectingPoint num="0" id="261" />
-<TGConnectingPoint num="1" id="262" />
-<TGConnectingPoint num="2" id="263" />
-<TGConnectingPoint num="3" id="264" />
-<TGConnectingPoint num="4" id="265" />
-<TGConnectingPoint num="5" id="266" />
-<TGConnectingPoint num="6" id="267" />
-<TGConnectingPoint num="7" id="268" />
-<TGConnectingPoint num="8" id="269" />
-<TGConnectingPoint num="9" id="270" />
-<TGConnectingPoint num="10" id="271" />
-<TGConnectingPoint num="11" id="272" />
-<TGConnectingPoint num="12" id="273" />
-<TGConnectingPoint num="13" id="274" />
-<TGConnectingPoint num="14" id="275" />
-<TGConnectingPoint num="15" id="276" />
-<extraparam>
-<Line value="data exchange" />
-</extraparam>
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="345" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="280" >
-<cdparam x="429" y="448" />
-<sizeparam width="94" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="349" >
+<cdparam x="562" y="329" />
+<sizeparam width="49" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="write channel" value="fromDtoSC(1)" />
-<TGConnectingPoint num="0" id="278" />
-<TGConnectingPoint num="1" id="279" />
+<infoparam name="send event" value="abort()" />
+<TGConnectingPoint num="0" id="347" />
+<TGConnectingPoint num="1" id="348" />
 <extraparam>
-<Data channelName="fromDtoSC" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data eventName="abort" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="283" >
-<cdparam x="419" y="507" />
-<sizeparam width="115" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="352" >
+<cdparam x="409" y="337" />
+<sizeparam width="47" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="data_Ready(x, b)" />
-<TGConnectingPoint num="0" id="281" />
-<TGConnectingPoint num="1" id="282" />
-<latencyCheck />
+<infoparam name="send event" value="close()" />
+<TGConnectingPoint num="0" id="350" />
+<TGConnectingPoint num="1" id="351" />
 <extraparam>
-<Data eventName="data_Ready" nbOfParams="5" />
-<Param index="0" value="x" />
-<Param index="1" value="b" />
+<Data eventName="close" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="285" >
-<cdparam x="466" y="570" />
+<COMPONENT type="1001" id="354" >
+<cdparam x="422" y="386" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="284" />
+<TGConnectingPoint num="0" id="353" />
 </COMPONENT>
 
-<COMPONENT type="1017" id="288" >
-<cdparam x="588" y="447" />
-<sizeparam width="142" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="notified event" value="x=?data_Ready_SC()" />
-<TGConnectingPoint num="0" id="286" />
-<TGConnectingPoint num="1" id="287" />
-<extraparam>
-<Data eventName="data_Ready_SC" variable="x" />
-</extraparam>
-</COMPONENT>
+<CONNECTOR type="115" id="355" >
+<cdparam x="509" y="94" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from start state to send event" value="null" />
+<P1  x="508" y="111" id="334" />
+<P2  x="508" y="124" id="336" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="356" >
+<cdparam x="508" y="154" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to write channel" value="null" />
+<P1  x="508" y="154" id="337" />
+<P2  x="508" y="173" id="339" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="357" >
+<cdparam x="508" y="222" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="508" y="203" id="340" />
+<P2  x="507" y="221" id="342" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="358" >
+<cdparam x="586" y="354" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to stop state" value="null" />
+<P1  x="586" y="354" id="348" />
+<P2  x="586" y="383" id="345" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="359" >
+<cdparam x="508" y="298" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to choice" value="null" />
+<P1  x="507" y="251" id="343" />
+<P2  x="506" y="267" id="329" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="360" >
+<cdparam x="470" y="348" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to send event" value="null" />
+<P1  x="466" y="292" id="330" />
+<P2  x="432" y="332" id="350" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="361" >
+<cdparam x="432" y="362" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to stop state" value="null" />
+<P1  x="432" y="362" id="351" />
+<P2  x="432" y="381" id="353" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="362" >
+<cdparam x="550" y="348" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to send event" value="null" />
+<P1  x="546" y="292" id="331" />
+<P2  x="586" y="324" id="347" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
 
-<COMPONENT type="1001" id="290" >
-<cdparam x="569" y="577" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="289" />
-</COMPONENT>
+</TMLActivityDiagramPanel>
 
-<COMPONENT type="1009" id="293" >
-<cdparam x="610" y="700" />
-<sizeparam width="98" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<TMLActivityDiagramPanel name="Timer" minX="10" maxX="1400" minY="10" maxY="900" >
+<COMPONENT type="1012" id="370" >
+<cdparam x="509" y="222" />
+<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="read channel" value="fromSCtoD(1) " />
-<TGConnectingPoint num="0" id="291" />
-<TGConnectingPoint num="1" id="292" />
-<extraparam>
-<Data channelName="fromSCtoD" nbOfSamples="1" secPattern="" isAttacker="No" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1010" id="296" >
-<cdparam x="600" y="619" />
-<sizeparam width="119" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="data_Ready_SC() " />
-<TGConnectingPoint num="0" id="294" />
-<TGConnectingPoint num="1" id="295" />
-<accessibility />
-<extraparam>
-<Data eventName="data_Ready_SC" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1001" id="298" >
-<cdparam x="649" y="774" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="297" />
-</COMPONENT>
-
-<COMPONENT type="1014" id="302" >
-<cdparam x="300" y="287" />
-<sizeparam width="268" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="for loop" value="for(i=0;i&lt;nbOfComputedPackets;i = i +1)" />
-<TGConnectingPoint num="0" id="299" />
-<TGConnectingPoint num="1" id="300" />
-<TGConnectingPoint num="2" id="301" />
-<extraparam>
-<Data init="i=0" condition="i&lt;nbOfComputedPackets" increment="i = i +1" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1001" id="304" >
-<cdparam x="382" y="380" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="303" />
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="366" />
+<TGConnectingPoint num="1" id="367" />
+<TGConnectingPoint num="2" id="368" />
+<TGConnectingPoint num="3" id="369" />
 </COMPONENT>
-
-<CONNECTOR type="115" id="305" >
-<cdparam x="434" y="312" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="null" />
-<P1  x="434" y="312" id="301" />
-<P2  x="392" y="375" id="303" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="306" >
-<cdparam x="561" y="301" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="null" />
-<P1  x="568" y="301" id="300" />
-<P2  x="568" y="366" id="231" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="311" >
-<cdparam x="78" y="363" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to wait event" value="null" />
-<P1  x="228" y="362" id="256" />
-<P2  x="403" y="160" id="258" />
-<Point x="228" y="383" />
-<Point x="307" y="383" />
-<Point x="307" y="140" />
-<Point x="403" y="140" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="307" >
-<father id="311" num="0" />
-<cdparam x="228" y="383" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
-<infoparam name="point " value="null" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="308" >
-<father id="311" num="1" />
-<cdparam x="307" y="383" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="363" >
+<father id="370" num="0" />
+<cdparam x="464" y="232" />
+<sizeparam width="51" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
-<infoparam name="point " value="null" />
+<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
+<infoparam name="guard 1" value="[ x==0 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="309" >
-<father id="311" num="2" />
-<cdparam x="307" y="140" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="364" >
+<father id="370" num="1" />
+<cdparam x="544" y="234" />
+<sizeparam width="41" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
-<infoparam name="point " value="null" />
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ x&gt;0 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="310" >
-<father id="311" num="3" />
-<cdparam x="403" y="140" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="365" >
+<father id="370" num="2" />
+<cdparam x="529" y="267" />
+<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
-<infoparam name="point " value="null" />
+<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
+<infoparam name="guard 3" value="[ ]" />
 </SUBCOMPONENT>
 
-<CONNECTOR type="115" id="312" >
-<cdparam x="228" y="57" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from start state to send request" value="null" />
-<P1  x="229" y="78" id="244" />
-<P2  x="228" y="132" id="246" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="313" >
-<cdparam x="228" y="162" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send request to send event" value="null" />
-<P1  x="228" y="162" id="247" />
-<P2  x="228" y="232" id="249" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="314" >
-<cdparam x="228" y="284" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from wait event to send event" value="null" />
-<P1  x="227" y="313" id="253" />
-<P2  x="228" y="332" id="255" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="315" >
-<cdparam x="528" y="391" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to write channel" value="null" />
-<P1  x="528" y="391" id="232" />
-<P2  x="476" y="443" id="278" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="316" >
-<cdparam x="476" y="473" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to send event" value="null" />
-<P1  x="476" y="473" id="279" />
-<P2  x="476" y="502" id="281" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="317" >
-<cdparam x="471" y="529" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to stop state" value="null" />
-<P1  x="476" y="532" id="282" />
-<P2  x="476" y="565" id="284" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="318" >
-<cdparam x="619" y="532" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to stop state" value="null" />
-<P1  x="619" y="532" id="240" />
-<P2  x="579" y="572" id="289" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="319" >
-<cdparam x="580" y="405" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to notified event" value="null" />
-<P1  x="608" y="391" id="233" />
-<P2  x="659" y="442" id="286" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="320" >
-<cdparam x="659" y="472" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from notified event to choice" value="null" />
-<P1  x="659" y="472" id="287" />
-<P2  x="659" y="507" id="239" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="321" >
-<cdparam x="659" y="572" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to wait event" value="null" />
-<P1  x="659" y="572" id="242" />
-<P2  x="659" y="614" id="294" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="322" >
-<cdparam x="670" y="644" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from wait event to read channel" value="null" />
-<P1  x="659" y="644" id="295" />
-<P2  x="659" y="695" id="291" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="323" >
-<cdparam x="659" y="725" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from read channel to stop state" value="null" />
-<P1  x="659" y="725" id="292" />
-<P2  x="659" y="769" id="297" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="324" >
-<cdparam x="403" y="190" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from wait event to for loop" value="null" />
-<P1  x="403" y="190" id="259" />
-<P2  x="434" y="282" id="299" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="325" >
-<cdparam x="228" y="262" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to wait event" value="null" />
-<P1  x="228" y="262" id="250" />
-<P2  x="227" y="283" id="252" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-
-</TMLActivityDiagramPanel>
-
-<TMLActivityDiagramPanel name="SmartCard" minX="10" maxX="1400" minY="10" maxY="900" >
-<COMPONENT type="1000" id="327" >
-<cdparam x="159" y="66" />
+<COMPONENT type="1000" id="372" >
+<cdparam x="517" y="87" />
 <sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="326" />
-</COMPONENT>
-
-<COMPONENT type="1010" id="330" >
-<cdparam x="141" y="129" />
-<sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="reset() " />
-<TGConnectingPoint num="0" id="328" />
-<TGConnectingPoint num="1" id="329" />
-<extraparam>
-<Data eventName="reset" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1008" id="333" >
-<cdparam x="113" y="182" />
-<sizeparam width="106" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="answerToReset()" />
-<TGConnectingPoint num="0" id="331" />
-<TGConnectingPoint num="1" id="332" />
-<extraparam>
-<Data eventName="answerToReset" nbOfParams="5" />
-</extraparam>
+<TGConnectingPoint num="0" id="371" />
 </COMPONENT>
 
-<COMPONENT type="1010" id="336" >
-<cdparam x="144" y="237" />
-<sizeparam width="44" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="pTS() " />
-<TGConnectingPoint num="0" id="334" />
-<TGConnectingPoint num="1" id="335" />
-<extraparam>
-<Data eventName="pTS" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1008" id="339" >
-<cdparam x="124" y="308" />
-<sizeparam width="85" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="pTSConfirm()" />
-<TGConnectingPoint num="0" id="337" />
-<TGConnectingPoint num="1" id="338" />
-<extraparam>
-<Data eventName="pTSConfirm" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="301" id="356" >
-<cdparam x="376" y="98" />
-<sizeparam width="233" height="39" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="UML Note" value="The first two layers of the OSI model 
-are used to communicate between 
-the smart card and the terminal
-" />
-<TGConnectingPoint num="0" id="340" />
-<TGConnectingPoint num="1" id="341" />
-<TGConnectingPoint num="2" id="342" />
-<TGConnectingPoint num="3" id="343" />
-<TGConnectingPoint num="4" id="344" />
-<TGConnectingPoint num="5" id="345" />
-<TGConnectingPoint num="6" id="346" />
-<TGConnectingPoint num="7" id="347" />
-<TGConnectingPoint num="8" id="348" />
-<TGConnectingPoint num="9" id="349" />
-<TGConnectingPoint num="10" id="350" />
-<TGConnectingPoint num="11" id="351" />
-<TGConnectingPoint num="12" id="352" />
-<TGConnectingPoint num="13" id="353" />
-<TGConnectingPoint num="14" id="354" />
-<TGConnectingPoint num="15" id="355" />
-<extraparam>
-<Line value="The first two layers of the OSI model " />
-<Line value="are used to communicate between " />
-<Line value="the smart card and the terminal" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1007" id="359" >
-<cdparam x="254" y="97" />
-<sizeparam width="89" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send request" value="start_TCP_IP()" />
-<TGConnectingPoint num="0" id="357" />
-<TGConnectingPoint num="1" id="358" />
-<extraparam>
-<Data requestName="start_TCP_IP" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1007" id="362" >
-<cdparam x="241" y="148" />
-<sizeparam width="114" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send request" value="start_Application()" />
-<TGConnectingPoint num="0" id="360" />
-<TGConnectingPoint num="1" id="361" />
-<extraparam>
-<Data requestName="start_Application" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1001" id="364" >
-<cdparam x="515" y="428" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="363" />
-</COMPONENT>
-
-<COMPONENT type="1008" id="367" >
-<cdparam x="309" y="350" />
-<sizeparam width="106" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="data_Ready_SC()" />
-<TGConnectingPoint num="0" id="365" />
-<TGConnectingPoint num="1" id="366" />
-<extraparam>
-<Data eventName="data_Ready_SC" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1001" id="369" >
-<cdparam x="352" y="426" />
+<COMPONENT type="1001" id="374" >
+<cdparam x="417" y="367" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="368" />
-</COMPONENT>
-
-<COMPONENT type="1009" id="372" >
-<cdparam x="321" y="308" />
-<sizeparam width="83" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="read channel" value="fromTtoP(1) " />
-<TGConnectingPoint num="0" id="370" />
-<TGConnectingPoint num="1" id="371" />
-<extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1010" id="375" >
-<cdparam x="337" y="264" />
-<sizeparam width="50" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="send() " />
 <TGConnectingPoint num="0" id="373" />
-<TGConnectingPoint num="1" id="374" />
-<extraparam>
-<Data eventName="send" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1006" id="378" >
-<cdparam x="319" y="392" />
-<sizeparam width="87" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="write channel" value="fromSCtoD(1)" />
-<TGConnectingPoint num="0" id="376" />
-<TGConnectingPoint num="1" id="377" />
-<extraparam>
-<Data channelName="fromSCtoD" nbOfSamples="1" secPattern="" isAttacker="No" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1008" id="381" >
-<cdparam x="496" y="350" />
-<sizeparam width="59" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="receive()" />
-<TGConnectingPoint num="0" id="379" />
-<TGConnectingPoint num="1" id="380" />
-<extraparam>
-<Data eventName="receive" nbOfParams="5" />
-</extraparam>
 </COMPONENT>
 
-<COMPONENT type="1009" id="384" >
-<cdparam x="480" y="311" />
-<sizeparam width="91" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="read channel" value="fromDtoSC(1) " />
-<TGConnectingPoint num="0" id="382" />
-<TGConnectingPoint num="1" id="383" />
-<extraparam>
-<Data channelName="fromDtoSC" nbOfSamples="1" secPattern="" isAttacker="No" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1006" id="387" >
-<cdparam x="486" y="387" />
-<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="write channel" value="fromPtoT(1)" />
-<TGConnectingPoint num="0" id="385" />
-<TGConnectingPoint num="1" id="386" />
-<extraparam>
-<Data channelName="fromPtoT" nbOfSamples="1" secPattern="" isAttacker="No" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1010" id="390" >
-<cdparam x="470" y="268" />
-<sizeparam width="110" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="377" >
+<cdparam x="396" y="299" />
+<sizeparam width="63" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="data_Ready(t, b) " />
-<TGConnectingPoint num="0" id="388" />
-<TGConnectingPoint num="1" id="389" />
-<breakpoint />
+<infoparam name="send event" value="timeOut()" />
+<TGConnectingPoint num="0" id="375" />
+<TGConnectingPoint num="1" id="376" />
 <extraparam>
-<Data eventName="data_Ready" nbOfParams="5" />
-<Param index="0" value="t" />
-<Param index="1" value="b" />
+<Data eventName="timeOut" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1014" id="394" >
-<cdparam x="236" y="202" />
-<sizeparam width="125" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1010" id="380" >
+<cdparam x="599" y="300" />
+<sizeparam width="47" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="for loop" value="for(j=0;x==0;j = j)" />
-<TGConnectingPoint num="0" id="391" />
-<TGConnectingPoint num="1" id="392" />
-<TGConnectingPoint num="2" id="393" />
+<infoparam name="wait event" value="stop() " />
+<TGConnectingPoint num="0" id="378" />
+<TGConnectingPoint num="1" id="379" />
 <extraparam>
-<Data init="j=0" condition="x==0" increment="j = j" />
+<Data eventName="stop" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="396" >
-<cdparam x="297" y="231" />
+<COMPONENT type="1001" id="382" >
+<cdparam x="612" y="365" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="395" />
-</COMPONENT>
-
-<COMPONENT type="1018" id="407" >
-<cdparam x="424" y="226" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="select" value="null" />
-<TGConnectingPoint num="0" id="397" />
-<TGConnectingPoint num="1" id="398" />
-<TGConnectingPoint num="2" id="399" />
-<TGConnectingPoint num="3" id="400" />
-<TGConnectingPoint num="4" id="401" />
-<TGConnectingPoint num="5" id="402" />
-<TGConnectingPoint num="6" id="403" />
-<TGConnectingPoint num="7" id="404" />
-<TGConnectingPoint num="8" id="405" />
-<TGConnectingPoint num="9" id="406" />
-</COMPONENT>
-
-<CONNECTOR type="115" id="412" >
-<cdparam x="111" y="331" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to send request" value="null" />
-<P1  x="166" y="333" id="338" />
-<P2  x="298" y="92" id="357" />
-<Point x="166" y="353" />
-<Point x="225" y="353" />
-<Point x="225" y="72" />
-<Point x="278" y="72" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="408" >
-<father id="412" num="0" />
-<cdparam x="166" y="353" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
-<infoparam name="point " value="null" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="409" >
-<father id="412" num="1" />
-<cdparam x="225" y="353" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
-<infoparam name="point " value="null" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="410" >
-<father id="412" num="2" />
-<cdparam x="225" y="72" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
-<infoparam name="point " value="null" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="411" >
-<father id="412" num="3" />
-<cdparam x="278" y="72" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
-<infoparam name="point " value="null" />
-</SUBCOMPONENT>
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="381" />
+</COMPONENT>
 
-<CONNECTOR type="115" id="413" >
-<cdparam x="166" y="64" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from start state to wait event" value="null" />
-<P1  x="166" y="86" id="326" />
-<P2  x="166" y="124" id="328" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="414" >
-<cdparam x="166" y="154" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from wait event to send event" value="null" />
-<P1  x="166" y="154" id="329" />
-<P2  x="166" y="177" id="331" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="415" >
-<cdparam x="312" y="133" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send request to send request" value="null" />
-<P1  x="298" y="122" id="358" />
-<P2  x="298" y="143" id="360" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="416" >
-<cdparam x="355" y="300" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from wait event to read channel" value="null" />
-<P1  x="362" y="289" id="374" />
-<P2  x="362" y="303" id="370" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="417" >
-<cdparam x="355" y="365" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from read channel to send event" value="null" />
-<P1  x="362" y="333" id="371" />
-<P2  x="362" y="345" id="365" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="418" >
-<cdparam x="355" y="417" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to write channel" value="null" />
-<P1  x="362" y="375" id="366" />
-<P2  x="362" y="387" id="376" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="419" >
-<cdparam x="355" y="473" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to stop state" value="null" />
-<P1  x="362" y="417" id="377" />
-<P2  x="362" y="421" id="368" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="420" >
-<cdparam x="541" y="358" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from read channel to send event" value="null" />
-<P1  x="525" y="336" id="383" />
-<P2  x="525" y="345" id="379" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="421" >
-<cdparam x="540" y="402" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to write channel" value="null" />
-<P1  x="525" y="375" id="380" />
-<P2  x="525" y="382" id="385" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="422" >
-<cdparam x="543" y="305" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from wait event to read channel" value="null" />
-<P1  x="525" y="293" id="389" />
-<P2  x="525" y="306" id="382" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="423" >
-<cdparam x="540" y="464" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to stop state" value="null" />
-<P1  x="525" y="412" id="386" />
-<P2  x="525" y="423" id="363" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="424" >
-<cdparam x="298" y="173" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send request to for loop" value="null" />
-<P1  x="298" y="173" id="361" />
-<P2  x="298" y="197" id="391" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="425" >
-<cdparam x="328" y="232" />
+<COMPONENT type="1017" id="385" >
+<cdparam x="489" y="150" />
+<sizeparam width="70" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="notified event" value="x=?stop()" />
+<TGConnectingPoint num="0" id="383" />
+<TGConnectingPoint num="1" id="384" />
+<extraparam>
+<Data eventName="stop" variable="x" />
+</extraparam>
+</COMPONENT>
+
+<CONNECTOR type="115" id="386" >
+<cdparam x="427" y="324" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from for loop to stop state" value="null" />
-<P1  x="298" y="227" id="393" />
-<P2  x="307" y="226" id="395" />
+<infoparam name="connector from send event to stop state" value="null" />
+<P1  x="427" y="324" id="376" />
+<P2  x="427" y="362" id="373" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="426" >
-<cdparam x="395" y="283" />
+<CONNECTOR type="115" id="387" >
+<cdparam x="622" y="325" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from select to wait event" value="null" />
-<P1  x="399" y="241" id="398" />
-<P2  x="362" y="259" id="373" />
+<infoparam name="connector from wait event to stop state" value="null" />
+<P1  x="622" y="325" id="379" />
+<P2  x="622" y="360" id="381" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="427" >
-<cdparam x="543" y="341" />
+<CONNECTOR type="115" id="388" >
+<cdparam x="524" y="107" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from select to wait event" value="null" />
-<P1  x="479" y="241" id="399" />
-<P2  x="525" y="263" id="388" />
+<infoparam name="connector from start state to notified event" value="null" />
+<P1  x="524" y="107" id="371" />
+<P2  x="524" y="145" id="383" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="428" >
-<cdparam x="391" y="282" />
+<CONNECTOR type="115" id="389" >
+<cdparam x="524" y="175" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from for loop to select" value="null" />
-<P1  x="361" y="216" id="392" />
-<P2  x="439" y="216" id="397" />
+<infoparam name="connector from notified event to choice" value="null" />
+<P1  x="524" y="175" id="384" />
+<P2  x="524" y="212" id="366" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="429" >
-<cdparam x="164" y="262" />
+<CONNECTOR type="115" id="390" >
+<cdparam x="484" y="237" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from wait event to send event" value="null" />
-<P1  x="166" y="262" id="335" />
-<P2  x="166" y="303" id="337" />
+<infoparam name="connector from choice to send event" value="null" />
+<P1  x="484" y="237" id="367" />
+<P2  x="427" y="294" id="375" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="430" >
-<cdparam x="166" y="207" />
+<CONNECTOR type="115" id="391" >
+<cdparam x="564" y="237" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to wait event" value="null" />
-<P1  x="166" y="207" id="332" />
-<P2  x="166" y="232" id="334" />
+<infoparam name="connector from choice to wait event" value="null" />
+<P1  x="564" y="237" id="368" />
+<P2  x="622" y="295" id="378" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 
 </TMLActivityDiagramPanel>
 
 <TMLActivityDiagramPanel name="TCPIP" minX="10" maxX="2900" minY="10" maxY="1900" >
-<COMPONENT type="1012" id="438" >
+<COMPONENT type="1012" id="399" >
 <cdparam x="2086" y="1378" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="434" />
-<TGConnectingPoint num="1" id="435" />
-<TGConnectingPoint num="2" id="436" />
-<TGConnectingPoint num="3" id="437" />
+<TGConnectingPoint num="0" id="395" />
+<TGConnectingPoint num="1" id="396" />
+<TGConnectingPoint num="2" id="397" />
+<TGConnectingPoint num="3" id="398" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="431" >
-<father id="438" num="0" />
+<SUBCOMPONENT type="-1" id="392" >
+<father id="399" num="0" />
 <cdparam x="2061" y="1388" />
 <sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="432" >
-<father id="438" num="1" />
+<SUBCOMPONENT type="-1" id="393" >
+<father id="399" num="1" />
 <cdparam x="2121" y="1388" />
 <sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="433" >
-<father id="438" num="2" />
+<SUBCOMPONENT type="-1" id="394" >
+<father id="399" num="2" />
 <cdparam x="2106" y="1426" />
 <sizeparam width="124" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -2202,35 +1603,35 @@ the smart card and the terminal
 <infoparam name="guard 3" value="[ tcpctrl.state ==10 ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="446" >
+<COMPONENT type="1012" id="407" >
 <cdparam x="2262" y="951" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="442" />
-<TGConnectingPoint num="1" id="443" />
-<TGConnectingPoint num="2" id="444" />
-<TGConnectingPoint num="3" id="445" />
+<TGConnectingPoint num="0" id="403" />
+<TGConnectingPoint num="1" id="404" />
+<TGConnectingPoint num="2" id="405" />
+<TGConnectingPoint num="3" id="406" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="439" >
-<father id="446" num="0" />
+<SUBCOMPONENT type="-1" id="400" >
+<father id="407" num="0" />
 <cdparam x="2212" y="961" />
 <sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.state ==1 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="440" >
-<father id="446" num="1" />
+<SUBCOMPONENT type="-1" id="401" >
+<father id="407" num="1" />
 <cdparam x="2297" y="961" />
 <sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ tcpctrl.state ==3 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="441" >
-<father id="446" num="2" />
+<SUBCOMPONENT type="-1" id="402" >
+<father id="407" num="2" />
 <cdparam x="2282" y="996" />
 <sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -2238,35 +1639,35 @@ the smart card and the terminal
 <infoparam name="guard 3" value="[ else ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="454" >
+<COMPONENT type="1012" id="415" >
 <cdparam x="1981" y="1346" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="450" />
-<TGConnectingPoint num="1" id="451" />
-<TGConnectingPoint num="2" id="452" />
-<TGConnectingPoint num="3" id="453" />
+<TGConnectingPoint num="0" id="411" />
+<TGConnectingPoint num="1" id="412" />
+<TGConnectingPoint num="2" id="413" />
+<TGConnectingPoint num="3" id="414" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="447" >
-<father id="454" num="0" />
+<SUBCOMPONENT type="-1" id="408" >
+<father id="415" num="0" />
 <cdparam x="1934" y="1356" />
 <sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.state ==5 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="448" >
-<father id="454" num="1" />
+<SUBCOMPONENT type="-1" id="409" >
+<father id="415" num="1" />
 <cdparam x="2016" y="1356" />
 <sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="449" >
-<father id="454" num="2" />
+<SUBCOMPONENT type="-1" id="410" >
+<father id="415" num="2" />
 <cdparam x="2001" y="1391" />
 <sizeparam width="120" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -2274,35 +1675,35 @@ the smart card and the terminal
 <infoparam name="guard 3" value="[ tcpctrl.state == 7 ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="462" >
+<COMPONENT type="1012" id="423" >
 <cdparam x="1811" y="1269" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="458" />
-<TGConnectingPoint num="1" id="459" />
-<TGConnectingPoint num="2" id="460" />
-<TGConnectingPoint num="3" id="461" />
+<TGConnectingPoint num="0" id="419" />
+<TGConnectingPoint num="1" id="420" />
+<TGConnectingPoint num="2" id="421" />
+<TGConnectingPoint num="3" id="422" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="455" >
-<father id="462" num="0" />
+<SUBCOMPONENT type="-1" id="416" >
+<father id="423" num="0" />
 <cdparam x="1762" y="1279" />
 <sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.state ==4 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="456" >
-<father id="462" num="1" />
+<SUBCOMPONENT type="-1" id="417" >
+<father id="423" num="1" />
 <cdparam x="1846" y="1279" />
 <sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="457" >
-<father id="462" num="2" />
+<SUBCOMPONENT type="-1" id="418" >
+<father id="423" num="2" />
 <cdparam x="1831" y="1314" />
 <sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -2310,35 +1711,35 @@ the smart card and the terminal
 <infoparam name="guard 3" value="[ tcpctrl.state ==2 ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="470" >
+<COMPONENT type="1012" id="431" >
 <cdparam x="1713" y="1141" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="466" />
-<TGConnectingPoint num="1" id="467" />
-<TGConnectingPoint num="2" id="468" />
-<TGConnectingPoint num="3" id="469" />
+<TGConnectingPoint num="0" id="427" />
+<TGConnectingPoint num="1" id="428" />
+<TGConnectingPoint num="2" id="429" />
+<TGConnectingPoint num="3" id="430" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="463" >
-<father id="470" num="0" />
+<SUBCOMPONENT type="-1" id="424" >
+<father id="431" num="0" />
 <cdparam x="1688" y="1151" />
 <sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="464" >
-<father id="470" num="1" />
+<SUBCOMPONENT type="-1" id="425" >
+<father id="431" num="1" />
 <cdparam x="1748" y="1151" />
 <sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="465" >
-<father id="470" num="2" />
+<SUBCOMPONENT type="-1" id="426" >
+<father id="431" num="2" />
 <cdparam x="1733" y="1186" />
 <sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -2346,17 +1747,17 @@ the smart card and the terminal
 <infoparam name="guard 3" value="[ ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="474" >
+<COMPONENT type="1013" id="435" >
 <cdparam x="1524" y="1254" />
 <sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="472" />
-<TGConnectingPoint num="1" id="473" />
+<TGConnectingPoint num="0" id="433" />
+<TGConnectingPoint num="1" id="434" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="471" >
-<father id="474" num="0" />
+<SUBCOMPONENT type="-1" id="432" >
+<father id="435" num="0" />
 <cdparam x="1539" y="1274" />
 <sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -2364,17 +1765,17 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="478" >
+<COMPONENT type="1013" id="439" >
 <cdparam x="1524" y="1064" />
 <sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="476" />
-<TGConnectingPoint num="1" id="477" />
+<TGConnectingPoint num="0" id="437" />
+<TGConnectingPoint num="1" id="438" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="475" >
-<father id="478" num="0" />
+<SUBCOMPONENT type="-1" id="436" >
+<father id="439" num="0" />
 <cdparam x="1538" y="1088" />
 <sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -2382,35 +1783,35 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="486" >
+<COMPONENT type="1012" id="447" >
 <cdparam x="1592" y="1006" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="482" />
-<TGConnectingPoint num="1" id="483" />
-<TGConnectingPoint num="2" id="484" />
-<TGConnectingPoint num="3" id="485" />
+<TGConnectingPoint num="0" id="443" />
+<TGConnectingPoint num="1" id="444" />
+<TGConnectingPoint num="2" id="445" />
+<TGConnectingPoint num="3" id="446" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="479" >
-<father id="486" num="0" />
+<SUBCOMPONENT type="-1" id="440" >
+<father id="447" num="0" />
 <cdparam x="1542" y="1016" />
 <sizeparam width="124" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.state  == 4 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="480" >
-<father id="486" num="1" />
+<SUBCOMPONENT type="-1" id="441" >
+<father id="447" num="1" />
 <cdparam x="1627" y="1016" />
 <sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="481" >
-<father id="486" num="2" />
+<SUBCOMPONENT type="-1" id="442" >
+<father id="447" num="2" />
 <cdparam x="1612" y="1051" />
 <sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -2418,35 +1819,35 @@ the smart card and the terminal
 <infoparam name="guard 3" value="[ ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="494" >
+<COMPONENT type="1012" id="455" >
 <cdparam x="1713" y="875" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="490" />
-<TGConnectingPoint num="1" id="491" />
-<TGConnectingPoint num="2" id="492" />
-<TGConnectingPoint num="3" id="493" />
+<TGConnectingPoint num="0" id="451" />
+<TGConnectingPoint num="1" id="452" />
+<TGConnectingPoint num="2" id="453" />
+<TGConnectingPoint num="3" id="454" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="487" >
-<father id="494" num="0" />
+<SUBCOMPONENT type="-1" id="448" >
+<father id="455" num="0" />
 <cdparam x="1688" y="885" />
 <sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="488" >
-<father id="494" num="1" />
+<SUBCOMPONENT type="-1" id="449" >
+<father id="455" num="1" />
 <cdparam x="1748" y="885" />
 <sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="489" >
-<father id="494" num="2" />
+<SUBCOMPONENT type="-1" id="450" >
+<father id="455" num="2" />
 <cdparam x="1733" y="920" />
 <sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -2454,17 +1855,17 @@ the smart card and the terminal
 <infoparam name="guard 3" value="[ ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="498" >
+<COMPONENT type="1013" id="459" >
 <cdparam x="1636" y="1235" />
 <sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="496" />
-<TGConnectingPoint num="1" id="497" />
+<TGConnectingPoint num="0" id="457" />
+<TGConnectingPoint num="1" id="458" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="495" >
-<father id="498" num="0" />
+<SUBCOMPONENT type="-1" id="456" >
+<father id="459" num="0" />
 <cdparam x="1655" y="1254" />
 <sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -2472,17 +1873,17 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="502" >
+<COMPONENT type="1013" id="463" >
 <cdparam x="2232" y="1059" />
 <sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="500" />
-<TGConnectingPoint num="1" id="501" />
+<TGConnectingPoint num="0" id="461" />
+<TGConnectingPoint num="1" id="462" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="499" >
-<father id="502" num="0" />
+<SUBCOMPONENT type="-1" id="460" >
+<father id="463" num="0" />
 <cdparam x="2219" y="1083" />
 <sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -2490,17 +1891,17 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="506" >
+<COMPONENT type="1013" id="467" >
 <cdparam x="2312" y="1024" />
 <sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="504" />
-<TGConnectingPoint num="1" id="505" />
+<TGConnectingPoint num="0" id="465" />
+<TGConnectingPoint num="1" id="466" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="503" >
-<father id="506" num="0" />
+<SUBCOMPONENT type="-1" id="464" >
+<father id="467" num="0" />
 <cdparam x="2288" y="1044" />
 <sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -2508,35 +1909,35 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="514" >
+<COMPONENT type="1012" id="475" >
 <cdparam x="1193" y="1020" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="510" />
-<TGConnectingPoint num="1" id="511" />
-<TGConnectingPoint num="2" id="512" />
-<TGConnectingPoint num="3" id="513" />
+<TGConnectingPoint num="0" id="471" />
+<TGConnectingPoint num="1" id="472" />
+<TGConnectingPoint num="2" id="473" />
+<TGConnectingPoint num="3" id="474" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="507" >
-<father id="514" num="0" />
+<SUBCOMPONENT type="-1" id="468" >
+<father id="475" num="0" />
 <cdparam x="1168" y="1030" />
 <sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="508" >
-<father id="514" num="1" />
+<SUBCOMPONENT type="-1" id="469" >
+<father id="475" num="1" />
 <cdparam x="1228" y="1030" />
 <sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="509" >
-<father id="514" num="2" />
+<SUBCOMPONENT type="-1" id="470" >
+<father id="475" num="2" />
 <cdparam x="1213" y="1065" />
 <sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -2544,17 +1945,17 @@ the smart card and the terminal
 <infoparam name="guard 3" value="[ tcpctrl.state ==6 ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="518" >
+<COMPONENT type="1013" id="479" >
 <cdparam x="1203" y="1107" />
 <sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="516" />
-<TGConnectingPoint num="1" id="517" />
+<TGConnectingPoint num="0" id="477" />
+<TGConnectingPoint num="1" id="478" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="515" >
-<father id="518" num="0" />
+<SUBCOMPONENT type="-1" id="476" >
+<father id="479" num="0" />
 <cdparam x="1218" y="1127" />
 <sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -2562,35 +1963,35 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="526" >
+<COMPONENT type="1012" id="487" >
 <cdparam x="557" y="712" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="522" />
-<TGConnectingPoint num="1" id="523" />
-<TGConnectingPoint num="2" id="524" />
-<TGConnectingPoint num="3" id="525" />
+<TGConnectingPoint num="0" id="483" />
+<TGConnectingPoint num="1" id="484" />
+<TGConnectingPoint num="2" id="485" />
+<TGConnectingPoint num="3" id="486" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="519" >
-<father id="526" num="0" />
+<SUBCOMPONENT type="-1" id="480" >
+<father id="487" num="0" />
 <cdparam x="514" y="722" />
 <sizeparam width="120" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.state == 1 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="520" >
-<father id="526" num="1" />
+<SUBCOMPONENT type="-1" id="481" >
+<father id="487" num="1" />
 <cdparam x="592" y="722" />
 <sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="521" >
-<father id="526" num="2" />
+<SUBCOMPONENT type="-1" id="482" >
+<father id="487" num="2" />
 <cdparam x="577" y="757" />
 <sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -2598,17 +1999,17 @@ the smart card and the terminal
 <infoparam name="guard 3" value="[ ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="530" >
+<COMPONENT type="1013" id="491" >
 <cdparam x="717" y="694" />
 <sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="528" />
-<TGConnectingPoint num="1" id="529" />
+<TGConnectingPoint num="0" id="489" />
+<TGConnectingPoint num="1" id="490" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="527" >
-<father id="530" num="0" />
+<SUBCOMPONENT type="-1" id="488" >
+<father id="491" num="0" />
 <cdparam x="732" y="714" />
 <sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -2616,17 +2017,17 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="534" >
+<COMPONENT type="1013" id="495" >
 <cdparam x="938" y="1025" />
 <sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="532" />
-<TGConnectingPoint num="1" id="533" />
+<TGConnectingPoint num="0" id="493" />
+<TGConnectingPoint num="1" id="494" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="531" >
-<father id="534" num="0" />
+<SUBCOMPONENT type="-1" id="492" >
+<father id="495" num="0" />
 <cdparam x="953" y="1045" />
 <sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -2634,35 +2035,35 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="542" >
+<COMPONENT type="1012" id="503" >
 <cdparam x="1034" y="939" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="538" />
-<TGConnectingPoint num="1" id="539" />
-<TGConnectingPoint num="2" id="540" />
-<TGConnectingPoint num="3" id="541" />
+<TGConnectingPoint num="0" id="499" />
+<TGConnectingPoint num="1" id="500" />
+<TGConnectingPoint num="2" id="501" />
+<TGConnectingPoint num="3" id="502" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="535" >
-<father id="542" num="0" />
+<SUBCOMPONENT type="-1" id="496" >
+<father id="503" num="0" />
 <cdparam x="989" y="949" />
 <sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.state ==4 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="536" >
-<father id="542" num="1" />
+<SUBCOMPONENT type="-1" id="497" >
+<father id="503" num="1" />
 <cdparam x="1070" y="949" />
 <sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="537" >
-<father id="542" num="2" />
+<SUBCOMPONENT type="-1" id="498" >
+<father id="503" num="2" />
 <cdparam x="1054" y="984" />
 <sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -2670,17 +2071,17 @@ the smart card and the terminal
 <infoparam name="guard 3" value="[ tcpctrl.state == 5]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="546" >
+<COMPONENT type="1013" id="507" >
 <cdparam x="795" y="1009" />
 <sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="544" />
-<TGConnectingPoint num="1" id="545" />
+<TGConnectingPoint num="0" id="505" />
+<TGConnectingPoint num="1" id="506" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="543" >
-<father id="546" num="0" />
+<SUBCOMPONENT type="-1" id="504" >
+<father id="507" num="0" />
 <cdparam x="818" y="1031" />
 <sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -2688,35 +2089,35 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="554" >
+<COMPONENT type="1012" id="515" >
 <cdparam x="828" y="869" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="550" />
-<TGConnectingPoint num="1" id="551" />
-<TGConnectingPoint num="2" id="552" />
-<TGConnectingPoint num="3" id="553" />
+<TGConnectingPoint num="0" id="511" />
+<TGConnectingPoint num="1" id="512" />
+<TGConnectingPoint num="2" id="513" />
+<TGConnectingPoint num="3" id="514" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="547" >
-<father id="554" num="0" />
+<SUBCOMPONENT type="-1" id="508" >
+<father id="515" num="0" />
 <cdparam x="753" y="885" />
 <sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.state ==0 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="548" >
-<father id="554" num="1" />
+<SUBCOMPONENT type="-1" id="509" >
+<father id="515" num="1" />
 <cdparam x="863" y="879" />
 <sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="549" >
-<father id="554" num="2" />
+<SUBCOMPONENT type="-1" id="510" >
+<father id="515" num="2" />
 <cdparam x="848" y="914" />
 <sizeparam width="112" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -2724,17 +2125,17 @@ the smart card and the terminal
 <infoparam name="guard 3" value="[ tcpctrl.state==0 ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="558" >
+<COMPONENT type="1013" id="519" >
 <cdparam x="341" y="764" />
 <sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="556" />
-<TGConnectingPoint num="1" id="557" />
+<TGConnectingPoint num="0" id="517" />
+<TGConnectingPoint num="1" id="518" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="555" >
-<father id="558" num="0" />
+<SUBCOMPONENT type="-1" id="516" >
+<father id="519" num="0" />
 <cdparam x="354" y="785" />
 <sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -2742,17 +2143,17 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="562" >
+<COMPONENT type="1013" id="523" >
 <cdparam x="127" y="794" />
 <sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="560" />
-<TGConnectingPoint num="1" id="561" />
+<TGConnectingPoint num="0" id="521" />
+<TGConnectingPoint num="1" id="522" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="559" >
-<father id="562" num="0" />
+<SUBCOMPONENT type="-1" id="520" >
+<father id="523" num="0" />
 <cdparam x="146" y="818" />
 <sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -2760,35 +2161,35 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="570" >
+<COMPONENT type="1012" id="531" >
 <cdparam x="993" y="780" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="566" />
-<TGConnectingPoint num="1" id="567" />
-<TGConnectingPoint num="2" id="568" />
-<TGConnectingPoint num="3" id="569" />
+<TGConnectingPoint num="0" id="527" />
+<TGConnectingPoint num="1" id="528" />
+<TGConnectingPoint num="2" id="529" />
+<TGConnectingPoint num="3" id="530" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="563" >
-<father id="570" num="0" />
+<SUBCOMPONENT type="-1" id="524" >
+<father id="531" num="0" />
 <cdparam x="949" y="793" />
 <sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="564" >
-<father id="570" num="1" />
+<SUBCOMPONENT type="-1" id="525" >
+<father id="531" num="1" />
 <cdparam x="1028" y="790" />
 <sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="565" >
-<father id="570" num="2" />
+<SUBCOMPONENT type="-1" id="526" >
+<father id="531" num="2" />
 <cdparam x="1013" y="825" />
 <sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -2796,17 +2197,17 @@ the smart card and the terminal
 <infoparam name="guard 3" value="[ ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="574" >
+<COMPONENT type="1013" id="535" >
 <cdparam x="1003" y="701" />
 <sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="572" />
-<TGConnectingPoint num="1" id="573" />
+<TGConnectingPoint num="0" id="533" />
+<TGConnectingPoint num="1" id="534" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="571" >
-<father id="574" num="0" />
+<SUBCOMPONENT type="-1" id="532" >
+<father id="535" num="0" />
 <cdparam x="1018" y="721" />
 <sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -2814,17 +2215,17 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="578" >
+<COMPONENT type="1013" id="539" >
 <cdparam x="459" y="783" />
 <sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="576" />
-<TGConnectingPoint num="1" id="577" />
+<TGConnectingPoint num="0" id="537" />
+<TGConnectingPoint num="1" id="538" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="575" >
-<father id="578" num="0" />
+<SUBCOMPONENT type="-1" id="536" >
+<father id="539" num="0" />
 <cdparam x="474" y="802" />
 <sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -2832,17 +2233,17 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="582" >
+<COMPONENT type="1013" id="543" >
 <cdparam x="225" y="863" />
 <sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="580" />
-<TGConnectingPoint num="1" id="581" />
+<TGConnectingPoint num="0" id="541" />
+<TGConnectingPoint num="1" id="542" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="579" >
-<father id="582" num="0" />
+<SUBCOMPONENT type="-1" id="540" >
+<father id="543" num="0" />
 <cdparam x="245" y="885" />
 <sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -2850,17 +2251,17 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="586" >
+<COMPONENT type="1013" id="547" >
 <cdparam x="1044" y="1057" />
 <sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="584" />
-<TGConnectingPoint num="1" id="585" />
+<TGConnectingPoint num="0" id="545" />
+<TGConnectingPoint num="1" id="546" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="583" >
-<father id="586" num="0" />
+<SUBCOMPONENT type="-1" id="544" >
+<father id="547" num="0" />
 <cdparam x="1059" y="1077" />
 <sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -2868,35 +2269,35 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="594" >
+<COMPONENT type="1012" id="555" >
 <cdparam x="173" y="486" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="590" />
-<TGConnectingPoint num="1" id="591" />
-<TGConnectingPoint num="2" id="592" />
-<TGConnectingPoint num="3" id="593" />
+<TGConnectingPoint num="0" id="551" />
+<TGConnectingPoint num="1" id="552" />
+<TGConnectingPoint num="2" id="553" />
+<TGConnectingPoint num="3" id="554" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="587" >
-<father id="594" num="0" />
+<SUBCOMPONENT type="-1" id="548" >
+<father id="555" num="0" />
 <cdparam x="98" y="496" />
 <sizeparam width="112" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.state==0 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="588" >
-<father id="594" num="1" />
+<SUBCOMPONENT type="-1" id="549" >
+<father id="555" num="1" />
 <cdparam x="208" y="496" />
 <sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="589" >
-<father id="594" num="2" />
+<SUBCOMPONENT type="-1" id="550" >
+<father id="555" num="2" />
 <cdparam x="193" y="531" />
 <sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -2904,35 +2305,35 @@ the smart card and the terminal
 <infoparam name="guard 3" value="[ ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="602" >
+<COMPONENT type="1012" id="563" >
 <cdparam x="359" y="192" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="598" />
-<TGConnectingPoint num="1" id="599" />
-<TGConnectingPoint num="2" id="600" />
-<TGConnectingPoint num="3" id="601" />
+<TGConnectingPoint num="0" id="559" />
+<TGConnectingPoint num="1" id="560" />
+<TGConnectingPoint num="2" id="561" />
+<TGConnectingPoint num="3" id="562" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="595" >
-<father id="602" num="0" />
+<SUBCOMPONENT type="-1" id="556" >
+<father id="563" num="0" />
 <cdparam x="317" y="202" />
 <sizeparam width="81" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.a&gt;0 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="596" >
-<father id="602" num="1" />
+<SUBCOMPONENT type="-1" id="557" >
+<father id="563" num="1" />
 <cdparam x="394" y="202" />
 <sizeparam width="91" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ tcpctrl.a==0 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="597" >
-<father id="602" num="2" />
+<SUBCOMPONENT type="-1" id="558" >
+<father id="563" num="2" />
 <cdparam x="379" y="237" />
 <sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -2940,35 +2341,35 @@ the smart card and the terminal
 <infoparam name="guard 3" value="[ ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="610" >
+<COMPONENT type="1012" id="571" >
 <cdparam x="449" y="582" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="606" />
-<TGConnectingPoint num="1" id="607" />
-<TGConnectingPoint num="2" id="608" />
-<TGConnectingPoint num="3" id="609" />
+<TGConnectingPoint num="0" id="567" />
+<TGConnectingPoint num="1" id="568" />
+<TGConnectingPoint num="2" id="569" />
+<TGConnectingPoint num="3" id="570" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="603" >
-<father id="610" num="0" />
+<SUBCOMPONENT type="-1" id="564" >
+<father id="571" num="0" />
 <cdparam x="398" y="592" />
 <sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.state ==9 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="604" >
-<father id="610" num="1" />
+<SUBCOMPONENT type="-1" id="565" >
+<father id="571" num="1" />
 <cdparam x="500" y="599" />
 <sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="605" >
-<father id="610" num="2" />
+<SUBCOMPONENT type="-1" id="566" >
+<father id="571" num="2" />
 <cdparam x="469" y="627" />
 <sizeparam width="252" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -2976,35 +2377,35 @@ the smart card and the terminal
 <infoparam name="guard 3" value="[ (tcpctrl.state ==2) or (tcpctrl.state ==4) ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="618" >
+<COMPONENT type="1012" id="579" >
 <cdparam x="274" y="564" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="614" />
-<TGConnectingPoint num="1" id="615" />
-<TGConnectingPoint num="2" id="616" />
-<TGConnectingPoint num="3" id="617" />
+<TGConnectingPoint num="0" id="575" />
+<TGConnectingPoint num="1" id="576" />
+<TGConnectingPoint num="2" id="577" />
+<TGConnectingPoint num="3" id="578" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="611" >
-<father id="618" num="0" />
+<SUBCOMPONENT type="-1" id="572" >
+<father id="579" num="0" />
 <cdparam x="228" y="574" />
 <sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.state == 1]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="612" >
-<father id="618" num="1" />
+<SUBCOMPONENT type="-1" id="573" >
+<father id="579" num="1" />
 <cdparam x="317" y="584" />
 <sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="613" >
-<father id="618" num="2" />
+<SUBCOMPONENT type="-1" id="574" >
+<father id="579" num="2" />
 <cdparam x="294" y="613" />
 <sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -3012,16 +2413,16 @@ the smart card and the terminal
 <infoparam name="guard 3" value="[ tcpctrl.state ==4 ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1000" id="620" >
+<COMPONENT type="1000" id="581" >
 <cdparam x="227" y="27" />
 <sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="619" />
+<TGConnectingPoint num="0" id="580" />
 </COMPONENT>
 
-<COMPONENT type="301" id="637" >
+<COMPONENT type="301" id="598" >
 <cdparam x="10" y="30" />
 <sizeparam width="92" height="135" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -3038,22 +2439,22 @@ the smart card and the terminal
 9: close wait
 10:last ack
 " />
-<TGConnectingPoint num="0" id="621" />
-<TGConnectingPoint num="1" id="622" />
-<TGConnectingPoint num="2" id="623" />
-<TGConnectingPoint num="3" id="624" />
-<TGConnectingPoint num="4" id="625" />
-<TGConnectingPoint num="5" id="626" />
-<TGConnectingPoint num="6" id="627" />
-<TGConnectingPoint num="7" id="628" />
-<TGConnectingPoint num="8" id="629" />
-<TGConnectingPoint num="9" id="630" />
-<TGConnectingPoint num="10" id="631" />
-<TGConnectingPoint num="11" id="632" />
-<TGConnectingPoint num="12" id="633" />
-<TGConnectingPoint num="13" id="634" />
-<TGConnectingPoint num="14" id="635" />
-<TGConnectingPoint num="15" id="636" />
+<TGConnectingPoint num="0" id="582" />
+<TGConnectingPoint num="1" id="583" />
+<TGConnectingPoint num="2" id="584" />
+<TGConnectingPoint num="3" id="585" />
+<TGConnectingPoint num="4" id="586" />
+<TGConnectingPoint num="5" id="587" />
+<TGConnectingPoint num="6" id="588" />
+<TGConnectingPoint num="7" id="589" />
+<TGConnectingPoint num="8" id="590" />
+<TGConnectingPoint num="9" id="591" />
+<TGConnectingPoint num="10" id="592" />
+<TGConnectingPoint num="11" id="593" />
+<TGConnectingPoint num="12" id="594" />
+<TGConnectingPoint num="13" id="595" />
+<TGConnectingPoint num="14" id="596" />
+<TGConnectingPoint num="15" id="597" />
 <extraparam>
 <Line value="0: closed" />
 <Line value="1: Listen" />
@@ -3069,223 +2470,223 @@ the smart card and the terminal
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="640" >
+<COMPONENT type="1011" id="601" >
 <cdparam x="98" y="549" />
 <sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =1" />
-<TGConnectingPoint num="0" id="638" />
-<TGConnectingPoint num="1" id="639" />
+<TGConnectingPoint num="0" id="599" />
+<TGConnectingPoint num="1" id="600" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="642" >
+<COMPONENT type="1001" id="603" >
 <cdparam x="138" y="615" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="641" />
+<TGConnectingPoint num="0" id="602" />
 </COMPONENT>
 
-<COMPONENT type="1009" id="645" >
+<COMPONENT type="1009" id="606" >
 <cdparam x="967" y="585" />
 <sizeparam width="83" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="read channel" value="fromPtoT(1) " />
-<TGConnectingPoint num="0" id="643" />
-<TGConnectingPoint num="1" id="644" />
+<TGConnectingPoint num="0" id="604" />
+<TGConnectingPoint num="1" id="605" />
 <extraparam>
 <Data channelName="fromPtoT" nbOfSamples="1" secPattern="" isAttacker="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1014" id="649" >
+<COMPONENT type="1014" id="610" >
 <cdparam x="150" y="85" />
 <sizeparam width="170" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="for loop" value="for(i=0;(tcpctrl.a==0);i = i)" />
-<TGConnectingPoint num="0" id="646" />
-<TGConnectingPoint num="1" id="647" />
-<TGConnectingPoint num="2" id="648" />
+<TGConnectingPoint num="0" id="607" />
+<TGConnectingPoint num="1" id="608" />
+<TGConnectingPoint num="2" id="609" />
 <extraparam>
 <Data init="i=0" condition="(tcpctrl.a==0)" increment="i = i" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="651" >
+<COMPONENT type="1001" id="612" >
 <cdparam x="225" y="207" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="650" />
+<TGConnectingPoint num="0" id="611" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="654" >
+<COMPONENT type="1011" id="615" >
 <cdparam x="187" y="144" />
 <sizeparam width="96" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state=0" />
-<TGConnectingPoint num="0" id="652" />
-<TGConnectingPoint num="1" id="653" />
+<TGConnectingPoint num="0" id="613" />
+<TGConnectingPoint num="1" id="614" />
 </COMPONENT>
 
-<COMPONENT type="1017" id="657" >
+<COMPONENT type="1017" id="618" >
 <cdparam x="316" y="133" />
 <sizeparam width="116" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="notified event" value="tcpctrl.a=?abort()" />
-<TGConnectingPoint num="0" id="655" />
-<TGConnectingPoint num="1" id="656" />
+<TGConnectingPoint num="0" id="616" />
+<TGConnectingPoint num="1" id="617" />
 <extraparam>
 <Data eventName="abort" variable="tcpctrl.a" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1009" id="660" >
+<COMPONENT type="1009" id="621" >
 <cdparam x="692" y="589" />
 <sizeparam width="60" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="read channel" value="temp(1) " />
-<TGConnectingPoint num="0" id="658" />
-<TGConnectingPoint num="1" id="659" />
+<TGConnectingPoint num="0" id="619" />
+<TGConnectingPoint num="1" id="620" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="663" >
+<COMPONENT type="1010" id="624" >
 <cdparam x="689" y="534" />
 <sizeparam width="67" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="wait event" value="timeOut() " />
-<TGConnectingPoint num="0" id="661" />
-<TGConnectingPoint num="1" id="662" />
+<TGConnectingPoint num="0" id="622" />
+<TGConnectingPoint num="1" id="623" />
 <extraparam>
 <Data eventName="timeOut" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="666" >
+<COMPONENT type="1010" id="627" >
 <cdparam x="977" y="528" />
 <sizeparam width="63" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="wait event" value="receive() " />
-<TGConnectingPoint num="0" id="664" />
-<TGConnectingPoint num="1" id="665" />
+<TGConnectingPoint num="0" id="625" />
+<TGConnectingPoint num="1" id="626" />
 <extraparam>
 <Data eventName="receive" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="669" >
+<COMPONENT type="1010" id="630" >
 <cdparam x="439" y="492" />
 <sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="wait event" value="close() " />
-<TGConnectingPoint num="0" id="667" />
-<TGConnectingPoint num="1" id="668" />
+<TGConnectingPoint num="0" id="628" />
+<TGConnectingPoint num="1" id="629" />
 <extraparam>
 <Data eventName="close" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="672" >
+<COMPONENT type="1010" id="633" >
 <cdparam x="250" y="468" />
 <sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="wait event" value="send_TCP() " />
-<TGConnectingPoint num="0" id="670" />
-<TGConnectingPoint num="1" id="671" />
+<TGConnectingPoint num="0" id="631" />
+<TGConnectingPoint num="1" id="632" />
 <extraparam>
 <Data eventName="send_TCP" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="675" >
+<COMPONENT type="1010" id="636" >
 <cdparam x="163" y="419" />
 <sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="wait event" value="open() " />
-<TGConnectingPoint num="0" id="673" />
-<TGConnectingPoint num="1" id="674" />
+<TGConnectingPoint num="0" id="634" />
+<TGConnectingPoint num="1" id="635" />
 <breakpoint />
 <extraparam>
 <Data eventName="open" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1018" id="686" >
+<COMPONENT type="1018" id="647" >
 <cdparam x="449" y="267" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="select" value="null" />
-<TGConnectingPoint num="0" id="676" />
-<TGConnectingPoint num="1" id="677" />
-<TGConnectingPoint num="2" id="678" />
-<TGConnectingPoint num="3" id="679" />
-<TGConnectingPoint num="4" id="680" />
-<TGConnectingPoint num="5" id="681" />
-<TGConnectingPoint num="6" id="682" />
-<TGConnectingPoint num="7" id="683" />
-<TGConnectingPoint num="8" id="684" />
-<TGConnectingPoint num="9" id="685" />
+<TGConnectingPoint num="0" id="637" />
+<TGConnectingPoint num="1" id="638" />
+<TGConnectingPoint num="2" id="639" />
+<TGConnectingPoint num="3" id="640" />
+<TGConnectingPoint num="4" id="641" />
+<TGConnectingPoint num="5" id="642" />
+<TGConnectingPoint num="6" id="643" />
+<TGConnectingPoint num="7" id="644" />
+<TGConnectingPoint num="8" id="645" />
+<TGConnectingPoint num="9" id="646" />
 <breakpoint />
 </COMPONENT>
 
-<COMPONENT type="1001" id="688" >
+<COMPONENT type="1001" id="649" >
 <cdparam x="218" y="529" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="687" />
+<TGConnectingPoint num="0" id="648" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="690" >
+<COMPONENT type="1001" id="651" >
 <cdparam x="319" y="614" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="689" />
+<TGConnectingPoint num="0" id="650" />
 </COMPONENT>
 
-<COMPONENT type="1010" id="693" >
+<COMPONENT type="1010" id="654" >
 <cdparam x="275" y="228" />
 <sizeparam width="53" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="wait event" value="abort() " />
-<TGConnectingPoint num="0" id="691" />
-<TGConnectingPoint num="1" id="692" />
+<TGConnectingPoint num="0" id="652" />
+<TGConnectingPoint num="1" id="653" />
 <extraparam>
 <Data eventName="abort" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="695" >
+<COMPONENT type="1001" id="656" >
 <cdparam x="291" y="290" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="694" />
+<TGConnectingPoint num="0" id="655" />
 </COMPONENT>
 
-<COMPONENT type="301" id="712" >
+<COMPONENT type="301" id="673" >
 <cdparam x="602" y="86" />
 <sizeparam width="360" height="51" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -3295,22 +2696,22 @@ ou depaquitiser un paquet TCP
 
 On prend b=1 comme exemple
 " />
-<TGConnectingPoint num="0" id="696" />
-<TGConnectingPoint num="1" id="697" />
-<TGConnectingPoint num="2" id="698" />
-<TGConnectingPoint num="3" id="699" />
-<TGConnectingPoint num="4" id="700" />
-<TGConnectingPoint num="5" id="701" />
-<TGConnectingPoint num="6" id="702" />
-<TGConnectingPoint num="7" id="703" />
-<TGConnectingPoint num="8" id="704" />
-<TGConnectingPoint num="9" id="705" />
-<TGConnectingPoint num="10" id="706" />
-<TGConnectingPoint num="11" id="707" />
-<TGConnectingPoint num="12" id="708" />
-<TGConnectingPoint num="13" id="709" />
-<TGConnectingPoint num="14" id="710" />
-<TGConnectingPoint num="15" id="711" />
+<TGConnectingPoint num="0" id="657" />
+<TGConnectingPoint num="1" id="658" />
+<TGConnectingPoint num="2" id="659" />
+<TGConnectingPoint num="3" id="660" />
+<TGConnectingPoint num="4" id="661" />
+<TGConnectingPoint num="5" id="662" />
+<TGConnectingPoint num="6" id="663" />
+<TGConnectingPoint num="7" id="664" />
+<TGConnectingPoint num="8" id="665" />
+<TGConnectingPoint num="9" id="666" />
+<TGConnectingPoint num="10" id="667" />
+<TGConnectingPoint num="11" id="668" />
+<TGConnectingPoint num="12" id="669" />
+<TGConnectingPoint num="13" id="670" />
+<TGConnectingPoint num="14" id="671" />
+<TGConnectingPoint num="15" id="672" />
 <extraparam>
 <Line value="b est le nombre d&apos;instructions necessaires pour paquetiser" />
 <Line value="ou depaquitiser un paquet TCP" />
@@ -3319,2830 +2720,3429 @@ On prend b=1 comme exemple
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1009" id="715" >
+<COMPONENT type="1009" id="676" >
 <cdparam x="188" y="808" />
 <sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="read channel" value="fromAtoT(1) " />
-<TGConnectingPoint num="0" id="713" />
-<TGConnectingPoint num="1" id="714" />
+<TGConnectingPoint num="0" id="674" />
+<TGConnectingPoint num="1" id="675" />
 <extraparam>
 <Data channelName="fromAtoT" nbOfSamples="1" secPattern="" isAttacker="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="718" >
+<COMPONENT type="1006" id="679" >
 <cdparam x="191" y="1002" />
 <sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="716" />
-<TGConnectingPoint num="1" id="717" />
+<TGConnectingPoint num="0" id="677" />
+<TGConnectingPoint num="1" id="678" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="720" >
+<COMPONENT type="1001" id="681" >
 <cdparam x="220" y="1237" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="719" />
+<TGConnectingPoint num="0" id="680" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="723" >
+<COMPONENT type="1011" id="684" >
 <cdparam x="414" y="1032" />
 <sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =5" />
-<TGConnectingPoint num="0" id="721" />
-<TGConnectingPoint num="1" id="722" />
+<TGConnectingPoint num="0" id="682" />
+<TGConnectingPoint num="1" id="683" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="725" >
+<COMPONENT type="1001" id="686" >
 <cdparam x="454" y="1213" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="724" />
+<TGConnectingPoint num="0" id="685" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="728" >
+<COMPONENT type="1011" id="689" >
 <cdparam x="84" y="1041" />
 <sizeparam width="96" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state=3" />
-<TGConnectingPoint num="0" id="726" />
-<TGConnectingPoint num="1" id="727" />
+<TGConnectingPoint num="0" id="687" />
+<TGConnectingPoint num="1" id="688" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="731" >
+<COMPONENT type="1006" id="692" >
 <cdparam x="93" y="938" />
 <sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="729" />
-<TGConnectingPoint num="1" id="730" />
+<TGConnectingPoint num="0" id="690" />
+<TGConnectingPoint num="1" id="691" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="734" >
+<COMPONENT type="1011" id="695" >
 <cdparam x="292" y="1026" />
 <sizeparam width="108" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =10" />
-<TGConnectingPoint num="0" id="732" />
-<TGConnectingPoint num="1" id="733" />
+<TGConnectingPoint num="0" id="693" />
+<TGConnectingPoint num="1" id="694" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="736" >
+<COMPONENT type="1001" id="697" >
 <cdparam x="336" y="1229" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="735" />
+<TGConnectingPoint num="0" id="696" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="739" >
+<COMPONENT type="1006" id="700" >
 <cdparam x="425" y="941" />
 <sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="737" />
-<TGConnectingPoint num="1" id="738" />
+<TGConnectingPoint num="0" id="698" />
+<TGConnectingPoint num="1" id="699" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="742" >
+<COMPONENT type="1006" id="703" >
 <cdparam x="307" y="900" />
 <sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="740" />
-<TGConnectingPoint num="1" id="741" />
+<TGConnectingPoint num="0" id="701" />
+<TGConnectingPoint num="1" id="702" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="744" >
+<COMPONENT type="1001" id="705" >
 <cdparam x="790" y="1270" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="743" />
+<TGConnectingPoint num="0" id="704" />
 </COMPONENT>
 
-<COMPONENT type="301" id="761" >
+<COMPONENT type="301" id="722" >
 <cdparam x="998" y="850" />
 <sizeparam width="50" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="Fin
 " />
-<TGConnectingPoint num="0" id="745" />
-<TGConnectingPoint num="1" id="746" />
-<TGConnectingPoint num="2" id="747" />
-<TGConnectingPoint num="3" id="748" />
-<TGConnectingPoint num="4" id="749" />
-<TGConnectingPoint num="5" id="750" />
-<TGConnectingPoint num="6" id="751" />
-<TGConnectingPoint num="7" id="752" />
-<TGConnectingPoint num="8" id="753" />
-<TGConnectingPoint num="9" id="754" />
-<TGConnectingPoint num="10" id="755" />
-<TGConnectingPoint num="11" id="756" />
-<TGConnectingPoint num="12" id="757" />
-<TGConnectingPoint num="13" id="758" />
-<TGConnectingPoint num="14" id="759" />
-<TGConnectingPoint num="15" id="760" />
+<TGConnectingPoint num="0" id="706" />
+<TGConnectingPoint num="1" id="707" />
+<TGConnectingPoint num="2" id="708" />
+<TGConnectingPoint num="3" id="709" />
+<TGConnectingPoint num="4" id="710" />
+<TGConnectingPoint num="5" id="711" />
+<TGConnectingPoint num="6" id="712" />
+<TGConnectingPoint num="7" id="713" />
+<TGConnectingPoint num="8" id="714" />
+<TGConnectingPoint num="9" id="715" />
+<TGConnectingPoint num="10" id="716" />
+<TGConnectingPoint num="11" id="717" />
+<TGConnectingPoint num="12" id="718" />
+<TGConnectingPoint num="13" id="719" />
+<TGConnectingPoint num="14" id="720" />
+<TGConnectingPoint num="15" id="721" />
 <extraparam>
 <Line value="Fin" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="764" >
+<COMPONENT type="1011" id="725" >
 <cdparam x="678" y="965" />
 <sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =1" />
-<TGConnectingPoint num="0" id="762" />
-<TGConnectingPoint num="1" id="763" />
+<TGConnectingPoint num="0" id="723" />
+<TGConnectingPoint num="1" id="724" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="766" >
+<COMPONENT type="1001" id="727" >
 <cdparam x="718" y="1032" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="765" />
+<TGConnectingPoint num="0" id="726" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="769" >
+<COMPONENT type="1006" id="730" >
 <cdparam x="761" y="1086" />
 <sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="767" />
-<TGConnectingPoint num="1" id="768" />
+<TGConnectingPoint num="0" id="728" />
+<TGConnectingPoint num="1" id="729" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="786" >
+<COMPONENT type="301" id="747" >
 <cdparam x="781" y="950" />
 <sizeparam width="89" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="Active Open
 " />
-<TGConnectingPoint num="0" id="770" />
-<TGConnectingPoint num="1" id="771" />
-<TGConnectingPoint num="2" id="772" />
-<TGConnectingPoint num="3" id="773" />
-<TGConnectingPoint num="4" id="774" />
-<TGConnectingPoint num="5" id="775" />
-<TGConnectingPoint num="6" id="776" />
-<TGConnectingPoint num="7" id="777" />
-<TGConnectingPoint num="8" id="778" />
-<TGConnectingPoint num="9" id="779" />
-<TGConnectingPoint num="10" id="780" />
-<TGConnectingPoint num="11" id="781" />
-<TGConnectingPoint num="12" id="782" />
-<TGConnectingPoint num="13" id="783" />
-<TGConnectingPoint num="14" id="784" />
-<TGConnectingPoint num="15" id="785" />
+<TGConnectingPoint num="0" id="731" />
+<TGConnectingPoint num="1" id="732" />
+<TGConnectingPoint num="2" id="733" />
+<TGConnectingPoint num="3" id="734" />
+<TGConnectingPoint num="4" id="735" />
+<TGConnectingPoint num="5" id="736" />
+<TGConnectingPoint num="6" id="737" />
+<TGConnectingPoint num="7" id="738" />
+<TGConnectingPoint num="8" id="739" />
+<TGConnectingPoint num="9" id="740" />
+<TGConnectingPoint num="10" id="741" />
+<TGConnectingPoint num="11" id="742" />
+<TGConnectingPoint num="12" id="743" />
+<TGConnectingPoint num="13" id="744" />
+<TGConnectingPoint num="14" id="745" />
+<TGConnectingPoint num="15" id="746" />
 <extraparam>
 <Line value="Active Open" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="803" >
+<COMPONENT type="301" id="764" >
 <cdparam x="715" y="907" />
 <sizeparam width="97" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="Passive Open
 " />
-<TGConnectingPoint num="0" id="787" />
-<TGConnectingPoint num="1" id="788" />
-<TGConnectingPoint num="2" id="789" />
-<TGConnectingPoint num="3" id="790" />
-<TGConnectingPoint num="4" id="791" />
-<TGConnectingPoint num="5" id="792" />
-<TGConnectingPoint num="6" id="793" />
-<TGConnectingPoint num="7" id="794" />
-<TGConnectingPoint num="8" id="795" />
-<TGConnectingPoint num="9" id="796" />
-<TGConnectingPoint num="10" id="797" />
-<TGConnectingPoint num="11" id="798" />
-<TGConnectingPoint num="12" id="799" />
-<TGConnectingPoint num="13" id="800" />
-<TGConnectingPoint num="14" id="801" />
-<TGConnectingPoint num="15" id="802" />
+<TGConnectingPoint num="0" id="748" />
+<TGConnectingPoint num="1" id="749" />
+<TGConnectingPoint num="2" id="750" />
+<TGConnectingPoint num="3" id="751" />
+<TGConnectingPoint num="4" id="752" />
+<TGConnectingPoint num="5" id="753" />
+<TGConnectingPoint num="6" id="754" />
+<TGConnectingPoint num="7" id="755" />
+<TGConnectingPoint num="8" id="756" />
+<TGConnectingPoint num="9" id="757" />
+<TGConnectingPoint num="10" id="758" />
+<TGConnectingPoint num="11" id="759" />
+<TGConnectingPoint num="12" id="760" />
+<TGConnectingPoint num="13" id="761" />
+<TGConnectingPoint num="14" id="762" />
+<TGConnectingPoint num="15" id="763" />
 <extraparam>
 <Line value="Passive Open" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="806" >
+<COMPONENT type="1011" id="767" >
 <cdparam x="750" y="1193" />
 <sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =3" />
-<TGConnectingPoint num="0" id="804" />
-<TGConnectingPoint num="1" id="805" />
+<TGConnectingPoint num="0" id="765" />
+<TGConnectingPoint num="1" id="766" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="809" >
+<COMPONENT type="1011" id="770" >
 <cdparam x="446" y="768" />
 <sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =0" />
-<TGConnectingPoint num="0" id="807" />
-<TGConnectingPoint num="1" id="808" />
+<TGConnectingPoint num="0" id="768" />
+<TGConnectingPoint num="1" id="769" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="811" >
+<COMPONENT type="1001" id="772" >
 <cdparam x="486" y="830" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="810" />
+<TGConnectingPoint num="0" id="771" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="814" >
+<COMPONENT type="1006" id="775" >
 <cdparam x="904" y="1123" />
 <sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="812" />
-<TGConnectingPoint num="1" id="813" />
+<TGConnectingPoint num="0" id="773" />
+<TGConnectingPoint num="1" id="774" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="831" >
+<COMPONENT type="301" id="792" >
 <cdparam x="884" y="1068" />
 <sizeparam width="108" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="send Ack of Fin
 " />
-<TGConnectingPoint num="0" id="815" />
-<TGConnectingPoint num="1" id="816" />
-<TGConnectingPoint num="2" id="817" />
-<TGConnectingPoint num="3" id="818" />
-<TGConnectingPoint num="4" id="819" />
-<TGConnectingPoint num="5" id="820" />
-<TGConnectingPoint num="6" id="821" />
-<TGConnectingPoint num="7" id="822" />
-<TGConnectingPoint num="8" id="823" />
-<TGConnectingPoint num="9" id="824" />
-<TGConnectingPoint num="10" id="825" />
-<TGConnectingPoint num="11" id="826" />
-<TGConnectingPoint num="12" id="827" />
-<TGConnectingPoint num="13" id="828" />
-<TGConnectingPoint num="14" id="829" />
-<TGConnectingPoint num="15" id="830" />
+<TGConnectingPoint num="0" id="776" />
+<TGConnectingPoint num="1" id="777" />
+<TGConnectingPoint num="2" id="778" />
+<TGConnectingPoint num="3" id="779" />
+<TGConnectingPoint num="4" id="780" />
+<TGConnectingPoint num="5" id="781" />
+<TGConnectingPoint num="6" id="782" />
+<TGConnectingPoint num="7" id="783" />
+<TGConnectingPoint num="8" id="784" />
+<TGConnectingPoint num="9" id="785" />
+<TGConnectingPoint num="10" id="786" />
+<TGConnectingPoint num="11" id="787" />
+<TGConnectingPoint num="12" id="788" />
+<TGConnectingPoint num="13" id="789" />
+<TGConnectingPoint num="14" id="790" />
+<TGConnectingPoint num="15" id="791" />
 <extraparam>
 <Line value="send Ack of Fin" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="834" >
+<COMPONENT type="1011" id="795" >
 <cdparam x="893" y="1234" />
 <sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =9" />
-<TGConnectingPoint num="0" id="832" />
-<TGConnectingPoint num="1" id="833" />
+<TGConnectingPoint num="0" id="793" />
+<TGConnectingPoint num="1" id="794" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="836" >
+<COMPONENT type="1001" id="797" >
 <cdparam x="933" y="1311" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="835" />
+<TGConnectingPoint num="0" id="796" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="839" >
+<COMPONENT type="1006" id="800" >
 <cdparam x="1010" y="1155" />
 <sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="837" />
-<TGConnectingPoint num="1" id="838" />
+<TGConnectingPoint num="0" id="798" />
+<TGConnectingPoint num="1" id="799" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="856" >
+<COMPONENT type="301" id="817" >
 <cdparam x="1000" y="1094" />
 <sizeparam width="108" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="send Ack of Fin
 " />
-<TGConnectingPoint num="0" id="840" />
-<TGConnectingPoint num="1" id="841" />
-<TGConnectingPoint num="2" id="842" />
-<TGConnectingPoint num="3" id="843" />
-<TGConnectingPoint num="4" id="844" />
-<TGConnectingPoint num="5" id="845" />
-<TGConnectingPoint num="6" id="846" />
-<TGConnectingPoint num="7" id="847" />
-<TGConnectingPoint num="8" id="848" />
-<TGConnectingPoint num="9" id="849" />
-<TGConnectingPoint num="10" id="850" />
-<TGConnectingPoint num="11" id="851" />
-<TGConnectingPoint num="12" id="852" />
-<TGConnectingPoint num="13" id="853" />
-<TGConnectingPoint num="14" id="854" />
-<TGConnectingPoint num="15" id="855" />
+<TGConnectingPoint num="0" id="801" />
+<TGConnectingPoint num="1" id="802" />
+<TGConnectingPoint num="2" id="803" />
+<TGConnectingPoint num="3" id="804" />
+<TGConnectingPoint num="4" id="805" />
+<TGConnectingPoint num="5" id="806" />
+<TGConnectingPoint num="6" id="807" />
+<TGConnectingPoint num="7" id="808" />
+<TGConnectingPoint num="8" id="809" />
+<TGConnectingPoint num="9" id="810" />
+<TGConnectingPoint num="10" id="811" />
+<TGConnectingPoint num="11" id="812" />
+<TGConnectingPoint num="12" id="813" />
+<TGConnectingPoint num="13" id="814" />
+<TGConnectingPoint num="14" id="815" />
+<TGConnectingPoint num="15" id="816" />
 <extraparam>
 <Line value="send Ack of Fin" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="859" >
+<COMPONENT type="1011" id="820" >
 <cdparam x="999" y="1266" />
 <sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =7" />
-<TGConnectingPoint num="0" id="857" />
-<TGConnectingPoint num="1" id="858" />
+<TGConnectingPoint num="0" id="818" />
+<TGConnectingPoint num="1" id="819" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="861" >
+<COMPONENT type="1001" id="822" >
 <cdparam x="1039" y="1341" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="860" />
+<TGConnectingPoint num="0" id="821" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="864" >
+<COMPONENT type="1006" id="825" >
 <cdparam x="683" y="758" />
 <sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="862" />
-<TGConnectingPoint num="1" id="863" />
+<TGConnectingPoint num="0" id="823" />
+<TGConnectingPoint num="1" id="824" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="866" >
+<COMPONENT type="1001" id="827" >
 <cdparam x="712" y="865" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="865" />
+<TGConnectingPoint num="0" id="826" />
 </COMPONENT>
 
-<COMPONENT type="1007" id="869" >
+<COMPONENT type="1007" id="830" >
 <cdparam x="93" y="1100" />
 <sizeparam width="78" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send request" value="req_Timer()" />
-<TGConnectingPoint num="0" id="867" />
-<TGConnectingPoint num="1" id="868" />
+<TGConnectingPoint num="0" id="828" />
+<TGConnectingPoint num="1" id="829" />
 <extraparam>
 <Data requestName="req_Timer" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="872" >
+<COMPONENT type="1006" id="833" >
 <cdparam x="104" y="1167" />
 <sizeparam width="56" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="temp(1)" />
-<TGConnectingPoint num="0" id="870" />
-<TGConnectingPoint num="1" id="871" />
+<TGConnectingPoint num="0" id="831" />
+<TGConnectingPoint num="1" id="832" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="874" >
+<COMPONENT type="1001" id="835" >
 <cdparam x="122" y="1236" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="873" />
+<TGConnectingPoint num="0" id="834" />
 </COMPONENT>
 
-<COMPONENT type="1007" id="877" >
+<COMPONENT type="1007" id="838" >
 <cdparam x="191" y="1102" />
 <sizeparam width="78" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send request" value="req_Timer()" />
-<TGConnectingPoint num="0" id="875" />
-<TGConnectingPoint num="1" id="876" />
+<TGConnectingPoint num="0" id="836" />
+<TGConnectingPoint num="1" id="837" />
 <extraparam>
 <Data requestName="req_Timer" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="880" >
+<COMPONENT type="1006" id="841" >
 <cdparam x="202" y="1169" />
 <sizeparam width="56" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="temp(1)" />
-<TGConnectingPoint num="0" id="878" />
-<TGConnectingPoint num="1" id="879" />
+<TGConnectingPoint num="0" id="839" />
+<TGConnectingPoint num="1" id="840" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1007" id="883" >
+<COMPONENT type="1007" id="844" >
 <cdparam x="307" y="1106" />
 <sizeparam width="78" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send request" value="req_Timer()" />
-<TGConnectingPoint num="0" id="881" />
-<TGConnectingPoint num="1" id="882" />
+<TGConnectingPoint num="0" id="842" />
+<TGConnectingPoint num="1" id="843" />
 <extraparam>
 <Data requestName="req_Timer" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="886" >
+<COMPONENT type="1006" id="847" >
 <cdparam x="318" y="1173" />
 <sizeparam width="56" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="temp(1)" />
-<TGConnectingPoint num="0" id="884" />
-<TGConnectingPoint num="1" id="885" />
+<TGConnectingPoint num="0" id="845" />
+<TGConnectingPoint num="1" id="846" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1007" id="889" >
+<COMPONENT type="1007" id="850" >
 <cdparam x="425" y="1090" />
 <sizeparam width="78" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send request" value="req_Timer()" />
-<TGConnectingPoint num="0" id="887" />
-<TGConnectingPoint num="1" id="888" />
+<TGConnectingPoint num="0" id="848" />
+<TGConnectingPoint num="1" id="849" />
 <extraparam>
 <Data requestName="req_Timer" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="892" >
+<COMPONENT type="1006" id="853" >
 <cdparam x="436" y="1159" />
 <sizeparam width="56" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="temp(1)" />
-<TGConnectingPoint num="0" id="890" />
-<TGConnectingPoint num="1" id="891" />
+<TGConnectingPoint num="0" id="851" />
+<TGConnectingPoint num="1" id="852" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="895" >
+<COMPONENT type="1011" id="856" >
 <cdparam x="56" y="861" />
 <sizeparam width="153" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="seqNum=seqNum+wind" />
-<TGConnectingPoint num="0" id="893" />
-<TGConnectingPoint num="1" id="894" />
+<TGConnectingPoint num="0" id="854" />
+<TGConnectingPoint num="1" id="855" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="898" >
+<COMPONENT type="1011" id="859" >
 <cdparam x="154" y="940" />
 <sizeparam width="153" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="seqNum=seqNum+wind" />
-<TGConnectingPoint num="0" id="896" />
-<TGConnectingPoint num="1" id="897" />
+<TGConnectingPoint num="0" id="857" />
+<TGConnectingPoint num="1" id="858" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="901" >
+<COMPONENT type="1011" id="862" >
 <cdparam x="388" y="865" />
 <sizeparam width="153" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="seqNum=seqNum+wind" />
-<TGConnectingPoint num="0" id="899" />
-<TGConnectingPoint num="1" id="900" />
+<TGConnectingPoint num="0" id="860" />
+<TGConnectingPoint num="1" id="861" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="904" >
+<COMPONENT type="1011" id="865" >
 <cdparam x="270" y="831" />
 <sizeparam width="153" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="seqNum=seqNum+wind" />
-<TGConnectingPoint num="0" id="902" />
-<TGConnectingPoint num="1" id="903" />
+<TGConnectingPoint num="0" id="863" />
+<TGConnectingPoint num="1" id="864" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="907" >
+<COMPONENT type="1008" id="868" >
 <cdparam x="207" y="1052" />
 <sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="905" />
-<TGConnectingPoint num="1" id="906" />
+<TGConnectingPoint num="0" id="866" />
+<TGConnectingPoint num="1" id="867" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="910" >
+<COMPONENT type="1008" id="871" >
 <cdparam x="323" y="962" />
 <sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="908" />
-<TGConnectingPoint num="1" id="909" />
+<TGConnectingPoint num="0" id="869" />
+<TGConnectingPoint num="1" id="870" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="913" >
+<COMPONENT type="1008" id="874" >
 <cdparam x="441" y="983" />
 <sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="911" />
-<TGConnectingPoint num="1" id="912" />
+<TGConnectingPoint num="0" id="872" />
+<TGConnectingPoint num="1" id="873" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="916" >
+<COMPONENT type="1008" id="877" >
 <cdparam x="109" y="986" />
 <sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="914" />
-<TGConnectingPoint num="1" id="915" />
+<TGConnectingPoint num="0" id="875" />
+<TGConnectingPoint num="1" id="876" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="919" >
+<COMPONENT type="1008" id="880" >
 <cdparam x="699" y="813" />
 <sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="917" />
-<TGConnectingPoint num="1" id="918" />
+<TGConnectingPoint num="0" id="878" />
+<TGConnectingPoint num="1" id="879" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="922" >
+<COMPONENT type="1008" id="883" >
 <cdparam x="777" y="1141" />
 <sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="920" />
-<TGConnectingPoint num="1" id="921" />
+<TGConnectingPoint num="0" id="881" />
+<TGConnectingPoint num="1" id="882" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="925" >
+<COMPONENT type="1008" id="886" >
 <cdparam x="920" y="1178" />
 <sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="923" />
-<TGConnectingPoint num="1" id="924" />
+<TGConnectingPoint num="0" id="884" />
+<TGConnectingPoint num="1" id="885" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="928" >
+<COMPONENT type="1008" id="889" >
 <cdparam x="1026" y="1211" />
 <sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="926" />
-<TGConnectingPoint num="1" id="927" />
+<TGConnectingPoint num="0" id="887" />
+<TGConnectingPoint num="1" id="888" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="930" >
+<COMPONENT type="1001" id="891" >
 <cdparam x="602" y="762" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="929" />
+<TGConnectingPoint num="0" id="890" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="932" >
+<COMPONENT type="1001" id="893" >
 <cdparam x="873" y="922" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="931" />
+<TGConnectingPoint num="0" id="892" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="935" >
+<COMPONENT type="1006" id="896" >
 <cdparam x="1169" y="1214" />
 <sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="933" />
-<TGConnectingPoint num="1" id="934" />
+<TGConnectingPoint num="0" id="894" />
+<TGConnectingPoint num="1" id="895" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="952" >
+<COMPONENT type="301" id="913" >
 <cdparam x="1159" y="1153" />
 <sizeparam width="108" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="send Ack of Fin
 " />
-<TGConnectingPoint num="0" id="936" />
-<TGConnectingPoint num="1" id="937" />
-<TGConnectingPoint num="2" id="938" />
-<TGConnectingPoint num="3" id="939" />
-<TGConnectingPoint num="4" id="940" />
-<TGConnectingPoint num="5" id="941" />
-<TGConnectingPoint num="6" id="942" />
-<TGConnectingPoint num="7" id="943" />
-<TGConnectingPoint num="8" id="944" />
-<TGConnectingPoint num="9" id="945" />
-<TGConnectingPoint num="10" id="946" />
-<TGConnectingPoint num="11" id="947" />
-<TGConnectingPoint num="12" id="948" />
-<TGConnectingPoint num="13" id="949" />
-<TGConnectingPoint num="14" id="950" />
-<TGConnectingPoint num="15" id="951" />
+<TGConnectingPoint num="0" id="897" />
+<TGConnectingPoint num="1" id="898" />
+<TGConnectingPoint num="2" id="899" />
+<TGConnectingPoint num="3" id="900" />
+<TGConnectingPoint num="4" id="901" />
+<TGConnectingPoint num="5" id="902" />
+<TGConnectingPoint num="6" id="903" />
+<TGConnectingPoint num="7" id="904" />
+<TGConnectingPoint num="8" id="905" />
+<TGConnectingPoint num="9" id="906" />
+<TGConnectingPoint num="10" id="907" />
+<TGConnectingPoint num="11" id="908" />
+<TGConnectingPoint num="12" id="909" />
+<TGConnectingPoint num="13" id="910" />
+<TGConnectingPoint num="14" id="911" />
+<TGConnectingPoint num="15" id="912" />
 <extraparam>
 <Line value="send Ack of Fin" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="955" >
+<COMPONENT type="1011" id="916" >
 <cdparam x="1158" y="1295" />
 <sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =8" />
-<TGConnectingPoint num="0" id="953" />
-<TGConnectingPoint num="1" id="954" />
+<TGConnectingPoint num="0" id="914" />
+<TGConnectingPoint num="1" id="915" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="957" >
+<COMPONENT type="1001" id="918" >
 <cdparam x="1198" y="1471" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="956" />
+<TGConnectingPoint num="0" id="917" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="960" >
+<COMPONENT type="1011" id="921" >
 <cdparam x="1158" y="1402" />
 <sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =0" />
-<TGConnectingPoint num="0" id="958" />
-<TGConnectingPoint num="1" id="959" />
+<TGConnectingPoint num="0" id="919" />
+<TGConnectingPoint num="1" id="920" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="963" >
+<COMPONENT type="1008" id="924" >
 <cdparam x="1185" y="1351" />
 <sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="961" />
-<TGConnectingPoint num="1" id="962" />
+<TGConnectingPoint num="0" id="922" />
+<TGConnectingPoint num="1" id="923" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="965" >
+<COMPONENT type="1001" id="926" >
 <cdparam x="1277" y="1070" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="964" />
+<TGConnectingPoint num="0" id="925" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="967" >
+<COMPONENT type="1001" id="928" >
 <cdparam x="1519" y="1457" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="966" />
+<TGConnectingPoint num="0" id="927" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="970" >
+<COMPONENT type="1006" id="931" >
 <cdparam x="1489" y="1132" />
 <sizeparam width="80" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoA(1)" />
-<TGConnectingPoint num="0" id="968" />
-<TGConnectingPoint num="1" id="969" />
+<TGConnectingPoint num="0" id="929" />
+<TGConnectingPoint num="1" id="930" />
 <extraparam>
 <Data channelName="fromTtoA" nbOfSamples="1" secPattern="" isAttacker="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="973" >
+<COMPONENT type="1006" id="934" >
 <cdparam x="1490" y="1348" />
 <sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="971" />
-<TGConnectingPoint num="1" id="972" />
+<TGConnectingPoint num="0" id="932" />
+<TGConnectingPoint num="1" id="933" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="976" >
+<COMPONENT type="1008" id="937" >
 <cdparam x="1707" y="1026" />
 <sizeparam width="43" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="stop()" />
-<TGConnectingPoint num="0" id="974" />
-<TGConnectingPoint num="1" id="975" />
+<TGConnectingPoint num="0" id="935" />
+<TGConnectingPoint num="1" id="936" />
 <extraparam>
 <Data eventName="stop" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="993" >
+<COMPONENT type="301" id="954" >
 <cdparam x="1759" y="1192" />
 <sizeparam width="86" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="Correct ack
 " />
-<TGConnectingPoint num="0" id="977" />
-<TGConnectingPoint num="1" id="978" />
-<TGConnectingPoint num="2" id="979" />
-<TGConnectingPoint num="3" id="980" />
-<TGConnectingPoint num="4" id="981" />
-<TGConnectingPoint num="5" id="982" />
-<TGConnectingPoint num="6" id="983" />
-<TGConnectingPoint num="7" id="984" />
-<TGConnectingPoint num="8" id="985" />
-<TGConnectingPoint num="9" id="986" />
-<TGConnectingPoint num="10" id="987" />
-<TGConnectingPoint num="11" id="988" />
-<TGConnectingPoint num="12" id="989" />
-<TGConnectingPoint num="13" id="990" />
-<TGConnectingPoint num="14" id="991" />
-<TGConnectingPoint num="15" id="992" />
+<TGConnectingPoint num="0" id="938" />
+<TGConnectingPoint num="1" id="939" />
+<TGConnectingPoint num="2" id="940" />
+<TGConnectingPoint num="3" id="941" />
+<TGConnectingPoint num="4" id="942" />
+<TGConnectingPoint num="5" id="943" />
+<TGConnectingPoint num="6" id="944" />
+<TGConnectingPoint num="7" id="945" />
+<TGConnectingPoint num="8" id="946" />
+<TGConnectingPoint num="9" id="947" />
+<TGConnectingPoint num="10" id="948" />
+<TGConnectingPoint num="11" id="949" />
+<TGConnectingPoint num="12" id="950" />
+<TGConnectingPoint num="13" id="951" />
+<TGConnectingPoint num="14" id="952" />
+<TGConnectingPoint num="15" id="953" />
 <extraparam>
 <Line value="Correct ack" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="1010" >
+<COMPONENT type="301" id="971" >
 <cdparam x="1635" y="1168" />
 <sizeparam width="71" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="false ack
 " />
-<TGConnectingPoint num="0" id="994" />
-<TGConnectingPoint num="1" id="995" />
-<TGConnectingPoint num="2" id="996" />
-<TGConnectingPoint num="3" id="997" />
-<TGConnectingPoint num="4" id="998" />
-<TGConnectingPoint num="5" id="999" />
-<TGConnectingPoint num="6" id="1000" />
-<TGConnectingPoint num="7" id="1001" />
-<TGConnectingPoint num="8" id="1002" />
-<TGConnectingPoint num="9" id="1003" />
-<TGConnectingPoint num="10" id="1004" />
-<TGConnectingPoint num="11" id="1005" />
-<TGConnectingPoint num="12" id="1006" />
-<TGConnectingPoint num="13" id="1007" />
-<TGConnectingPoint num="14" id="1008" />
-<TGConnectingPoint num="15" id="1009" />
+<TGConnectingPoint num="0" id="955" />
+<TGConnectingPoint num="1" id="956" />
+<TGConnectingPoint num="2" id="957" />
+<TGConnectingPoint num="3" id="958" />
+<TGConnectingPoint num="4" id="959" />
+<TGConnectingPoint num="5" id="960" />
+<TGConnectingPoint num="6" id="961" />
+<TGConnectingPoint num="7" id="962" />
+<TGConnectingPoint num="8" id="963" />
+<TGConnectingPoint num="9" id="964" />
+<TGConnectingPoint num="10" id="965" />
+<TGConnectingPoint num="11" id="966" />
+<TGConnectingPoint num="12" id="967" />
+<TGConnectingPoint num="13" id="968" />
+<TGConnectingPoint num="14" id="969" />
+<TGConnectingPoint num="15" id="970" />
 <extraparam>
 <Line value="false ack" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="1013" >
+<COMPONENT type="1006" id="974" >
 <cdparam x="1602" y="1299" />
 <sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="1011" />
-<TGConnectingPoint num="1" id="1012" />
+<TGConnectingPoint num="0" id="972" />
+<TGConnectingPoint num="1" id="973" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1015" >
+<COMPONENT type="1001" id="976" >
 <cdparam x="1631" y="1468" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1014" />
+<TGConnectingPoint num="0" id="975" />
 </COMPONENT>
 
-<COMPONENT type="301" id="1032" >
+<COMPONENT type="301" id="993" >
 <cdparam x="1469" y="1295" />
 <sizeparam width="127" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="return acknowldge
 " />
-<TGConnectingPoint num="0" id="1016" />
-<TGConnectingPoint num="1" id="1017" />
-<TGConnectingPoint num="2" id="1018" />
-<TGConnectingPoint num="3" id="1019" />
-<TGConnectingPoint num="4" id="1020" />
-<TGConnectingPoint num="5" id="1021" />
-<TGConnectingPoint num="6" id="1022" />
-<TGConnectingPoint num="7" id="1023" />
-<TGConnectingPoint num="8" id="1024" />
-<TGConnectingPoint num="9" id="1025" />
-<TGConnectingPoint num="10" id="1026" />
-<TGConnectingPoint num="11" id="1027" />
-<TGConnectingPoint num="12" id="1028" />
-<TGConnectingPoint num="13" id="1029" />
-<TGConnectingPoint num="14" id="1030" />
-<TGConnectingPoint num="15" id="1031" />
+<TGConnectingPoint num="0" id="977" />
+<TGConnectingPoint num="1" id="978" />
+<TGConnectingPoint num="2" id="979" />
+<TGConnectingPoint num="3" id="980" />
+<TGConnectingPoint num="4" id="981" />
+<TGConnectingPoint num="5" id="982" />
+<TGConnectingPoint num="6" id="983" />
+<TGConnectingPoint num="7" id="984" />
+<TGConnectingPoint num="8" id="985" />
+<TGConnectingPoint num="9" id="986" />
+<TGConnectingPoint num="10" id="987" />
+<TGConnectingPoint num="11" id="988" />
+<TGConnectingPoint num="12" id="989" />
+<TGConnectingPoint num="13" id="990" />
+<TGConnectingPoint num="14" id="991" />
+<TGConnectingPoint num="15" id="992" />
 <extraparam>
 <Line value="return acknowldge" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="1049" >
+<COMPONENT type="301" id="1010" >
 <cdparam x="1620" y="927" />
 <sizeparam width="50" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="data
 " />
-<TGConnectingPoint num="0" id="1033" />
-<TGConnectingPoint num="1" id="1034" />
-<TGConnectingPoint num="2" id="1035" />
-<TGConnectingPoint num="3" id="1036" />
-<TGConnectingPoint num="4" id="1037" />
-<TGConnectingPoint num="5" id="1038" />
-<TGConnectingPoint num="6" id="1039" />
-<TGConnectingPoint num="7" id="1040" />
-<TGConnectingPoint num="8" id="1041" />
-<TGConnectingPoint num="9" id="1042" />
-<TGConnectingPoint num="10" id="1043" />
-<TGConnectingPoint num="11" id="1044" />
-<TGConnectingPoint num="12" id="1045" />
-<TGConnectingPoint num="13" id="1046" />
-<TGConnectingPoint num="14" id="1047" />
-<TGConnectingPoint num="15" id="1048" />
+<TGConnectingPoint num="0" id="994" />
+<TGConnectingPoint num="1" id="995" />
+<TGConnectingPoint num="2" id="996" />
+<TGConnectingPoint num="3" id="997" />
+<TGConnectingPoint num="4" id="998" />
+<TGConnectingPoint num="5" id="999" />
+<TGConnectingPoint num="6" id="1000" />
+<TGConnectingPoint num="7" id="1001" />
+<TGConnectingPoint num="8" id="1002" />
+<TGConnectingPoint num="9" id="1003" />
+<TGConnectingPoint num="10" id="1004" />
+<TGConnectingPoint num="11" id="1005" />
+<TGConnectingPoint num="12" id="1006" />
+<TGConnectingPoint num="13" id="1007" />
+<TGConnectingPoint num="14" id="1008" />
+<TGConnectingPoint num="15" id="1009" />
 <extraparam>
 <Line value="data" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1052" >
+<COMPONENT type="1008" id="1013" >
 <cdparam x="1506" y="1405" />
 <sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="1050" />
-<TGConnectingPoint num="1" id="1051" />
+<TGConnectingPoint num="0" id="1011" />
+<TGConnectingPoint num="1" id="1012" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1055" >
+<COMPONENT type="1008" id="1016" >
 <cdparam x="1618" y="1348" />
 <sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="1053" />
-<TGConnectingPoint num="1" id="1054" />
+<TGConnectingPoint num="0" id="1014" />
+<TGConnectingPoint num="1" id="1015" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="1058" >
+<COMPONENT type="1006" id="1019" >
 <cdparam x="1613" y="1404" />
 <sizeparam width="56" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="temp(1)" />
-<TGConnectingPoint num="0" id="1056" />
-<TGConnectingPoint num="1" id="1057" />
+<TGConnectingPoint num="0" id="1017" />
+<TGConnectingPoint num="1" id="1018" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1060" >
+<COMPONENT type="1001" id="1021" >
 <cdparam x="1730" y="1335" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1059" />
+<TGConnectingPoint num="0" id="1020" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1063" >
+<COMPONENT type="1011" id="1024" >
 <cdparam x="1776" y="1349" />
 <sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =4" />
-<TGConnectingPoint num="0" id="1061" />
-<TGConnectingPoint num="1" id="1062" />
+<TGConnectingPoint num="0" id="1022" />
+<TGConnectingPoint num="1" id="1023" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1065" >
+<COMPONENT type="1001" id="1026" >
 <cdparam x="1816" y="1457" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1064" />
+<TGConnectingPoint num="0" id="1025" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1068" >
+<COMPONENT type="1011" id="1029" >
 <cdparam x="1870" y="1411" />
 <sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =6" />
-<TGConnectingPoint num="0" id="1066" />
-<TGConnectingPoint num="1" id="1067" />
+<TGConnectingPoint num="0" id="1027" />
+<TGConnectingPoint num="1" id="1028" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1070" >
+<COMPONENT type="1001" id="1031" >
 <cdparam x="1910" y="1481" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1069" />
+<TGConnectingPoint num="0" id="1030" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1072" >
+<COMPONENT type="1001" id="1033" >
 <cdparam x="1986" y="1543" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1071" />
+<TGConnectingPoint num="0" id="1032" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1075" >
+<COMPONENT type="1011" id="1036" >
 <cdparam x="2051" y="1466" />
 <sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =0" />
-<TGConnectingPoint num="0" id="1073" />
-<TGConnectingPoint num="1" id="1074" />
+<TGConnectingPoint num="0" id="1034" />
+<TGConnectingPoint num="1" id="1035" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1077" >
+<COMPONENT type="1001" id="1038" >
 <cdparam x="2091" y="1537" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1076" />
+<TGConnectingPoint num="0" id="1037" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1080" >
+<COMPONENT type="1011" id="1041" >
 <cdparam x="1946" y="1493" />
 <sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =0" />
-<TGConnectingPoint num="0" id="1078" />
-<TGConnectingPoint num="1" id="1079" />
+<TGConnectingPoint num="0" id="1039" />
+<TGConnectingPoint num="1" id="1040" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1083" >
+<COMPONENT type="1011" id="1044" >
 <cdparam x="1946" y="1434" />
 <sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =8" />
-<TGConnectingPoint num="0" id="1081" />
-<TGConnectingPoint num="1" id="1082" />
+<TGConnectingPoint num="0" id="1042" />
+<TGConnectingPoint num="1" id="1043" />
 </COMPONENT>
 
-<COMPONENT type="301" id="1100" >
+<COMPONENT type="301" id="1061" >
 <cdparam x="1825" y="889" />
 <sizeparam width="50" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="Syn
 " />
-<TGConnectingPoint num="0" id="1084" />
-<TGConnectingPoint num="1" id="1085" />
-<TGConnectingPoint num="2" id="1086" />
-<TGConnectingPoint num="3" id="1087" />
-<TGConnectingPoint num="4" id="1088" />
-<TGConnectingPoint num="5" id="1089" />
-<TGConnectingPoint num="6" id="1090" />
-<TGConnectingPoint num="7" id="1091" />
-<TGConnectingPoint num="8" id="1092" />
-<TGConnectingPoint num="9" id="1093" />
-<TGConnectingPoint num="10" id="1094" />
-<TGConnectingPoint num="11" id="1095" />
-<TGConnectingPoint num="12" id="1096" />
-<TGConnectingPoint num="13" id="1097" />
-<TGConnectingPoint num="14" id="1098" />
-<TGConnectingPoint num="15" id="1099" />
+<TGConnectingPoint num="0" id="1045" />
+<TGConnectingPoint num="1" id="1046" />
+<TGConnectingPoint num="2" id="1047" />
+<TGConnectingPoint num="3" id="1048" />
+<TGConnectingPoint num="4" id="1049" />
+<TGConnectingPoint num="5" id="1050" />
+<TGConnectingPoint num="6" id="1051" />
+<TGConnectingPoint num="7" id="1052" />
+<TGConnectingPoint num="8" id="1053" />
+<TGConnectingPoint num="9" id="1054" />
+<TGConnectingPoint num="10" id="1055" />
+<TGConnectingPoint num="11" id="1056" />
+<TGConnectingPoint num="12" id="1057" />
+<TGConnectingPoint num="13" id="1058" />
+<TGConnectingPoint num="14" id="1059" />
+<TGConnectingPoint num="15" id="1060" />
 <extraparam>
 <Line value="Syn" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="1117" >
+<COMPONENT type="301" id="1078" >
 <cdparam x="1707" y="945" />
 <sizeparam width="50" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="ack
 " />
-<TGConnectingPoint num="0" id="1101" />
-<TGConnectingPoint num="1" id="1102" />
-<TGConnectingPoint num="2" id="1103" />
-<TGConnectingPoint num="3" id="1104" />
-<TGConnectingPoint num="4" id="1105" />
-<TGConnectingPoint num="5" id="1106" />
-<TGConnectingPoint num="6" id="1107" />
-<TGConnectingPoint num="7" id="1108" />
-<TGConnectingPoint num="8" id="1109" />
-<TGConnectingPoint num="9" id="1110" />
-<TGConnectingPoint num="10" id="1111" />
-<TGConnectingPoint num="11" id="1112" />
-<TGConnectingPoint num="12" id="1113" />
-<TGConnectingPoint num="13" id="1114" />
-<TGConnectingPoint num="14" id="1115" />
-<TGConnectingPoint num="15" id="1116" />
+<TGConnectingPoint num="0" id="1062" />
+<TGConnectingPoint num="1" id="1063" />
+<TGConnectingPoint num="2" id="1064" />
+<TGConnectingPoint num="3" id="1065" />
+<TGConnectingPoint num="4" id="1066" />
+<TGConnectingPoint num="5" id="1067" />
+<TGConnectingPoint num="6" id="1068" />
+<TGConnectingPoint num="7" id="1069" />
+<TGConnectingPoint num="8" id="1070" />
+<TGConnectingPoint num="9" id="1071" />
+<TGConnectingPoint num="10" id="1072" />
+<TGConnectingPoint num="11" id="1073" />
+<TGConnectingPoint num="12" id="1074" />
+<TGConnectingPoint num="13" id="1075" />
+<TGConnectingPoint num="14" id="1076" />
+<TGConnectingPoint num="15" id="1077" />
 <extraparam>
 <Line value="ack" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="1120" >
+<COMPONENT type="1006" id="1081" >
 <cdparam x="2198" y="1198" />
 <sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="1118" />
-<TGConnectingPoint num="1" id="1119" />
+<TGConnectingPoint num="0" id="1079" />
+<TGConnectingPoint num="1" id="1080" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1122" >
+<COMPONENT type="1001" id="1083" >
 <cdparam x="2227" y="1483" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1121" />
+<TGConnectingPoint num="0" id="1082" />
 </COMPONENT>
 
-<COMPONENT type="1007" id="1125" >
+<COMPONENT type="1007" id="1086" >
 <cdparam x="2198" y="1298" />
 <sizeparam width="78" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send request" value="req_Timer()" />
-<TGConnectingPoint num="0" id="1123" />
-<TGConnectingPoint num="1" id="1124" />
+<TGConnectingPoint num="0" id="1084" />
+<TGConnectingPoint num="1" id="1085" />
 <extraparam>
 <Data requestName="req_Timer" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="1128" >
+<COMPONENT type="1006" id="1089" >
 <cdparam x="2209" y="1365" />
 <sizeparam width="56" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="temp(1)" />
-<TGConnectingPoint num="0" id="1126" />
-<TGConnectingPoint num="1" id="1127" />
+<TGConnectingPoint num="0" id="1087" />
+<TGConnectingPoint num="1" id="1088" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="1131" >
+<COMPONENT type="1011" id="1092" >
 <cdparam x="2161" y="1136" />
 <sizeparam width="153" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="seqNum=seqNum+wind" />
-<TGConnectingPoint num="0" id="1129" />
-<TGConnectingPoint num="1" id="1130" />
+<TGConnectingPoint num="0" id="1090" />
+<TGConnectingPoint num="1" id="1091" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="1134" >
+<COMPONENT type="1008" id="1095" >
 <cdparam x="2214" y="1248" />
 <sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="1132" />
-<TGConnectingPoint num="1" id="1133" />
+<TGConnectingPoint num="0" id="1093" />
+<TGConnectingPoint num="1" id="1094" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="1137" >
+<COMPONENT type="1011" id="1098" >
 <cdparam x="2187" y="1424" />
 <sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =2" />
-<TGConnectingPoint num="0" id="1135" />
-<TGConnectingPoint num="1" id="1136" />
+<TGConnectingPoint num="0" id="1096" />
+<TGConnectingPoint num="1" id="1097" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="1140" >
+<COMPONENT type="1006" id="1101" >
 <cdparam x="2278" y="1122" />
 <sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="1138" />
-<TGConnectingPoint num="1" id="1139" />
+<TGConnectingPoint num="0" id="1099" />
+<TGConnectingPoint num="1" id="1100" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="1157" >
+<COMPONENT type="301" id="1118" >
 <cdparam x="2283" y="1065" />
 <sizeparam width="114" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="send Ack of SYN
 " />
-<TGConnectingPoint num="0" id="1141" />
-<TGConnectingPoint num="1" id="1142" />
-<TGConnectingPoint num="2" id="1143" />
-<TGConnectingPoint num="3" id="1144" />
-<TGConnectingPoint num="4" id="1145" />
-<TGConnectingPoint num="5" id="1146" />
-<TGConnectingPoint num="6" id="1147" />
-<TGConnectingPoint num="7" id="1148" />
-<TGConnectingPoint num="8" id="1149" />
-<TGConnectingPoint num="9" id="1150" />
-<TGConnectingPoint num="10" id="1151" />
-<TGConnectingPoint num="11" id="1152" />
-<TGConnectingPoint num="12" id="1153" />
-<TGConnectingPoint num="13" id="1154" />
-<TGConnectingPoint num="14" id="1155" />
-<TGConnectingPoint num="15" id="1156" />
+<TGConnectingPoint num="0" id="1102" />
+<TGConnectingPoint num="1" id="1103" />
+<TGConnectingPoint num="2" id="1104" />
+<TGConnectingPoint num="3" id="1105" />
+<TGConnectingPoint num="4" id="1106" />
+<TGConnectingPoint num="5" id="1107" />
+<TGConnectingPoint num="6" id="1108" />
+<TGConnectingPoint num="7" id="1109" />
+<TGConnectingPoint num="8" id="1110" />
+<TGConnectingPoint num="9" id="1111" />
+<TGConnectingPoint num="10" id="1112" />
+<TGConnectingPoint num="11" id="1113" />
+<TGConnectingPoint num="12" id="1114" />
+<TGConnectingPoint num="13" id="1115" />
+<TGConnectingPoint num="14" id="1116" />
+<TGConnectingPoint num="15" id="1117" />
 <extraparam>
 <Line value="send Ack of SYN" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="1160" >
+<COMPONENT type="1011" id="1121" >
 <cdparam x="2267" y="1267" />
 <sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =2" />
-<TGConnectingPoint num="0" id="1158" />
-<TGConnectingPoint num="1" id="1159" />
+<TGConnectingPoint num="0" id="1119" />
+<TGConnectingPoint num="1" id="1120" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1162" >
+<COMPONENT type="1001" id="1123" >
 <cdparam x="2307" y="1324" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1161" />
+<TGConnectingPoint num="0" id="1122" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="1165" >
+<COMPONENT type="1008" id="1126" >
 <cdparam x="2294" y="1199" />
 <sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="1163" />
-<TGConnectingPoint num="1" id="1164" />
+<TGConnectingPoint num="0" id="1124" />
+<TGConnectingPoint num="1" id="1125" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1167" >
+<COMPONENT type="1001" id="1128" >
 <cdparam x="1637" y="1057" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1166" />
+<TGConnectingPoint num="0" id="1127" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1169" >
+<COMPONENT type="1001" id="1130" >
 <cdparam x="2168" y="1421" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1168" />
+<TGConnectingPoint num="0" id="1129" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1171" >
+<COMPONENT type="1001" id="1132" >
 <cdparam x="2267" y="1039" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1170" />
+<TGConnectingPoint num="0" id="1131" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="1174" >
+<COMPONENT type="1008" id="1135" >
 <cdparam x="1465" y="1192" />
 <sizeparam width="129" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="receive_Application()" />
-<TGConnectingPoint num="0" id="1172" />
-<TGConnectingPoint num="1" id="1173" />
+<TGConnectingPoint num="0" id="1133" />
+<TGConnectingPoint num="1" id="1134" />
 <extraparam>
 <Data eventName="receive_Application" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1009" id="1177" >
+<COMPONENT type="1009" id="1138" >
 <cdparam x="1698" y="1086" />
 <sizeparam width="60" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="read channel" value="temp(1) " />
-<TGConnectingPoint num="0" id="1175" />
-<TGConnectingPoint num="1" id="1176" />
+<TGConnectingPoint num="0" id="1136" />
+<TGConnectingPoint num="1" id="1137" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" />
 </extraparam>
 </COMPONENT>
 
-<CONNECTOR type="115" id="1178" >
+<CONNECTOR type="115" id="1139" >
 <cdparam x="1048" y="795" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to choice" value="null" />
-<P1  x="1048" y="795" id="568" />
-<P2  x="1728" y="865" id="490" />
+<P1  x="1048" y="795" id="529" />
+<P2  x="1728" y="865" id="451" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1179" >
+<CONNECTOR type="115" id="1140" >
 <cdparam x="1048" y="795" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to choice" value="null" />
-<P1  x="1089" y="954" id="540" />
-<P2  x="1208" y="1010" id="510" />
+<P1  x="1089" y="954" id="501" />
+<P2  x="1208" y="1010" id="471" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1180" >
+<CONNECTOR type="115" id="1141" >
 <cdparam x="1008" y="610" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from read channel to execI" value="null" />
-<P1  x="1008" y="610" id="644" />
-<P2  x="1008" y="696" id="572" />
+<P1  x="1008" y="610" id="605" />
+<P2  x="1008" y="696" id="533" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1181" >
+<CONNECTOR type="115" id="1142" >
 <cdparam x="722" y="614" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from read channel to execI" value="null" />
-<P1  x="722" y="614" id="659" />
-<P2  x="722" y="689" id="528" />
+<P1  x="722" y="614" id="620" />
+<P2  x="722" y="689" id="489" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1182" >
+<CONNECTOR type="115" id="1143" >
 <cdparam x="504" y="597" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to choice" value="null" />
-<P1  x="504" y="597" id="608" />
-<P2  x="572" y="702" id="522" />
+<P1  x="504" y="597" id="569" />
+<P2  x="572" y="702" id="483" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1183" >
+<CONNECTOR type="115" id="1144" >
 <cdparam x="464" y="637" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to execI" value="null" />
-<P1  x="464" y="637" id="609" />
-<P2  x="464" y="778" id="576" />
+<P1  x="464" y="637" id="570" />
+<P2  x="464" y="778" id="537" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1184" >
+<CONNECTOR type="115" id="1145" >
 <cdparam x="424" y="597" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to execI" value="null" />
-<P1  x="424" y="597" id="607" />
-<P2  x="346" y="759" id="556" />
+<P1  x="424" y="597" id="568" />
+<P2  x="346" y="759" id="517" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1185" >
+<CONNECTOR type="115" id="1146" >
 <cdparam x="289" y="619" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to read channel" value="null" />
-<P1  x="289" y="619" id="617" />
-<P2  x="230" y="803" id="713" />
+<P1  x="289" y="619" id="578" />
+<P2  x="230" y="803" id="674" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1186" >
+<CONNECTOR type="115" id="1147" >
 <cdparam x="249" y="579" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to execI" value="null" />
-<P1  x="249" y="579" id="615" />
-<P2  x="132" y="789" id="560" />
+<P1  x="249" y="579" id="576" />
+<P2  x="132" y="789" id="521" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1187" >
+<CONNECTOR type="115" id="1148" >
 <cdparam x="371" y="93" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from for loop to notified event" value="null" />
-<P1  x="320" y="99" id="647" />
-<P2  x="374" y="128" id="655" />
+<P1  x="320" y="99" id="608" />
+<P2  x="374" y="128" id="616" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1188" >
+<CONNECTOR type="115" id="1149" >
 <cdparam x="234" y="169" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from action state to stop state" value="null" />
-<P1  x="235" y="169" id="653" />
-<P2  x="235" y="202" id="650" />
+<P1  x="235" y="169" id="614" />
+<P2  x="235" y="202" id="611" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1189" >
+<CONNECTOR type="115" id="1150" >
 <cdparam x="234" y="104" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from for loop to action state" value="null" />
-<P1  x="235" y="110" id="648" />
-<P2  x="235" y="139" id="652" />
+<P1  x="235" y="110" id="609" />
+<P2  x="235" y="139" id="613" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1190" >
+<CONNECTOR type="115" id="1151" >
 <cdparam x="234" y="47" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from start state to for loop" value="null" />
-<P1  x="234" y="47" id="619" />
-<P2  x="235" y="80" id="646" />
+<P1  x="234" y="47" id="580" />
+<P2  x="235" y="80" id="607" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1191" >
+<CONNECTOR type="115" id="1152" >
 <cdparam x="425" y="162" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from notified event to choice" value="null" />
-<P1  x="374" y="158" id="656" />
-<P2  x="374" y="182" id="598" />
+<P1  x="374" y="158" id="617" />
+<P2  x="374" y="182" id="559" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1192" >
+<CONNECTOR type="115" id="1153" >
 <cdparam x="564" y="482" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to wait event" value="null" />
-<P1  x="464" y="322" id="682" />
-<P2  x="722" y="529" id="661" />
+<P1  x="464" y="322" id="643" />
+<P2  x="722" y="529" id="622" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1193" >
+<CONNECTOR type="115" id="1154" >
 <cdparam x="722" y="559" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from wait event to read channel" value="null" />
-<P1  x="722" y="559" id="662" />
-<P2  x="722" y="584" id="658" />
+<P1  x="722" y="559" id="623" />
+<P2  x="722" y="584" id="619" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1194" >
+<CONNECTOR type="115" id="1155" >
 <cdparam x="604" y="442" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to wait event" value="null" />
-<P1  x="504" y="282" id="678" />
-<P2  x="1008" y="523" id="664" />
+<P1  x="504" y="282" id="639" />
+<P2  x="1008" y="523" id="625" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1195" >
+<CONNECTOR type="115" id="1156" >
 <cdparam x="1007" y="553" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from wait event to read channel" value="null" />
-<P1  x="1008" y="553" id="665" />
-<P2  x="1008" y="580" id="643" />
+<P1  x="1008" y="553" id="626" />
+<P2  x="1008" y="580" id="604" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1196" >
+<CONNECTOR type="115" id="1157" >
 <cdparam x="524" y="442" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to wait event" value="null" />
-<P1  x="464" y="322" id="679" />
-<P2  x="464" y="487" id="667" />
+<infoparam name="connector from choice to wait event" value="null" />
+<P1  x="464" y="322" id="640" />
+<P2  x="464" y="487" id="628" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1158" >
+<cdparam x="330" y="428" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to wait event" value="null" />
+<P1  x="424" y="282" id="641" />
+<P2  x="289" y="463" id="631" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1159" >
+<cdparam x="318" y="520" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from wait event to choice" value="null" />
+<P1  x="289" y="493" id="632" />
+<P2  x="289" y="554" id="575" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1160" >
+<cdparam x="160" y="481" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to action state" value="null" />
+<P1  x="148" y="501" id="552" />
+<P2  x="148" y="544" id="599" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1161" >
+<cdparam x="290" y="388" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to wait event" value="null" />
+<P1  x="424" y="282" id="638" />
+<P2  x="188" y="414" id="634" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1162" >
+<cdparam x="229" y="467" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from wait event to choice" value="null" />
+<P1  x="188" y="444" id="635" />
+<P2  x="188" y="476" id="551" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1163" >
+<cdparam x="228" y="501" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to stop state" value="null" />
+<P1  x="228" y="501" id="553" />
+<P2  x="228" y="524" id="648" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1164" >
+<cdparam x="334" y="207" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to wait event" value="null" />
+<P1  x="334" y="207" id="560" />
+<P2  x="301" y="223" id="652" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1165" >
+<cdparam x="301" y="253" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from wait event to stop state" value="null" />
+<P1  x="301" y="253" id="653" />
+<P2  x="301" y="285" id="655" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1166" >
+<cdparam x="464" y="517" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from wait event to choice" value="null" />
+<P1  x="464" y="517" id="629" />
+<P2  x="464" y="572" id="567" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1167" >
+<cdparam x="329" y="579" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to stop state" value="null" />
+<P1  x="329" y="579" id="577" />
+<P2  x="329" y="609" id="650" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1168" >
+<cdparam x="126" y="574" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="148" y="574" id="600" />
+<P2  x="148" y="610" id="602" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1169" >
+<cdparam x="414" y="207" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to select" value="null" />
+<P1  x="414" y="207" id="561" />
+<P2  x="464" y="257" id="637" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1170" >
+<cdparam x="230" y="833" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from read channel to execI" value="null" />
+<P1  x="230" y="833" id="675" />
+<P2  x="230" y="858" id="541" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1171" >
+<cdparam x="716" y="749" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to choice" value="null" />
+<P1  x="968" y="795" id="528" />
+<P2  x="843" y="859" id="511" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1172" >
+<cdparam x="720" y="1074" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="728" y="990" id="724" />
+<P2  x="728" y="1027" id="726" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1173" >
+<cdparam x="733" y="899" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to action state" value="null" />
+<P1  x="803" y="884" id="512" />
+<P2  x="728" y="960" id="723" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1174" >
+<cdparam x="800" y="938" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to execI" value="null" />
+<P1  x="843" y="924" id="514" />
+<P2  x="800" y="1004" id="505" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1175" >
+<cdparam x="800" y="1057" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from execI to write channel" value="null" />
+<P1  x="800" y="1044" id="506" />
+<P2  x="800" y="1081" id="728" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1176" >
+<cdparam x="132" y="886" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from action state to write channel" value="null" />
+<P1  x="132" y="886" id="855" />
+<P2  x="132" y="933" id="690" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1177" >
+<cdparam x="943" y="1061" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from execI to write channel" value="null" />
+<P1  x="943" y="1060" id="494" />
+<P2  x="943" y="1118" id="773" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1178" >
+<cdparam x="1049" y="1093" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from execI to write channel" value="null" />
+<P1  x="1049" y="1092" id="546" />
+<P2  x="1049" y="1150" id="798" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1179" >
+<cdparam x="1049" y="994" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to execI" value="null" />
+<P1  x="1049" y="994" id="502" />
+<P2  x="1049" y="1052" id="545" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1180" >
+<cdparam x="696" y="742" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from execI to write channel" value="null" />
+<P1  x="722" y="729" id="490" />
+<P2  x="722" y="753" id="823" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1181" >
+<cdparam x="132" y="1125" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send request to write channel" value="null" />
+<P1  x="132" y="1125" id="829" />
+<P2  x="132" y="1162" id="831" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1182" >
+<cdparam x="132" y="1192" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from write channel to stop state" value="null" />
+<P1  x="132" y="1192" id="832" />
+<P2  x="132" y="1231" id="834" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1183" >
+<cdparam x="132" y="1066" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from action state to send request" value="null" />
+<P1  x="132" y="1066" id="688" />
+<P2  x="132" y="1095" id="828" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1184" >
+<cdparam x="229" y="1127" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send request to write channel" value="null" />
+<P1  x="230" y="1127" id="837" />
+<P2  x="230" y="1164" id="839" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1185" >
+<cdparam x="346" y="1131" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send request to write channel" value="null" />
+<P1  x="346" y="1131" id="843" />
+<P2  x="346" y="1168" id="845" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1186" >
+<cdparam x="346" y="1051" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from action state to send request" value="null" />
+<P1  x="346" y="1051" id="694" />
+<P2  x="346" y="1101" id="842" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1187" >
+<cdparam x="437" y="1118" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send request to write channel" value="null" />
+<P1  x="464" y="1115" id="849" />
+<P2  x="464" y="1154" id="851" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1188" >
+<cdparam x="438" y="1057" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from action state to send request" value="null" />
+<P1  x="464" y="1057" id="683" />
+<P2  x="464" y="1085" id="848" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1189" >
+<cdparam x="132" y="808" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from execI to action state" value="null" />
+<P1  x="132" y="829" id="522" />
+<P2  x="132" y="856" id="854" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1190" >
+<cdparam x="230" y="898" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from execI to action state" value="null" />
+<P1  x="230" y="898" id="542" />
+<P2  x="230" y="935" id="857" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1191" >
+<cdparam x="230" y="965" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from action state to write channel" value="null" />
+<P1  x="230" y="965" id="858" />
+<P2  x="230" y="997" id="677" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1192" >
+<cdparam x="346" y="799" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from execI to action state" value="null" />
+<P1  x="346" y="799" id="518" />
+<P2  x="346" y="826" id="863" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1193" >
+<cdparam x="346" y="856" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from action state to write channel" value="null" />
+<P1  x="346" y="856" id="864" />
+<P2  x="346" y="895" id="701" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1194" >
+<cdparam x="439" y="818" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from execI to action state" value="null" />
+<P1  x="464" y="818" id="538" />
+<P2  x="464" y="860" id="860" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1195" >
+<cdparam x="439" y="890" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from action state to write channel" value="null" />
+<P1  x="464" y="890" id="861" />
+<P2  x="464" y="936" id="698" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1196" >
+<cdparam x="132" y="963" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="132" y="963" id="691" />
+<P2  x="132" y="981" id="875" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1197" >
-<cdparam x="330" y="428" />
+<cdparam x="132" y="1011" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to wait event" value="null" />
-<P1  x="424" y="282" id="680" />
-<P2  x="289" y="463" id="670" />
+<infoparam name="connector from send event to action state" value="null" />
+<P1  x="132" y="1011" id="876" />
+<P2  x="132" y="1036" id="687" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1198" >
-<cdparam x="318" y="520" />
+<cdparam x="230" y="1027" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from wait event to choice" value="null" />
-<P1  x="289" y="493" id="671" />
-<P2  x="289" y="554" id="614" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="230" y="1027" id="678" />
+<P2  x="230" y="1047" id="866" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1199" >
-<cdparam x="160" y="481" />
+<cdparam x="228" y="1088" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to action state" value="null" />
-<P1  x="148" y="501" id="591" />
-<P2  x="148" y="544" id="638" />
+<infoparam name="connector from send event to send request" value="null" />
+<P1  x="230" y="1077" id="867" />
+<P2  x="230" y="1097" id="836" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1200" >
-<cdparam x="290" y="388" />
+<cdparam x="346" y="925" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to wait event" value="null" />
-<P1  x="424" y="282" id="677" />
-<P2  x="188" y="414" id="673" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="346" y="925" id="702" />
+<P2  x="346" y="957" id="869" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1201" >
-<cdparam x="229" y="467" />
+<cdparam x="348" y="987" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from wait event to choice" value="null" />
-<P1  x="188" y="444" id="674" />
-<P2  x="188" y="476" id="590" />
+<infoparam name="connector from send event to action state" value="null" />
+<P1  x="346" y="987" id="870" />
+<P2  x="346" y="1021" id="693" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1202" >
-<cdparam x="228" y="501" />
+<cdparam x="439" y="966" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to stop state" value="null" />
-<P1  x="228" y="501" id="592" />
-<P2  x="228" y="524" id="687" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="464" y="966" id="699" />
+<P2  x="464" y="978" id="872" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1203" >
-<cdparam x="334" y="207" />
+<cdparam x="438" y="1008" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to wait event" value="null" />
-<P1  x="334" y="207" id="599" />
-<P2  x="301" y="223" id="691" />
+<infoparam name="connector from send event to action state" value="null" />
+<P1  x="464" y="1008" id="873" />
+<P2  x="464" y="1027" id="682" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1204" >
-<cdparam x="301" y="253" />
+<cdparam x="722" y="783" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from wait event to stop state" value="null" />
-<P1  x="301" y="253" id="692" />
-<P2  x="301" y="285" id="694" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="722" y="783" id="824" />
+<P2  x="722" y="808" id="878" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1205" >
-<cdparam x="464" y="517" />
+<cdparam x="722" y="838" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from wait event to choice" value="null" />
-<P1  x="464" y="517" id="668" />
-<P2  x="464" y="572" id="606" />
+<infoparam name="connector from send event to stop state" value="null" />
+<P1  x="722" y="838" id="879" />
+<P2  x="722" y="860" id="826" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1206" >
-<cdparam x="329" y="579" />
+<cdparam x="800" y="1111" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to stop state" value="null" />
-<P1  x="329" y="579" id="616" />
-<P2  x="329" y="609" id="689" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="800" y="1111" id="729" />
+<P2  x="800" y="1136" id="881" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1207" >
-<cdparam x="126" y="574" />
+<cdparam x="798" y="1166" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to stop state" value="null" />
-<P1  x="148" y="574" id="639" />
-<P2  x="148" y="610" id="641" />
+<infoparam name="connector from send event to action state" value="null" />
+<P1  x="800" y="1166" id="882" />
+<P2  x="800" y="1188" id="765" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1208" >
-<cdparam x="414" y="207" />
+<cdparam x="943" y="1148" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to select" value="null" />
-<P1  x="414" y="207" id="600" />
-<P2  x="464" y="257" id="676" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="943" y="1148" id="774" />
+<P2  x="943" y="1173" id="884" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1209" >
-<cdparam x="230" y="833" />
+<cdparam x="950" y="1201" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from read channel to execI" value="null" />
-<P1  x="230" y="833" id="714" />
-<P2  x="230" y="858" id="580" />
+<infoparam name="connector from send event to action state" value="null" />
+<P1  x="943" y="1203" id="885" />
+<P2  x="943" y="1229" id="793" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1210" >
-<cdparam x="716" y="749" />
+<cdparam x="1049" y="1180" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to choice" value="null" />
-<P1  x="968" y="795" id="567" />
-<P2  x="843" y="859" id="550" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="1049" y="1180" id="799" />
+<P2  x="1049" y="1206" id="887" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1211" >
-<cdparam x="720" y="1074" />
+<cdparam x="1049" y="1223" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to stop state" value="null" />
-<P1  x="728" y="990" id="763" />
-<P2  x="728" y="1027" id="765" />
+<infoparam name="connector from send event to action state" value="null" />
+<P1  x="1049" y="1236" id="888" />
+<P2  x="1049" y="1261" id="818" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1212" >
-<cdparam x="733" y="899" />
+<cdparam x="883" y="884" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to action state" value="null" />
-<P1  x="803" y="884" id="551" />
-<P2  x="728" y="960" id="762" />
+<infoparam name="connector from choice to stop state" value="null" />
+<P1  x="883" y="884" id="513" />
+<P2  x="883" y="917" id="892" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1213" >
-<cdparam x="800" y="938" />
+<cdparam x="612" y="727" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to execI" value="null" />
-<P1  x="843" y="924" id="553" />
-<P2  x="800" y="1004" id="544" />
+<infoparam name="connector from choice to stop state" value="null" />
+<P1  x="612" y="727" id="485" />
+<P2  x="612" y="757" id="890" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1214" >
-<cdparam x="800" y="1057" />
+<cdparam x="532" y="727" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to write channel" value="null" />
-<P1  x="800" y="1044" id="545" />
-<P2  x="800" y="1081" id="767" />
+<infoparam name="connector from choice to action state" value="null" />
+<P1  x="532" y="727" id="484" />
+<P2  x="496" y="763" id="768" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1215" >
-<cdparam x="132" y="886" />
+<cdparam x="799" y="1218" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to write channel" value="null" />
-<P1  x="132" y="886" id="894" />
-<P2  x="132" y="933" id="729" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="800" y="1218" id="766" />
+<P2  x="800" y="1265" id="704" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1216" >
-<cdparam x="943" y="1061" />
+<cdparam x="1009" y="954" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to write channel" value="null" />
-<P1  x="943" y="1060" id="533" />
-<P2  x="943" y="1118" id="812" />
+<infoparam name="connector from choice to execI" value="null" />
+<P1  x="1009" y="954" id="500" />
+<P2  x="943" y="1020" id="493" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1217" >
-<cdparam x="1049" y="1093" />
+<cdparam x="229" y="1194" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to write channel" value="null" />
-<P1  x="1049" y="1092" id="585" />
-<P2  x="1049" y="1150" id="837" />
+<infoparam name="connector from write channel to stop state" value="null" />
+<P1  x="230" y="1194" id="840" />
+<P2  x="230" y="1232" id="680" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1218" >
-<cdparam x="1049" y="994" />
+<cdparam x="346" y="1198" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to execI" value="null" />
-<P1  x="1049" y="994" id="541" />
-<P2  x="1049" y="1052" id="584" />
+<infoparam name="connector from write channel to stop state" value="null" />
+<P1  x="346" y="1198" id="846" />
+<P2  x="346" y="1224" id="696" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1219" >
-<cdparam x="696" y="742" />
+<cdparam x="438" y="1184" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to write channel" value="null" />
-<P1  x="722" y="729" id="529" />
-<P2  x="722" y="753" id="862" />
+<infoparam name="connector from write channel to stop state" value="null" />
+<P1  x="464" y="1184" id="852" />
+<P2  x="464" y="1208" id="685" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1220" >
-<cdparam x="132" y="1125" />
+<cdparam x="496" y="793" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send request to write channel" value="null" />
-<P1  x="132" y="1125" id="868" />
-<P2  x="132" y="1162" id="870" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="496" y="793" id="769" />
+<P2  x="496" y="825" id="771" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1221" >
-<cdparam x="132" y="1192" />
+<cdparam x="943" y="1259" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to stop state" value="null" />
-<P1  x="132" y="1192" id="871" />
-<P2  x="132" y="1231" id="873" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="943" y="1259" id="794" />
+<P2  x="943" y="1306" id="796" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1222" >
-<cdparam x="132" y="1066" />
+<cdparam x="1008" y="736" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to send request" value="null" />
-<P1  x="132" y="1066" id="727" />
-<P2  x="132" y="1095" id="867" />
+<infoparam name="connector from execI to choice" value="null" />
+<P1  x="1008" y="736" id="534" />
+<P2  x="1008" y="770" id="527" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1223" >
-<cdparam x="229" y="1127" />
+<cdparam x="1008" y="835" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send request to write channel" value="null" />
-<P1  x="230" y="1127" id="876" />
-<P2  x="230" y="1164" id="878" />
+<infoparam name="connector from choice to choice" value="null" />
+<P1  x="1008" y="835" id="530" />
+<P2  x="1049" y="929" id="499" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1224" >
-<cdparam x="346" y="1131" />
+<cdparam x="1049" y="1291" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send request to write channel" value="null" />
-<P1  x="346" y="1131" id="882" />
-<P2  x="346" y="1168" id="884" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="1049" y="1291" id="819" />
+<P2  x="1049" y="1336" id="821" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1225" >
-<cdparam x="346" y="1051" />
+<cdparam x="1208" y="1152" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to send request" value="null" />
-<P1  x="346" y="1051" id="733" />
-<P2  x="346" y="1101" id="881" />
+<infoparam name="connector from execI to write channel" value="null" />
+<P1  x="1208" y="1142" id="478" />
+<P2  x="1208" y="1209" id="894" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1226" >
-<cdparam x="437" y="1118" />
+<cdparam x="1208" y="1239" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send request to write channel" value="null" />
-<P1  x="464" y="1115" id="888" />
-<P2  x="464" y="1154" id="890" />
+<infoparam name="connector from write channel to action state" value="null" />
+<P1  x="1208" y="1239" id="895" />
+<P2  x="1208" y="1290" id="914" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1227" >
-<cdparam x="438" y="1057" />
+<cdparam x="1208" y="1320" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to send request" value="null" />
-<P1  x="464" y="1057" id="722" />
-<P2  x="464" y="1085" id="887" />
+<infoparam name="connector from action state to send event" value="null" />
+<P1  x="1208" y="1320" id="915" />
+<P2  x="1208" y="1346" id="922" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1228" >
-<cdparam x="132" y="808" />
+<cdparam x="1206" y="1385" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to action state" value="null" />
-<P1  x="132" y="829" id="561" />
-<P2  x="132" y="856" id="893" />
+<infoparam name="connector from send event to action state" value="null" />
+<P1  x="1208" y="1376" id="923" />
+<P2  x="1208" y="1397" id="919" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1229" >
-<cdparam x="230" y="898" />
+<cdparam x="1206" y="1088" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to action state" value="null" />
-<P1  x="230" y="898" id="581" />
-<P2  x="230" y="935" id="896" />
+<infoparam name="connector from choice to execI" value="null" />
+<P1  x="1208" y="1075" id="474" />
+<P2  x="1208" y="1102" id="477" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1230" >
-<cdparam x="230" y="965" />
+<cdparam x="1248" y="1035" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to write channel" value="null" />
-<P1  x="230" y="965" id="897" />
-<P2  x="230" y="997" id="716" />
+<infoparam name="connector from choice to stop state" value="null" />
+<P1  x="1248" y="1035" id="473" />
+<P2  x="1287" y="1065" id="925" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1231" >
-<cdparam x="346" y="799" />
+<cdparam x="1207" y="1427" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to action state" value="null" />
-<P1  x="346" y="799" id="557" />
-<P2  x="346" y="826" id="902" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="1208" y="1427" id="920" />
+<P2  x="1208" y="1466" id="917" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1232" >
-<cdparam x="346" y="856" />
+<cdparam x="1553" y="1019" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to write channel" value="null" />
-<P1  x="346" y="856" id="903" />
-<P2  x="346" y="895" id="740" />
+<infoparam name="connector from choice to execI" value="null" />
+<P1  x="1567" y="1021" id="444" />
+<P2  x="1529" y="1059" id="437" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1233" >
-<cdparam x="439" y="818" />
+<cdparam x="1529" y="1324" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to action state" value="null" />
-<P1  x="464" y="818" id="577" />
-<P2  x="464" y="860" id="899" />
+<infoparam name="connector from execI to write channel" value="null" />
+<P1  x="1529" y="1289" id="434" />
+<P2  x="1529" y="1343" id="932" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1234" >
-<cdparam x="439" y="890" />
+<cdparam x="1684" y="929" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to write channel" value="null" />
-<P1  x="464" y="890" id="900" />
-<P2  x="464" y="936" id="737" />
+<infoparam name="connector from choice to send event" value="null" />
+<P1  x="1728" y="930" id="454" />
+<P2  x="1728" y="1021" id="935" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1235" >
-<cdparam x="132" y="963" />
+<cdparam x="1615" y="1283" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to send event" value="null" />
-<P1  x="132" y="963" id="730" />
-<P2  x="132" y="981" id="914" />
+<infoparam name="connector from execI to write channel" value="null" />
+<P1  x="1641" y="1270" id="458" />
+<P2  x="1641" y="1294" id="972" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1236" >
-<cdparam x="132" y="1011" />
+<cdparam x="1641" y="1324" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to action state" value="null" />
-<P1  x="132" y="1011" id="915" />
-<P2  x="132" y="1036" id="726" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="1641" y="1324" id="973" />
+<P2  x="1641" y="1343" id="1014" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1237" >
-<cdparam x="230" y="1027" />
+<cdparam x="1529" y="1373" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from write channel to send event" value="null" />
-<P1  x="230" y="1027" id="717" />
-<P2  x="230" y="1047" id="905" />
+<P1  x="1529" y="1373" id="933" />
+<P2  x="1529" y="1400" id="1011" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1238" >
-<cdparam x="228" y="1088" />
+<cdparam x="1529" y="1422" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to send request" value="null" />
-<P1  x="230" y="1077" id="906" />
-<P2  x="230" y="1097" id="875" />
+<infoparam name="connector from send event to stop state" value="null" />
+<P1  x="1529" y="1430" id="1012" />
+<P2  x="1529" y="1452" id="927" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1239" >
-<cdparam x="346" y="925" />
+<cdparam x="1642" y="1373" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to send event" value="null" />
-<P1  x="346" y="925" id="741" />
-<P2  x="346" y="957" id="908" />
+<infoparam name="connector from send event to write channel" value="null" />
+<P1  x="1641" y="1373" id="1015" />
+<P2  x="1641" y="1399" id="1017" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1240" >
-<cdparam x="348" y="987" />
+<cdparam x="1956" y="1361" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to action state" value="null" />
-<P1  x="346" y="987" id="909" />
-<P2  x="346" y="1021" id="732" />
+<infoparam name="connector from choice to action state" value="null" />
+<P1  x="1956" y="1361" id="412" />
+<P2  x="1920" y="1406" id="1027" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1241" >
-<cdparam x="439" y="966" />
+<cdparam x="2100" y="1490" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to send event" value="null" />
-<P1  x="464" y="966" id="738" />
-<P2  x="464" y="978" id="911" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="2101" y="1491" id="1035" />
+<P2  x="2101" y="1532" id="1037" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1242" >
-<cdparam x="438" y="1008" />
+<cdparam x="1996" y="1401" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to action state" value="null" />
-<P1  x="464" y="1008" id="912" />
-<P2  x="464" y="1027" id="721" />
+<infoparam name="connector from choice to action state" value="null" />
+<P1  x="1996" y="1401" id="414" />
+<P2  x="1996" y="1429" id="1042" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1243" >
-<cdparam x="722" y="783" />
+<cdparam x="1996" y="1459" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to send event" value="null" />
-<P1  x="722" y="783" id="863" />
-<P2  x="722" y="808" id="917" />
+<infoparam name="connector from action state to action state" value="null" />
+<P1  x="1996" y="1459" id="1043" />
+<P2  x="1996" y="1488" id="1039" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1244" >
-<cdparam x="722" y="838" />
+<cdparam x="2021" y="1038" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to stop state" value="null" />
-<P1  x="722" y="838" id="918" />
-<P2  x="722" y="860" id="865" />
+<infoparam name="connector from choice to execI" value="null" />
+<P1  x="2237" y="966" id="404" />
+<P2  x="2237" y="1054" id="461" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1245" >
-<cdparam x="800" y="1111" />
+<cdparam x="2217" y="1323" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to send event" value="null" />
-<P1  x="800" y="1111" id="768" />
-<P2  x="800" y="1136" id="920" />
+<infoparam name="connector from send request to write channel" value="null" />
+<P1  x="2237" y="1323" id="1085" />
+<P2  x="2237" y="1360" id="1087" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1246" >
-<cdparam x="798" y="1166" />
+<cdparam x="2218" y="1094" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to action state" value="null" />
-<P1  x="800" y="1166" id="921" />
-<P2  x="800" y="1188" id="804" />
+<infoparam name="connector from execI to action state" value="null" />
+<P1  x="2237" y="1094" id="462" />
+<P2  x="2237" y="1131" id="1090" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1247" >
-<cdparam x="943" y="1148" />
+<cdparam x="2218" y="1161" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to send event" value="null" />
-<P1  x="943" y="1148" id="813" />
-<P2  x="943" y="1173" id="923" />
+<infoparam name="connector from action state to write channel" value="null" />
+<P1  x="2237" y="1161" id="1091" />
+<P2  x="2237" y="1193" id="1079" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1248" >
-<cdparam x="950" y="1201" />
+<cdparam x="2218" y="1223" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to action state" value="null" />
-<P1  x="943" y="1203" id="924" />
-<P2  x="943" y="1229" id="832" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="2237" y="1223" id="1080" />
+<P2  x="2237" y="1243" id="1093" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1249" >
-<cdparam x="1049" y="1180" />
+<cdparam x="2216" y="1284" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to send event" value="null" />
-<P1  x="1049" y="1180" id="838" />
-<P2  x="1049" y="1206" id="926" />
+<infoparam name="connector from send event to send request" value="null" />
+<P1  x="2237" y="1273" id="1094" />
+<P2  x="2237" y="1293" id="1084" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1250" >
-<cdparam x="1049" y="1223" />
+<cdparam x="2217" y="1390" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to action state" value="null" />
-<P1  x="1049" y="1236" id="927" />
-<P2  x="1049" y="1261" id="857" />
+<infoparam name="connector from write channel to action state" value="null" />
+<P1  x="2237" y="1390" id="1088" />
+<P2  x="2237" y="1419" id="1096" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1251" >
-<cdparam x="883" y="884" />
+<cdparam x="2341" y="1060" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to stop state" value="null" />
-<P1  x="883" y="884" id="552" />
-<P2  x="883" y="917" id="931" />
+<infoparam name="connector from execI to write channel" value="null" />
+<P1  x="2317" y="1059" id="466" />
+<P2  x="2317" y="1117" id="1099" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1252" >
-<cdparam x="612" y="727" />
+<cdparam x="1529" y="1099" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to stop state" value="null" />
-<P1  x="612" y="727" id="524" />
-<P2  x="612" y="757" id="929" />
+<infoparam name="connector from execI to write channel" value="null" />
+<P1  x="1529" y="1099" id="438" />
+<P2  x="1529" y="1127" id="929" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1253" >
-<cdparam x="532" y="727" />
+<cdparam x="2101" y="1433" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to action state" value="null" />
-<P1  x="532" y="727" id="523" />
-<P2  x="496" y="763" id="807" />
+<P1  x="2101" y="1433" id="398" />
+<P2  x="2101" y="1461" id="1034" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1254" >
-<cdparam x="799" y="1218" />
+<cdparam x="2158" y="1460" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to stop state" value="null" />
-<P1  x="800" y="1218" id="805" />
-<P2  x="800" y="1265" id="743" />
+<infoparam name="connector from choice to stop state" value="null" />
+<P1  x="2141" y="1393" id="397" />
+<P2  x="2178" y="1416" id="1129" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1255" >
-<cdparam x="1009" y="954" />
+<cdparam x="1688" y="890" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to execI" value="null" />
-<P1  x="1009" y="954" id="539" />
-<P2  x="943" y="1020" id="532" />
+<infoparam name="connector from choice to choice" value="null" />
+<P1  x="1688" y="890" id="452" />
+<P2  x="1607" y="996" id="443" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1256" >
-<cdparam x="229" y="1194" />
+<cdparam x="1768" y="890" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to stop state" value="null" />
-<P1  x="230" y="1194" id="879" />
-<P2  x="230" y="1232" id="719" />
+<infoparam name="connector from choice to choice" value="null" />
+<P1  x="1768" y="890" id="453" />
+<P2  x="2277" y="941" id="403" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1257" >
-<cdparam x="346" y="1198" />
+<cdparam x="2317" y="966" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to stop state" value="null" />
-<P1  x="346" y="1198" id="885" />
-<P2  x="346" y="1224" id="735" />
+<infoparam name="connector from choice to execI" value="null" />
+<P1  x="2317" y="966" id="405" />
+<P2  x="2317" y="1019" id="465" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1258" >
-<cdparam x="438" y="1184" />
+<cdparam x="2341" y="1147" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to stop state" value="null" />
-<P1  x="464" y="1184" id="891" />
-<P2  x="464" y="1208" id="724" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="2317" y="1147" id="1100" />
+<P2  x="2317" y="1194" id="1124" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1259" >
-<cdparam x="496" y="793" />
+<cdparam x="2341" y="1224" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to stop state" value="null" />
-<P1  x="496" y="793" id="808" />
-<P2  x="496" y="825" id="810" />
+<infoparam name="connector from send event to send event" value="null" />
+<P1  x="2317" y="1224" id="1125" />
+<P2  x="2317" y="1262" id="1119" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1260" >
-<cdparam x="943" y="1259" />
+<cdparam x="1731" y="1051" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to stop state" value="null" />
-<P1  x="943" y="1259" id="833" />
-<P2  x="943" y="1306" id="835" />
+<infoparam name="connector from send event to choice" value="null" />
+<P1  x="1728" y="1051" id="936" />
+<P2  x="1728" y="1081" id="1136" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1261" >
-<cdparam x="1008" y="736" />
+<cdparam x="1647" y="1021" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to choice" value="null" />
-<P1  x="1008" y="736" id="573" />
-<P2  x="1008" y="770" id="566" />
+<infoparam name="connector from choice to stop state" value="null" />
+<P1  x="1647" y="1021" id="445" />
+<P2  x="1647" y="1052" id="1127" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1262" >
-<cdparam x="1008" y="835" />
+<cdparam x="1826" y="1324" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to choice" value="null" />
-<P1  x="1008" y="835" id="569" />
-<P2  x="1049" y="929" id="538" />
+<infoparam name="connector from choice to action state" value="null" />
+<P1  x="1826" y="1324" id="422" />
+<P2  x="1826" y="1344" id="1022" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1263" >
-<cdparam x="1049" y="1291" />
+<cdparam x="1826" y="1374" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from action state to stop state" value="null" />
-<P1  x="1049" y="1291" id="858" />
-<P2  x="1049" y="1336" id="860" />
+<P1  x="1826" y="1374" id="1023" />
+<P2  x="1826" y="1452" id="1025" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1264" >
-<cdparam x="1208" y="1152" />
+<cdparam x="1786" y="1284" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to write channel" value="null" />
-<P1  x="1208" y="1142" id="517" />
-<P2  x="1208" y="1209" id="933" />
+<infoparam name="connector from choice to stop state" value="null" />
+<P1  x="1786" y="1284" id="420" />
+<P2  x="1740" y="1330" id="1020" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1265" >
-<cdparam x="1208" y="1239" />
+<cdparam x="1920" y="1436" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to action state" value="null" />
-<P1  x="1208" y="1239" id="934" />
-<P2  x="1208" y="1290" id="953" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="1920" y="1436" id="1028" />
+<P2  x="1920" y="1476" id="1030" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1266" >
-<cdparam x="1208" y="1320" />
+<cdparam x="1996" y="1518" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to send event" value="null" />
-<P1  x="1208" y="1320" id="954" />
-<P2  x="1208" y="1346" id="961" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="1996" y="1518" id="1040" />
+<P2  x="1996" y="1538" id="1032" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1267" >
-<cdparam x="1206" y="1385" />
+<cdparam x="2036" y="1361" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to action state" value="null" />
-<P1  x="1208" y="1376" id="962" />
-<P2  x="1208" y="1397" id="958" />
+<infoparam name="connector from choice to choice" value="null" />
+<P1  x="2036" y="1361" id="413" />
+<P2  x="2101" y="1368" id="395" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1268" >
-<cdparam x="1206" y="1088" />
+<cdparam x="1866" y="1284" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to execI" value="null" />
-<P1  x="1208" y="1075" id="513" />
-<P2  x="1208" y="1102" id="516" />
+<infoparam name="connector from choice to choice" value="null" />
+<P1  x="1866" y="1284" id="421" />
+<P2  x="1996" y="1336" id="411" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1269" >
-<cdparam x="1248" y="1035" />
+<cdparam x="2341" y="1292" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to stop state" value="null" />
-<P1  x="1248" y="1035" id="512" />
-<P2  x="1287" y="1065" id="964" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="2317" y="1292" id="1120" />
+<P2  x="2317" y="1319" id="1122" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1270" >
-<cdparam x="1207" y="1427" />
+<cdparam x="2217" y="1449" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from action state to stop state" value="null" />
-<P1  x="1208" y="1427" id="959" />
-<P2  x="1208" y="1466" id="956" />
+<P1  x="2237" y="1449" id="1097" />
+<P2  x="2237" y="1478" id="1082" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1271" >
-<cdparam x="1553" y="1019" />
+<cdparam x="2277" y="1006" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to execI" value="null" />
-<P1  x="1567" y="1021" id="483" />
-<P2  x="1529" y="1059" id="476" />
+<infoparam name="connector from choice to stop state" value="null" />
+<P1  x="2277" y="1006" id="406" />
+<P2  x="2277" y="1034" id="1131" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1272" >
-<cdparam x="1529" y="1324" />
+<cdparam x="1642" y="1429" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to write channel" value="null" />
-<P1  x="1529" y="1289" id="473" />
-<P2  x="1529" y="1343" id="971" />
+<infoparam name="connector from write channel to stop state" value="null" />
+<P1  x="1641" y="1429" id="1018" />
+<P2  x="1641" y="1463" id="975" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1273" >
-<cdparam x="1684" y="929" />
+<cdparam x="1529" y="1157" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to send event" value="null" />
-<P1  x="1728" y="930" id="493" />
-<P2  x="1728" y="1021" id="974" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="1529" y="1157" id="930" />
+<P2  x="1529" y="1187" id="1133" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1274" >
-<cdparam x="1615" y="1283" />
+<cdparam x="1529" y="1217" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to write channel" value="null" />
-<P1  x="1641" y="1270" id="497" />
-<P2  x="1641" y="1294" id="1011" />
+<infoparam name="connector from send event to execI" value="null" />
+<P1  x="1529" y="1217" id="1134" />
+<P2  x="1529" y="1249" id="433" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1275" >
-<cdparam x="1641" y="1324" />
+<cdparam x="1691" y="1156" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to send event" value="null" />
-<P1  x="1641" y="1324" id="1012" />
-<P2  x="1641" y="1343" id="1053" />
+<infoparam name="connector from choice to execI" value="null" />
+<P1  x="1688" y="1156" id="428" />
+<P2  x="1641" y="1230" id="457" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1276" >
-<cdparam x="1529" y="1373" />
+<cdparam x="1771" y="1156" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to send event" value="null" />
-<P1  x="1529" y="1373" id="972" />
-<P2  x="1529" y="1400" id="1050" />
+<infoparam name="connector from choice to choice" value="null" />
+<P1  x="1768" y="1156" id="429" />
+<P2  x="1826" y="1259" id="419" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1277" >
-<cdparam x="1529" y="1422" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to stop state" value="null" />
-<P1  x="1529" y="1430" id="1051" />
-<P2  x="1529" y="1452" id="966" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1278" >
-<cdparam x="1642" y="1373" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to write channel" value="null" />
-<P1  x="1641" y="1373" id="1054" />
-<P2  x="1641" y="1399" id="1056" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1279" >
-<cdparam x="1956" y="1361" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to action state" value="null" />
-<P1  x="1956" y="1361" id="451" />
-<P2  x="1920" y="1406" id="1066" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1280" >
-<cdparam x="2100" y="1490" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to stop state" value="null" />
-<P1  x="2101" y="1491" id="1074" />
-<P2  x="2101" y="1532" id="1076" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1281" >
-<cdparam x="1996" y="1401" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to action state" value="null" />
-<P1  x="1996" y="1401" id="453" />
-<P2  x="1996" y="1429" id="1081" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1282" >
-<cdparam x="1996" y="1459" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to action state" value="null" />
-<P1  x="1996" y="1459" id="1082" />
-<P2  x="1996" y="1488" id="1078" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1283" >
-<cdparam x="2021" y="1038" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to execI" value="null" />
-<P1  x="2237" y="966" id="443" />
-<P2  x="2237" y="1054" id="500" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1284" >
-<cdparam x="2217" y="1323" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send request to write channel" value="null" />
-<P1  x="2237" y="1323" id="1124" />
-<P2  x="2237" y="1360" id="1126" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1285" >
-<cdparam x="2218" y="1094" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to action state" value="null" />
-<P1  x="2237" y="1094" id="501" />
-<P2  x="2237" y="1131" id="1129" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1286" >
-<cdparam x="2218" y="1161" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to write channel" value="null" />
-<P1  x="2237" y="1161" id="1130" />
-<P2  x="2237" y="1193" id="1118" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1287" >
-<cdparam x="2218" y="1223" />
+<cdparam x="1731" y="1111" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to send event" value="null" />
-<P1  x="2237" y="1223" id="1119" />
-<P2  x="2237" y="1243" id="1132" />
+<infoparam name="connector from read channel to choice" value="null" />
+<P1  x="1728" y="1111" id="1137" />
+<P2  x="1728" y="1131" id="427" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1288" >
-<cdparam x="2216" y="1284" />
+
+</TMLActivityDiagramPanel>
+
+<TMLActivityDiagramPanel name="SmartCard" minX="10" maxX="1400" minY="10" maxY="900" >
+<COMPONENT type="1000" id="1279" >
+<cdparam x="159" y="66" />
+<sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="start state" value="null" />
+<TGConnectingPoint num="0" id="1278" />
+</COMPONENT>
+
+<COMPONENT type="1010" id="1282" >
+<cdparam x="141" y="129" />
+<sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="wait event" value="reset() " />
+<TGConnectingPoint num="0" id="1280" />
+<TGConnectingPoint num="1" id="1281" />
+<extraparam>
+<Data eventName="reset" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1008" id="1285" >
+<cdparam x="113" y="182" />
+<sizeparam width="106" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send event" value="answerToReset()" />
+<TGConnectingPoint num="0" id="1283" />
+<TGConnectingPoint num="1" id="1284" />
+<extraparam>
+<Data eventName="answerToReset" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1010" id="1288" >
+<cdparam x="144" y="237" />
+<sizeparam width="44" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="wait event" value="pTS() " />
+<TGConnectingPoint num="0" id="1286" />
+<TGConnectingPoint num="1" id="1287" />
+<extraparam>
+<Data eventName="pTS" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1008" id="1291" >
+<cdparam x="124" y="308" />
+<sizeparam width="85" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send event" value="pTSConfirm()" />
+<TGConnectingPoint num="0" id="1289" />
+<TGConnectingPoint num="1" id="1290" />
+<extraparam>
+<Data eventName="pTSConfirm" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="301" id="1308" >
+<cdparam x="376" y="98" />
+<sizeparam width="233" height="39" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="UML Note" value="The first two layers of the OSI model 
+are used to communicate between 
+the smart card and the terminal
+" />
+<TGConnectingPoint num="0" id="1292" />
+<TGConnectingPoint num="1" id="1293" />
+<TGConnectingPoint num="2" id="1294" />
+<TGConnectingPoint num="3" id="1295" />
+<TGConnectingPoint num="4" id="1296" />
+<TGConnectingPoint num="5" id="1297" />
+<TGConnectingPoint num="6" id="1298" />
+<TGConnectingPoint num="7" id="1299" />
+<TGConnectingPoint num="8" id="1300" />
+<TGConnectingPoint num="9" id="1301" />
+<TGConnectingPoint num="10" id="1302" />
+<TGConnectingPoint num="11" id="1303" />
+<TGConnectingPoint num="12" id="1304" />
+<TGConnectingPoint num="13" id="1305" />
+<TGConnectingPoint num="14" id="1306" />
+<TGConnectingPoint num="15" id="1307" />
+<extraparam>
+<Line value="The first two layers of the OSI model " />
+<Line value="are used to communicate between " />
+<Line value="the smart card and the terminal" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1007" id="1311" >
+<cdparam x="254" y="97" />
+<sizeparam width="89" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send request" value="start_TCP_IP()" />
+<TGConnectingPoint num="0" id="1309" />
+<TGConnectingPoint num="1" id="1310" />
+<extraparam>
+<Data requestName="start_TCP_IP" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1007" id="1314" >
+<cdparam x="241" y="148" />
+<sizeparam width="114" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send request" value="start_Application()" />
+<TGConnectingPoint num="0" id="1312" />
+<TGConnectingPoint num="1" id="1313" />
+<extraparam>
+<Data requestName="start_Application" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1001" id="1316" >
+<cdparam x="515" y="428" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="1315" />
+</COMPONENT>
+
+<COMPONENT type="1008" id="1319" >
+<cdparam x="309" y="350" />
+<sizeparam width="106" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send event" value="data_Ready_SC()" />
+<TGConnectingPoint num="0" id="1317" />
+<TGConnectingPoint num="1" id="1318" />
+<extraparam>
+<Data eventName="data_Ready_SC" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1001" id="1321" >
+<cdparam x="352" y="426" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="1320" />
+</COMPONENT>
+
+<COMPONENT type="1009" id="1324" >
+<cdparam x="321" y="308" />
+<sizeparam width="83" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="read channel" value="fromTtoP(1) " />
+<TGConnectingPoint num="0" id="1322" />
+<TGConnectingPoint num="1" id="1323" />
+<extraparam>
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1010" id="1327" >
+<cdparam x="337" y="264" />
+<sizeparam width="50" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="wait event" value="send() " />
+<TGConnectingPoint num="0" id="1325" />
+<TGConnectingPoint num="1" id="1326" />
+<extraparam>
+<Data eventName="send" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1006" id="1330" >
+<cdparam x="319" y="392" />
+<sizeparam width="87" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="write channel" value="fromSCtoD(1)" />
+<TGConnectingPoint num="0" id="1328" />
+<TGConnectingPoint num="1" id="1329" />
+<extraparam>
+<Data channelName="fromSCtoD" nbOfSamples="1" secPattern="" isAttacker="No" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1008" id="1333" >
+<cdparam x="496" y="350" />
+<sizeparam width="59" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send event" value="receive()" />
+<TGConnectingPoint num="0" id="1331" />
+<TGConnectingPoint num="1" id="1332" />
+<extraparam>
+<Data eventName="receive" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1009" id="1336" >
+<cdparam x="480" y="311" />
+<sizeparam width="91" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="read channel" value="fromDtoSC(1) " />
+<TGConnectingPoint num="0" id="1334" />
+<TGConnectingPoint num="1" id="1335" />
+<extraparam>
+<Data channelName="fromDtoSC" nbOfSamples="1" secPattern="" isAttacker="No" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1006" id="1339" >
+<cdparam x="486" y="387" />
+<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="write channel" value="fromPtoT(1)" />
+<TGConnectingPoint num="0" id="1337" />
+<TGConnectingPoint num="1" id="1338" />
+<extraparam>
+<Data channelName="fromPtoT" nbOfSamples="1" secPattern="" isAttacker="No" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1010" id="1342" >
+<cdparam x="470" y="268" />
+<sizeparam width="110" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="wait event" value="data_Ready(t, b) " />
+<TGConnectingPoint num="0" id="1340" />
+<TGConnectingPoint num="1" id="1341" />
+<breakpoint />
+<extraparam>
+<Data eventName="data_Ready" nbOfParams="5" />
+<Param index="0" value="t" />
+<Param index="1" value="b" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1014" id="1346" >
+<cdparam x="236" y="202" />
+<sizeparam width="125" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="for loop" value="for(j=0;x==0;j = j)" />
+<TGConnectingPoint num="0" id="1343" />
+<TGConnectingPoint num="1" id="1344" />
+<TGConnectingPoint num="2" id="1345" />
+<extraparam>
+<Data init="j=0" condition="x==0" increment="j = j" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1001" id="1348" >
+<cdparam x="297" y="231" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="1347" />
+</COMPONENT>
+
+<COMPONENT type="1018" id="1359" >
+<cdparam x="424" y="226" />
+<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="select" value="null" />
+<TGConnectingPoint num="0" id="1349" />
+<TGConnectingPoint num="1" id="1350" />
+<TGConnectingPoint num="2" id="1351" />
+<TGConnectingPoint num="3" id="1352" />
+<TGConnectingPoint num="4" id="1353" />
+<TGConnectingPoint num="5" id="1354" />
+<TGConnectingPoint num="6" id="1355" />
+<TGConnectingPoint num="7" id="1356" />
+<TGConnectingPoint num="8" id="1357" />
+<TGConnectingPoint num="9" id="1358" />
+</COMPONENT>
+
+<CONNECTOR type="115" id="1364" >
+<cdparam x="111" y="331" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from send event to send request" value="null" />
-<P1  x="2237" y="1273" id="1133" />
-<P2  x="2237" y="1293" id="1123" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1289" >
-<cdparam x="2217" y="1390" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to action state" value="null" />
-<P1  x="2237" y="1390" id="1127" />
-<P2  x="2237" y="1419" id="1135" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1290" >
-<cdparam x="2341" y="1060" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to write channel" value="null" />
-<P1  x="2317" y="1059" id="505" />
-<P2  x="2317" y="1117" id="1138" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1291" >
-<cdparam x="1529" y="1099" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to write channel" value="null" />
-<P1  x="1529" y="1099" id="477" />
-<P2  x="1529" y="1127" id="968" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1292" >
-<cdparam x="2101" y="1433" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to action state" value="null" />
-<P1  x="2101" y="1433" id="437" />
-<P2  x="2101" y="1461" id="1073" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1293" >
-<cdparam x="2158" y="1460" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to stop state" value="null" />
-<P1  x="2141" y="1393" id="436" />
-<P2  x="2178" y="1416" id="1168" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1294" >
-<cdparam x="1688" y="890" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to choice" value="null" />
-<P1  x="1688" y="890" id="491" />
-<P2  x="1607" y="996" id="482" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1295" >
-<cdparam x="1768" y="890" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to choice" value="null" />
-<P1  x="1768" y="890" id="492" />
-<P2  x="2277" y="941" id="442" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1296" >
-<cdparam x="2317" y="966" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to execI" value="null" />
-<P1  x="2317" y="966" id="444" />
-<P2  x="2317" y="1019" id="504" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1297" >
-<cdparam x="2341" y="1147" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to send event" value="null" />
-<P1  x="2317" y="1147" id="1139" />
-<P2  x="2317" y="1194" id="1163" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1298" >
-<cdparam x="2341" y="1224" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to send event" value="null" />
-<P1  x="2317" y="1224" id="1164" />
-<P2  x="2317" y="1262" id="1158" />
+<P1  x="166" y="333" id="1290" />
+<P2  x="298" y="92" id="1309" />
+<Point x="166" y="353" />
+<Point x="225" y="353" />
+<Point x="225" y="72" />
+<Point x="278" y="72" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1299" >
-<cdparam x="1731" y="1051" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="1360" >
+<father id="1364" num="0" />
+<cdparam x="166" y="353" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="1361" >
+<father id="1364" num="1" />
+<cdparam x="225" y="353" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="1362" >
+<father id="1364" num="2" />
+<cdparam x="225" y="72" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="1363" >
+<father id="1364" num="3" />
+<cdparam x="278" y="72" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+
+<CONNECTOR type="115" id="1365" >
+<cdparam x="166" y="64" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to choice" value="null" />
-<P1  x="1728" y="1051" id="975" />
-<P2  x="1728" y="1081" id="1175" />
+<infoparam name="connector from start state to wait event" value="null" />
+<P1  x="166" y="86" id="1278" />
+<P2  x="166" y="124" id="1280" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1300" >
-<cdparam x="1647" y="1021" />
+<CONNECTOR type="115" id="1366" >
+<cdparam x="166" y="154" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to stop state" value="null" />
-<P1  x="1647" y="1021" id="484" />
-<P2  x="1647" y="1052" id="1166" />
+<infoparam name="connector from wait event to send event" value="null" />
+<P1  x="166" y="154" id="1281" />
+<P2  x="166" y="177" id="1283" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1301" >
-<cdparam x="1826" y="1324" />
+<CONNECTOR type="115" id="1367" >
+<cdparam x="312" y="133" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to action state" value="null" />
-<P1  x="1826" y="1324" id="461" />
-<P2  x="1826" y="1344" id="1061" />
+<infoparam name="connector from send request to send request" value="null" />
+<P1  x="298" y="122" id="1310" />
+<P2  x="298" y="143" id="1312" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1302" >
-<cdparam x="1826" y="1374" />
+<CONNECTOR type="115" id="1368" >
+<cdparam x="355" y="300" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to stop state" value="null" />
-<P1  x="1826" y="1374" id="1062" />
-<P2  x="1826" y="1452" id="1064" />
+<infoparam name="connector from wait event to read channel" value="null" />
+<P1  x="362" y="289" id="1326" />
+<P2  x="362" y="303" id="1322" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1303" >
-<cdparam x="1786" y="1284" />
+<CONNECTOR type="115" id="1369" >
+<cdparam x="355" y="365" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to stop state" value="null" />
-<P1  x="1786" y="1284" id="459" />
-<P2  x="1740" y="1330" id="1059" />
+<infoparam name="connector from read channel to send event" value="null" />
+<P1  x="362" y="333" id="1323" />
+<P2  x="362" y="345" id="1317" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1304" >
-<cdparam x="1920" y="1436" />
+<CONNECTOR type="115" id="1370" >
+<cdparam x="355" y="417" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to stop state" value="null" />
-<P1  x="1920" y="1436" id="1067" />
-<P2  x="1920" y="1476" id="1069" />
+<infoparam name="connector from send event to write channel" value="null" />
+<P1  x="362" y="375" id="1318" />
+<P2  x="362" y="387" id="1328" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1305" >
-<cdparam x="1996" y="1518" />
+<CONNECTOR type="115" id="1371" >
+<cdparam x="355" y="473" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to stop state" value="null" />
-<P1  x="1996" y="1518" id="1079" />
-<P2  x="1996" y="1538" id="1071" />
+<infoparam name="connector from write channel to stop state" value="null" />
+<P1  x="362" y="417" id="1329" />
+<P2  x="362" y="421" id="1320" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1306" >
-<cdparam x="2036" y="1361" />
+<CONNECTOR type="115" id="1372" >
+<cdparam x="541" y="358" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to choice" value="null" />
-<P1  x="2036" y="1361" id="452" />
-<P2  x="2101" y="1368" id="434" />
+<infoparam name="connector from read channel to send event" value="null" />
+<P1  x="525" y="336" id="1335" />
+<P2  x="525" y="345" id="1331" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1307" >
-<cdparam x="1866" y="1284" />
+<CONNECTOR type="115" id="1373" >
+<cdparam x="540" y="402" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to choice" value="null" />
-<P1  x="1866" y="1284" id="460" />
-<P2  x="1996" y="1336" id="450" />
+<infoparam name="connector from send event to write channel" value="null" />
+<P1  x="525" y="375" id="1332" />
+<P2  x="525" y="382" id="1337" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1308" >
-<cdparam x="2341" y="1292" />
+<CONNECTOR type="115" id="1374" >
+<cdparam x="543" y="305" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to stop state" value="null" />
-<P1  x="2317" y="1292" id="1159" />
-<P2  x="2317" y="1319" id="1161" />
+<infoparam name="connector from wait event to read channel" value="null" />
+<P1  x="525" y="293" id="1341" />
+<P2  x="525" y="306" id="1334" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1309" >
-<cdparam x="2217" y="1449" />
+<CONNECTOR type="115" id="1375" >
+<cdparam x="540" y="464" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to stop state" value="null" />
-<P1  x="2237" y="1449" id="1136" />
-<P2  x="2237" y="1478" id="1121" />
+<infoparam name="connector from write channel to stop state" value="null" />
+<P1  x="525" y="412" id="1338" />
+<P2  x="525" y="423" id="1315" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1310" >
-<cdparam x="2277" y="1006" />
+<CONNECTOR type="115" id="1376" >
+<cdparam x="298" y="173" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to stop state" value="null" />
-<P1  x="2277" y="1006" id="445" />
-<P2  x="2277" y="1034" id="1170" />
+<infoparam name="connector from send request to for loop" value="null" />
+<P1  x="298" y="173" id="1313" />
+<P2  x="298" y="197" id="1343" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1311" >
-<cdparam x="1642" y="1429" />
+<CONNECTOR type="115" id="1377" >
+<cdparam x="328" y="232" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to stop state" value="null" />
-<P1  x="1641" y="1429" id="1057" />
-<P2  x="1641" y="1463" id="1014" />
+<infoparam name="connector from for loop to stop state" value="null" />
+<P1  x="298" y="227" id="1345" />
+<P2  x="307" y="226" id="1347" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1312" >
-<cdparam x="1529" y="1157" />
+<CONNECTOR type="115" id="1378" >
+<cdparam x="395" y="283" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to send event" value="null" />
-<P1  x="1529" y="1157" id="969" />
-<P2  x="1529" y="1187" id="1172" />
+<infoparam name="connector from select to wait event" value="null" />
+<P1  x="399" y="241" id="1350" />
+<P2  x="362" y="259" id="1325" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1313" >
-<cdparam x="1529" y="1217" />
+<CONNECTOR type="115" id="1379" >
+<cdparam x="543" y="341" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to execI" value="null" />
-<P1  x="1529" y="1217" id="1173" />
-<P2  x="1529" y="1249" id="472" />
+<infoparam name="connector from select to wait event" value="null" />
+<P1  x="479" y="241" id="1351" />
+<P2  x="525" y="263" id="1340" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1314" >
-<cdparam x="1691" y="1156" />
+<CONNECTOR type="115" id="1380" >
+<cdparam x="391" y="282" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to execI" value="null" />
-<P1  x="1688" y="1156" id="467" />
-<P2  x="1641" y="1230" id="496" />
+<infoparam name="connector from for loop to select" value="null" />
+<P1  x="361" y="216" id="1344" />
+<P2  x="439" y="216" id="1349" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1315" >
-<cdparam x="1771" y="1156" />
+<CONNECTOR type="115" id="1381" >
+<cdparam x="164" y="262" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to choice" value="null" />
-<P1  x="1768" y="1156" id="468" />
-<P2  x="1826" y="1259" id="458" />
+<infoparam name="connector from wait event to send event" value="null" />
+<P1  x="166" y="262" id="1287" />
+<P2  x="166" y="303" id="1289" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1316" >
-<cdparam x="1731" y="1111" />
+<CONNECTOR type="115" id="1382" >
+<cdparam x="166" y="207" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from read channel to choice" value="null" />
-<P1  x="1728" y="1111" id="1176" />
-<P2  x="1728" y="1131" id="466" />
+<infoparam name="connector from send event to wait event" value="null" />
+<P1  x="166" y="207" id="1284" />
+<P2  x="166" y="232" id="1286" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 
 </TMLActivityDiagramPanel>
 
-<TMLActivityDiagramPanel name="Timer" minX="10" maxX="1400" minY="10" maxY="900" >
-<COMPONENT type="1012" id="1324" >
-<cdparam x="509" y="222" />
+<TMLActivityDiagramPanel name="InterfaceDevice" minX="10" maxX="1400" minY="10" maxY="900" >
+<COMPONENT type="1012" id="235" >
+<cdparam x="546" y="376" />
+<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="231" />
+<TGConnectingPoint num="1" id="232" />
+<TGConnectingPoint num="2" id="233" />
+<TGConnectingPoint num="3" id="234" />
+</COMPONENT>
+<SUBCOMPONENT type="-1" id="228" >
+<father id="235" num="0" />
+<cdparam x="521" y="386" />
+<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
+<infoparam name="guard 1" value="[ ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="229" >
+<father id="235" num="1" />
+<cdparam x="581" y="386" />
+<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="230" >
+<father id="235" num="2" />
+<cdparam x="566" y="421" />
+<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
+<infoparam name="guard 3" value="[ ]" />
+</SUBCOMPONENT>
+
+<COMPONENT type="1012" id="243" >
+<cdparam x="644" y="517" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="1320" />
-<TGConnectingPoint num="1" id="1321" />
-<TGConnectingPoint num="2" id="1322" />
-<TGConnectingPoint num="3" id="1323" />
+<TGConnectingPoint num="0" id="239" />
+<TGConnectingPoint num="1" id="240" />
+<TGConnectingPoint num="2" id="241" />
+<TGConnectingPoint num="3" id="242" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1317" >
-<father id="1324" num="0" />
-<cdparam x="464" y="232" />
+<SUBCOMPONENT type="-1" id="236" >
+<father id="243" num="0" />
+<cdparam x="599" y="527" />
 <sizeparam width="51" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ x==0 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1318" >
-<father id="1324" num="1" />
-<cdparam x="544" y="234" />
-<sizeparam width="41" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="237" >
+<father id="243" num="1" />
+<cdparam x="679" y="527" />
+<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ x&gt;0 ]" />
+<infoparam name="guard 2" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1319" >
-<father id="1324" num="2" />
-<cdparam x="529" y="267" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="238" >
+<father id="243" num="2" />
+<cdparam x="664" y="562" />
+<sizeparam width="41" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ ]" />
+<infoparam name="guard 3" value="[ x&gt;0 ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1000" id="1326" >
-<cdparam x="517" y="87" />
+<COMPONENT type="1000" id="245" >
+<cdparam x="222" y="58" />
 <sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="1325" />
+<TGConnectingPoint num="0" id="244" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1328" >
-<cdparam x="417" y="367" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1007" id="248" >
+<cdparam x="192" y="137" />
+<sizeparam width="72" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1327" />
+<infoparam name="send request" value="activation()" />
+<TGConnectingPoint num="0" id="246" />
+<TGConnectingPoint num="1" id="247" />
+<extraparam>
+<Data requestName="activation" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1331" >
-<cdparam x="396" y="299" />
-<sizeparam width="63" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="251" >
+<cdparam x="205" y="237" />
+<sizeparam width="47" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="timeOut()" />
-<TGConnectingPoint num="0" id="1329" />
-<TGConnectingPoint num="1" id="1330" />
+<infoparam name="send event" value="reset()" />
+<TGConnectingPoint num="0" id="249" />
+<TGConnectingPoint num="1" id="250" />
+<latencyCheck />
 <extraparam>
-<Data eventName="timeOut" nbOfParams="5" />
+<Data eventName="reset" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="1334" >
-<cdparam x="599" y="300" />
-<sizeparam width="47" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1010" id="254" >
+<cdparam x="173" y="288" />
+<sizeparam width="110" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="stop() " />
-<TGConnectingPoint num="0" id="1332" />
-<TGConnectingPoint num="1" id="1333" />
+<infoparam name="wait event" value="answerToReset() " />
+<TGConnectingPoint num="0" id="252" />
+<TGConnectingPoint num="1" id="253" />
 <extraparam>
-<Data eventName="stop" nbOfParams="5" />
+<Data eventName="answerToReset" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1336" >
-<cdparam x="612" y="365" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="257" >
+<cdparam x="208" y="337" />
+<sizeparam width="40" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1335" />
+<infoparam name="send event" value="pTS()" />
+<TGConnectingPoint num="0" id="255" />
+<TGConnectingPoint num="1" id="256" />
+<extraparam>
+<Data eventName="pTS" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
 
-<COMPONENT type="1017" id="1339" >
-<cdparam x="489" y="150" />
-<sizeparam width="70" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1010" id="260" >
+<cdparam x="359" y="165" />
+<sizeparam width="89" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="notified event" value="x=?stop()" />
-<TGConnectingPoint num="0" id="1337" />
-<TGConnectingPoint num="1" id="1338" />
+<infoparam name="wait event" value="pTSConfirm() " />
+<TGConnectingPoint num="0" id="258" />
+<TGConnectingPoint num="1" id="259" />
+<latencyCheck />
+<breakpoint />
 <extraparam>
-<Data eventName="stop" variable="x" />
+<Data eventName="pTSConfirm" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<CONNECTOR type="115" id="1340" >
-<cdparam x="427" y="324" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to stop state" value="null" />
-<P1  x="427" y="324" id="1330" />
-<P2  x="427" y="362" id="1327" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1341" >
-<cdparam x="622" y="325" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from wait event to stop state" value="null" />
-<P1  x="622" y="325" id="1333" />
-<P2  x="622" y="360" id="1335" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1342" >
-<cdparam x="524" y="107" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from start state to notified event" value="null" />
-<P1  x="524" y="107" id="1325" />
-<P2  x="524" y="145" id="1337" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1343" >
-<cdparam x="524" y="175" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from notified event to choice" value="null" />
-<P1  x="524" y="175" id="1338" />
-<P2  x="524" y="212" id="1320" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1344" >
-<cdparam x="484" y="237" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to send event" value="null" />
-<P1  x="484" y="237" id="1321" />
-<P2  x="427" y="294" id="1329" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1345" >
-<cdparam x="564" y="237" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to wait event" value="null" />
-<P1  x="564" y="237" id="1322" />
-<P2  x="622" y="295" id="1332" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-
-</TMLActivityDiagramPanel>
-
-<TMLActivityDiagramPanel name="Application" minX="10" maxX="1400" minY="10" maxY="900" >
-<COMPONENT type="1012" id="1353" >
-<cdparam x="491" y="277" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="301" id="277" >
+<cdparam x="367" y="222" />
+<sizeparam width="105" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="1349" />
-<TGConnectingPoint num="1" id="1350" />
-<TGConnectingPoint num="2" id="1351" />
-<TGConnectingPoint num="3" id="1352" />
+<infoparam name="UML Note" value="data exchange
+" />
+<TGConnectingPoint num="0" id="261" />
+<TGConnectingPoint num="1" id="262" />
+<TGConnectingPoint num="2" id="263" />
+<TGConnectingPoint num="3" id="264" />
+<TGConnectingPoint num="4" id="265" />
+<TGConnectingPoint num="5" id="266" />
+<TGConnectingPoint num="6" id="267" />
+<TGConnectingPoint num="7" id="268" />
+<TGConnectingPoint num="8" id="269" />
+<TGConnectingPoint num="9" id="270" />
+<TGConnectingPoint num="10" id="271" />
+<TGConnectingPoint num="11" id="272" />
+<TGConnectingPoint num="12" id="273" />
+<TGConnectingPoint num="13" id="274" />
+<TGConnectingPoint num="14" id="275" />
+<TGConnectingPoint num="15" id="276" />
+<extraparam>
+<Line value="data exchange" />
+</extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="1346" >
-<father id="1353" num="0" />
-<cdparam x="466" y="287" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1347" >
-<father id="1353" num="1" />
-<cdparam x="526" y="287" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1348" >
-<father id="1353" num="2" />
-<cdparam x="511" y="322" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ ]" />
-</SUBCOMPONENT>
 
-<COMPONENT type="1000" id="1355" >
-<cdparam x="501" y="91" />
-<sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="280" >
+<cdparam x="433" y="448" />
+<sizeparam width="87" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="1354" />
+<infoparam name="write channel" value="fromDtoSC(1)" />
+<TGConnectingPoint num="0" id="278" />
+<TGConnectingPoint num="1" id="279" />
+<extraparam>
+<Data channelName="fromDtoSC" nbOfSamples="1" secPattern="" isAttacker="No" />
+</extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1358" >
-<cdparam x="485" y="129" />
-<sizeparam width="47" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="283" >
+<cdparam x="422" y="507" />
+<sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="open()" />
-<TGConnectingPoint num="0" id="1356" />
-<TGConnectingPoint num="1" id="1357" />
+<infoparam name="send event" value="data_Ready(x, b)" />
+<TGConnectingPoint num="0" id="281" />
+<TGConnectingPoint num="1" id="282" />
+<latencyCheck />
 <extraparam>
-<Data eventName="open" nbOfParams="5" />
+<Data eventName="data_Ready" nbOfParams="5" />
+<Param index="0" value="x" />
+<Param index="1" value="b" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="1361" >
-<cdparam x="468" y="178" />
-<sizeparam width="80" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1001" id="285" >
+<cdparam x="466" y="570" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="write channel" value="fromAtoT(1)" />
-<TGConnectingPoint num="0" id="1359" />
-<TGConnectingPoint num="1" id="1360" />
-<extraparam>
-<Data channelName="fromAtoT" nbOfSamples="1" secPattern="" isAttacker="No" />
-</extraparam>
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="284" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="1364" >
-<cdparam x="470" y="226" />
-<sizeparam width="75" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1017" id="288" >
+<cdparam x="593" y="447" />
+<sizeparam width="133" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="send_TCP()" />
-<TGConnectingPoint num="0" id="1362" />
-<TGConnectingPoint num="1" id="1363" />
+<infoparam name="notified event" value="x=?data_Ready_SC()" />
+<TGConnectingPoint num="0" id="286" />
+<TGConnectingPoint num="1" id="287" />
 <extraparam>
-<Data eventName="send_TCP" nbOfParams="5" />
+<Data eventName="data_Ready_SC" variable="x" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1366" >
-<cdparam x="576" y="388" />
+<COMPONENT type="1001" id="290" >
+<cdparam x="569" y="577" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1365" />
+<TGConnectingPoint num="0" id="289" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="1369" >
-<cdparam x="562" y="329" />
-<sizeparam width="49" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1009" id="293" >
+<cdparam x="614" y="700" />
+<sizeparam width="91" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="abort()" />
-<TGConnectingPoint num="0" id="1367" />
-<TGConnectingPoint num="1" id="1368" />
+<infoparam name="read channel" value="fromSCtoD(1) " />
+<TGConnectingPoint num="0" id="291" />
+<TGConnectingPoint num="1" id="292" />
 <extraparam>
-<Data eventName="abort" nbOfParams="5" />
+<Data channelName="fromSCtoD" nbOfSamples="1" secPattern="" isAttacker="No" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1010" id="296" >
+<cdparam x="604" y="619" />
+<sizeparam width="110" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="wait event" value="data_Ready_SC() " />
+<TGConnectingPoint num="0" id="294" />
+<TGConnectingPoint num="1" id="295" />
+<accessibility />
+<extraparam>
+<Data eventName="data_Ready_SC" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1372" >
-<cdparam x="409" y="337" />
-<sizeparam width="47" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1001" id="298" >
+<cdparam x="649" y="774" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="297" />
+</COMPONENT>
+
+<COMPONENT type="1014" id="302" >
+<cdparam x="307" y="287" />
+<sizeparam width="254" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="close()" />
-<TGConnectingPoint num="0" id="1370" />
-<TGConnectingPoint num="1" id="1371" />
+<infoparam name="for loop" value="for(i=0;i&lt;nbOfComputedPackets;i = i +1)" />
+<TGConnectingPoint num="0" id="299" />
+<TGConnectingPoint num="1" id="300" />
+<TGConnectingPoint num="2" id="301" />
 <extraparam>
-<Data eventName="close" nbOfParams="5" />
+<Data init="i=0" condition="i&lt;nbOfComputedPackets" increment="i = i +1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1374" >
-<cdparam x="422" y="386" />
+<COMPONENT type="1001" id="304" >
+<cdparam x="382" y="380" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1373" />
+<TGConnectingPoint num="0" id="303" />
 </COMPONENT>
 
-<CONNECTOR type="115" id="1375" >
-<cdparam x="509" y="94" />
+<CONNECTOR type="115" id="305" >
+<cdparam x="434" y="312" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<P1  x="434" y="312" id="301" />
+<P2  x="392" y="375" id="303" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="306" >
+<cdparam x="561" y="301" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<P1  x="561" y="301" id="300" />
+<P2  x="561" y="366" id="231" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="311" >
+<cdparam x="78" y="363" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from start state to send event" value="null" />
-<P1  x="508" y="111" id="1354" />
-<P2  x="508" y="124" id="1356" />
+<infoparam name="connector from send event to wait event" value="null" />
+<P1  x="228" y="362" id="256" />
+<P2  x="403" y="160" id="258" />
+<Point x="228" y="382" />
+<Point x="228" y="382" />
+<Point x="228" y="140" />
+<Point x="383" y="140" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="307" >
+<father id="311" num="0" />
+<cdparam x="228" y="382" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="308" >
+<father id="311" num="1" />
+<cdparam x="228" y="382" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="309" >
+<father id="311" num="2" />
+<cdparam x="228" y="140" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="310" >
+<father id="311" num="3" />
+<cdparam x="383" y="140" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+
+<CONNECTOR type="115" id="312" >
+<cdparam x="228" y="57" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from start state to send request" value="null" />
+<P1  x="229" y="78" id="244" />
+<P2  x="228" y="132" id="246" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1376" >
-<cdparam x="508" y="154" />
+<CONNECTOR type="115" id="313" >
+<cdparam x="228" y="162" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to write channel" value="null" />
-<P1  x="508" y="154" id="1357" />
-<P2  x="508" y="173" id="1359" />
+<infoparam name="connector from send request to send event" value="null" />
+<P1  x="228" y="162" id="247" />
+<P2  x="228" y="232" id="249" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1377" >
-<cdparam x="508" y="222" />
+<CONNECTOR type="115" id="314" >
+<cdparam x="228" y="284" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from wait event to send event" value="null" />
+<P1  x="228" y="313" id="253" />
+<P2  x="228" y="332" id="255" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="315" >
+<cdparam x="528" y="391" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to write channel" value="null" />
+<P1  x="521" y="391" id="232" />
+<P2  x="476" y="443" id="278" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="316" >
+<cdparam x="476" y="473" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from write channel to send event" value="null" />
-<P1  x="508" y="203" id="1360" />
-<P2  x="507" y="221" id="1362" />
+<P1  x="476" y="473" id="279" />
+<P2  x="476" y="502" id="281" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1378" >
-<cdparam x="586" y="354" />
+<CONNECTOR type="115" id="317" >
+<cdparam x="471" y="529" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from send event to stop state" value="null" />
-<P1  x="586" y="354" id="1368" />
-<P2  x="586" y="383" id="1365" />
+<P1  x="476" y="532" id="282" />
+<P2  x="476" y="565" id="284" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1379" >
-<cdparam x="508" y="298" />
+<CONNECTOR type="115" id="318" >
+<cdparam x="619" y="532" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to choice" value="null" />
-<P1  x="507" y="251" id="1363" />
-<P2  x="506" y="267" id="1349" />
+<infoparam name="connector from choice to stop state" value="null" />
+<P1  x="619" y="532" id="240" />
+<P2  x="579" y="572" id="289" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1380" >
-<cdparam x="470" y="348" />
+<CONNECTOR type="115" id="319" >
+<cdparam x="580" y="405" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to send event" value="null" />
-<P1  x="466" y="292" id="1350" />
-<P2  x="432" y="332" id="1370" />
+<infoparam name="connector from choice to notified event" value="null" />
+<P1  x="601" y="391" id="233" />
+<P2  x="659" y="442" id="286" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1381" >
-<cdparam x="432" y="362" />
+<CONNECTOR type="115" id="320" >
+<cdparam x="659" y="472" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to stop state" value="null" />
-<P1  x="432" y="362" id="1371" />
-<P2  x="432" y="381" id="1373" />
+<infoparam name="connector from notified event to choice" value="null" />
+<P1  x="659" y="472" id="287" />
+<P2  x="659" y="507" id="239" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1382" >
-<cdparam x="550" y="348" />
+<CONNECTOR type="115" id="321" >
+<cdparam x="659" y="572" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to send event" value="null" />
-<P1  x="546" y="292" id="1351" />
-<P2  x="586" y="324" id="1367" />
+<infoparam name="connector from choice to wait event" value="null" />
+<P1  x="659" y="572" id="242" />
+<P2  x="659" y="614" id="294" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="322" >
+<cdparam x="670" y="644" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from wait event to read channel" value="null" />
+<P1  x="659" y="644" id="295" />
+<P2  x="659" y="695" id="291" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="323" >
+<cdparam x="659" y="725" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from read channel to stop state" value="null" />
+<P1  x="659" y="725" id="292" />
+<P2  x="659" y="769" id="297" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="324" >
+<cdparam x="403" y="190" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from wait event to for loop" value="null" />
+<P1  x="403" y="190" id="259" />
+<P2  x="434" y="282" id="299" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="325" >
+<cdparam x="228" y="262" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to wait event" value="null" />
+<P1  x="228" y="262" id="250" />
+<P2  x="228" y="283" id="252" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 
@@ -6264,11 +6264,11 @@ On prend b=1 comme exemple
 </COMPONENT>
 <SUBCOMPONENT type="1101" id="1441" >
 <father id="1502" num="0" />
-<cdparam x="226" y="304" />
-<sizeparam width="109" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="92" y="154" />
+<sizeparam width="163" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="350" minY="0" maxY="271" />
-<infoparam name="TGComponent" value="AppC::Timer" />
+<cdrectangleparam minX="0" maxX="296" minY="0" maxY="271" />
+<infoparam name="TGComponent" value="AppC::InterfaceDevice" />
 <TGConnectingPoint num="0" id="1433" />
 <TGConnectingPoint num="1" id="1434" />
 <TGConnectingPoint num="2" id="1435" />
@@ -6278,16 +6278,16 @@ On prend b=1 comme exemple
 <TGConnectingPoint num="6" id="1439" />
 <TGConnectingPoint num="7" id="1440" />
 <extraparam>
-<info value="AppC::Timer" taskName="Timer" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
+<info value="AppC::InterfaceDevice" taskName="InterfaceDevice" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1101" id="1450" >
 <father id="1502" num="1" />
-<cdparam x="290" y="234" />
-<sizeparam width="139" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="291" y="153" />
+<sizeparam width="136" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="320" minY="0" maxY="271" />
-<infoparam name="TGComponent" value="AppC::Application" />
+<cdrectangleparam minX="0" maxX="323" minY="0" maxY="271" />
+<infoparam name="TGComponent" value="AppC::SmartCard" />
 <TGConnectingPoint num="0" id="1442" />
 <TGConnectingPoint num="1" id="1443" />
 <TGConnectingPoint num="2" id="1444" />
@@ -6297,7 +6297,7 @@ On prend b=1 comme exemple
 <TGConnectingPoint num="6" id="1448" />
 <TGConnectingPoint num="7" id="1449" />
 <extraparam>
-<info value="AppC::Application" taskName="Application" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
+<info value="AppC::SmartCard" taskName="SmartCard" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1101" id="1459" >
@@ -6321,11 +6321,11 @@ On prend b=1 comme exemple
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1101" id="1468" >
 <father id="1502" num="3" />
-<cdparam x="291" y="153" />
-<sizeparam width="136" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="290" y="234" />
+<sizeparam width="139" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="323" minY="0" maxY="271" />
-<infoparam name="TGComponent" value="AppC::SmartCard" />
+<cdrectangleparam minX="0" maxX="320" minY="0" maxY="271" />
+<infoparam name="TGComponent" value="AppC::Application" />
 <TGConnectingPoint num="0" id="1460" />
 <TGConnectingPoint num="1" id="1461" />
 <TGConnectingPoint num="2" id="1462" />
@@ -6335,16 +6335,16 @@ On prend b=1 comme exemple
 <TGConnectingPoint num="6" id="1466" />
 <TGConnectingPoint num="7" id="1467" />
 <extraparam>
-<info value="AppC::SmartCard" taskName="SmartCard" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
+<info value="AppC::Application" taskName="Application" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1101" id="1477" >
 <father id="1502" num="4" />
-<cdparam x="92" y="154" />
-<sizeparam width="163" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="226" y="304" />
+<sizeparam width="109" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="296" minY="0" maxY="271" />
-<infoparam name="TGComponent" value="AppC::InterfaceDevice" />
+<cdrectangleparam minX="0" maxX="350" minY="0" maxY="271" />
+<infoparam name="TGComponent" value="AppC::Timer" />
 <TGConnectingPoint num="0" id="1469" />
 <TGConnectingPoint num="1" id="1470" />
 <TGConnectingPoint num="2" id="1471" />
@@ -6354,7 +6354,7 @@ On prend b=1 comme exemple
 <TGConnectingPoint num="6" id="1475" />
 <TGConnectingPoint num="7" id="1476" />
 <extraparam>
-<info value="AppC::InterfaceDevice" taskName="InterfaceDevice" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
+<info value="AppC::Timer" taskName="Timer" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
 
@@ -6611,11 +6611,11 @@ On prend b=1 comme exemple
 </COMPONENT>
 <SUBCOMPONENT type="1101" id="1631" >
 <father id="1674" num="0" />
-<cdparam x="386" y="136" />
-<sizeparam width="141" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="288" y="105" />
+<sizeparam width="109" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="131" minY="0" maxY="127" />
-<infoparam name="TGComponent" value="AppC::SmartCard" />
+<cdrectangleparam minX="0" maxX="163" minY="0" maxY="127" />
+<infoparam name="TGComponent" value="AppC::TCPIP" />
 <TGConnectingPoint num="0" id="1623" />
 <TGConnectingPoint num="1" id="1624" />
 <TGConnectingPoint num="2" id="1625" />
@@ -6625,7 +6625,7 @@ On prend b=1 comme exemple
 <TGConnectingPoint num="6" id="1629" />
 <TGConnectingPoint num="7" id="1630" />
 <extraparam>
-<info value="AppC::SmartCard" taskName="SmartCard" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
+<info value="AppC::TCPIP" taskName="TCPIP" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1101" id="1640" >
@@ -6649,11 +6649,11 @@ On prend b=1 comme exemple
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1101" id="1649" >
 <father id="1674" num="2" />
-<cdparam x="288" y="105" />
-<sizeparam width="109" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="386" y="136" />
+<sizeparam width="141" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="163" minY="0" maxY="127" />
-<infoparam name="TGComponent" value="AppC::TCPIP" />
+<cdrectangleparam minX="0" maxX="131" minY="0" maxY="127" />
+<infoparam name="TGComponent" value="AppC::SmartCard" />
 <TGConnectingPoint num="0" id="1641" />
 <TGConnectingPoint num="1" id="1642" />
 <TGConnectingPoint num="2" id="1643" />
@@ -6663,7 +6663,7 @@ On prend b=1 comme exemple
 <TGConnectingPoint num="6" id="1647" />
 <TGConnectingPoint num="7" id="1648" />
 <extraparam>
-<info value="AppC::TCPIP" taskName="TCPIP" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
+<info value="AppC::SmartCard" taskName="SmartCard" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
 
@@ -6764,19 +6764,19 @@ On prend b=1 comme exemple
 </COMPONENT>
 <SUBCOMPONENT type="6005" id="1689" >
 <father id="1697" num="0" />
-<cdparam x="523" y="364" />
+<cdparam x="523" y="349" />
 <sizeparam width="10" height="10" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="605" maxX="605" minY="355" maxY="355" />
-<infoparam name="value " value="Mapping2" />
+<cdrectangleparam minX="605" maxX="605" minY="340" maxY="340" />
+<infoparam name="value " value="Mapping1" />
 </SUBCOMPONENT>
 <SUBCOMPONENT type="6005" id="1690" >
 <father id="1697" num="1" />
-<cdparam x="523" y="349" />
+<cdparam x="523" y="364" />
 <sizeparam width="10" height="10" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="605" maxX="605" minY="340" maxY="340" />
-<infoparam name="value " value="Mapping1" />
+<cdrectangleparam minX="605" maxX="605" minY="355" maxY="355" />
+<infoparam name="value " value="Mapping2" />
 </SUBCOMPONENT>
 
 <COMPONENT type="6001" id="1704" >
@@ -6792,19 +6792,19 @@ On prend b=1 comme exemple
 </COMPONENT>
 <SUBCOMPONENT type="6005" id="1698" >
 <father id="1704" num="0" />
-<cdparam x="855" y="155" />
+<cdparam x="855" y="140" />
 <sizeparam width="10" height="10" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="855" maxX="855" minY="155" maxY="155" />
-<infoparam name="value " value="Mapping2" />
+<cdrectangleparam minX="855" maxX="855" minY="140" maxY="140" />
+<infoparam name="value " value="Mapping1" />
 </SUBCOMPONENT>
 <SUBCOMPONENT type="6005" id="1699" >
 <father id="1704" num="1" />
-<cdparam x="855" y="140" />
+<cdparam x="855" y="155" />
 <sizeparam width="10" height="10" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="855" maxX="855" minY="140" maxY="140" />
-<infoparam name="value " value="Mapping1" />
+<cdrectangleparam minX="855" maxX="855" minY="155" maxY="155" />
+<infoparam name="value " value="Mapping2" />
 </SUBCOMPONENT>
 
 <COMPONENT type="6000" id="1710" >
diff --git a/rundse/build.gradle b/rundse/build.gradle
index 92fb8953a8b75b733211b64a4c6ee4252f23015b..88120513612a563effcc4d5a6b8061b64126baf5 100644
--- a/rundse/build.gradle
+++ b/rundse/build.gradle
@@ -18,6 +18,11 @@ dependencies {
     compileOnly name: 'commons-io-2.5'
     compileOnly name: 'jsoup-1.8.1'
     compileOnly name: 'gs-core-1.3'
+    compileOnly name:'batik-awt-util'
+    compileOnly name:'batik-svggen'
+    compileOnly name:'batik-xml'
+    compileOnly name:'batik-dom'
+    compileOnly name:'batik-util'
 }
 
 jar {
diff --git a/src/main/java/attacktrees/ANDNode.java b/src/main/java/attacktrees/ANDNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/attacktrees/AfterNode.java b/src/main/java/attacktrees/AfterNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/attacktrees/Attack.java b/src/main/java/attacktrees/Attack.java
old mode 100755
new mode 100644
diff --git a/src/main/java/attacktrees/AttackElement.java b/src/main/java/attacktrees/AttackElement.java
old mode 100755
new mode 100644
diff --git a/src/main/java/attacktrees/AttackNode.java b/src/main/java/attacktrees/AttackNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/attacktrees/AttackTree.java b/src/main/java/attacktrees/AttackTree.java
old mode 100755
new mode 100644
diff --git a/src/main/java/attacktrees/BeforeNode.java b/src/main/java/attacktrees/BeforeNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/attacktrees/BooleanNode.java b/src/main/java/attacktrees/BooleanNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/attacktrees/ORNode.java b/src/main/java/attacktrees/ORNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/attacktrees/SequenceNode.java b/src/main/java/attacktrees/SequenceNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/attacktrees/TimeNode.java b/src/main/java/attacktrees/TimeNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/attacktrees/XORNode.java b/src/main/java/attacktrees/XORNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/automata/Automata.java b/src/main/java/automata/Automata.java
old mode 100755
new mode 100644
diff --git a/src/main/java/automata/State.java b/src/main/java/automata/State.java
old mode 100755
new mode 100644
diff --git a/src/main/java/automata/Transition.java b/src/main/java/automata/Transition.java
old mode 100755
new mode 100644
diff --git a/src/main/java/avatartranslator/toexecutable/AVATAR2CPOSIX.java b/src/main/java/avatartranslator/toexecutable/AVATAR2CPOSIX.java
old mode 100755
new mode 100644
diff --git a/src/main/java/avatartranslator/toexecutable/MainFile.java b/src/main/java/avatartranslator/toexecutable/MainFile.java
old mode 100755
new mode 100644
diff --git a/src/main/java/avatartranslator/toexecutable/TaskFile.java b/src/main/java/avatartranslator/toexecutable/TaskFile.java
old mode 100755
new mode 100644
diff --git a/src/main/java/avatartranslator/toexecutable/TaskFileSoclib.java b/src/main/java/avatartranslator/toexecutable/TaskFileSoclib.java
old mode 100755
new mode 100644
diff --git a/src/main/java/avatartranslator/toproverif/AVATAR2ProVerif.java b/src/main/java/avatartranslator/toproverif/AVATAR2ProVerif.java
old mode 100755
new mode 100644
diff --git a/src/main/java/avatartranslator/totpn/AVATAR2TPN.java b/src/main/java/avatartranslator/totpn/AVATAR2TPN.java
old mode 100755
new mode 100644
diff --git a/src/main/java/avatartranslator/touppaal/AVATAR2UPPAAL.java b/src/main/java/avatartranslator/touppaal/AVATAR2UPPAAL.java
old mode 100755
new mode 100644
diff --git a/src/main/java/common/ConfigurationTTool.java b/src/main/java/common/ConfigurationTTool.java
old mode 100755
new mode 100644
index 6e321ddebb91d793f0f5e14a32c9e9fb670f3580..99c6710f1acc2f6ab490a595fcf1d61ba9f34e82
--- a/src/main/java/common/ConfigurationTTool.java
+++ b/src/main/java/common/ConfigurationTTool.java
@@ -83,7 +83,7 @@ public class ConfigurationTTool {
     public static String LOTOSPath = "";
     public static String LIBPath = "";
     public static String IMGPath = "";
-    public static String DocGenPath = "";
+    public static String DocGenPath = ".";
     public static String GGraphPath = "";
     public static String TGraphPath = "";
     public static String TToolUpdateURL = "";
diff --git a/src/main/java/compiler/tmlCPparser/test.sh b/src/main/java/compiler/tmlCPparser/test.sh
old mode 100755
new mode 100644
diff --git a/src/main/java/compiler/tmlgrammar/SimpleNode.java b/src/main/java/compiler/tmlgrammar/SimpleNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/compiler/tmlgrammar/TMLExprParser0.2.jjt b/src/main/java/compiler/tmlgrammar/TMLExprParser0.2.jjt
old mode 100755
new mode 100644
diff --git a/src/main/java/compiler/tmlgrammar/header.txt b/src/main/java/compiler/tmlgrammar/header.txt
old mode 100755
new mode 100644
diff --git a/src/main/java/compiler/tmlparser/AssignmentOperator.java b/src/main/java/compiler/tmlparser/AssignmentOperator.java
old mode 100755
new mode 100644
diff --git a/src/main/java/compiler/tmlparser/BoolComparisonOperator.java b/src/main/java/compiler/tmlparser/BoolComparisonOperator.java
old mode 100755
new mode 100644
diff --git a/src/main/java/compiler/tmlparser/BoolExtendedExpression.java b/src/main/java/compiler/tmlparser/BoolExtendedExpression.java
old mode 100755
new mode 100644
diff --git a/src/main/java/compiler/tmlparser/BoolExtendedExpressionAfterComparison.java b/src/main/java/compiler/tmlparser/BoolExtendedExpressionAfterComparison.java
old mode 100755
new mode 100644
diff --git a/src/main/java/compiler/tmlparser/BoolExtendedExpressionAfterID.java b/src/main/java/compiler/tmlparser/BoolExtendedExpressionAfterID.java
old mode 100755
new mode 100644
diff --git a/src/main/java/compiler/tmlparser/BoolExtendedExpressionAfterIDComparisonID.java b/src/main/java/compiler/tmlparser/BoolExtendedExpressionAfterIDComparisonID.java
old mode 100755
new mode 100644
diff --git a/src/main/java/compiler/tmlparser/BoolFunction1.java b/src/main/java/compiler/tmlparser/BoolFunction1.java
old mode 100755
new mode 100644
diff --git a/src/main/java/compiler/tmlparser/BoolNatComparisonOperator.java b/src/main/java/compiler/tmlparser/BoolNatComparisonOperator.java
old mode 100755
new mode 100644
diff --git a/src/main/java/compiler/tmlparser/BoolOperator.java b/src/main/java/compiler/tmlparser/BoolOperator.java
old mode 100755
new mode 100644
diff --git a/src/main/java/compiler/tmlparser/BooleanLiteral.java b/src/main/java/compiler/tmlparser/BooleanLiteral.java
old mode 100755
new mode 100644
diff --git a/src/main/java/compiler/tmlparser/CompilationUnit.java b/src/main/java/compiler/tmlparser/CompilationUnit.java
old mode 100755
new mode 100644
diff --git a/src/main/java/compiler/tmlparser/Expression.java b/src/main/java/compiler/tmlparser/Expression.java
old mode 100755
new mode 100644
diff --git a/src/main/java/compiler/tmlparser/InNatBoolExtendedExpression1.java b/src/main/java/compiler/tmlparser/InNatBoolExtendedExpression1.java
old mode 100755
new mode 100644
diff --git a/src/main/java/compiler/tmlparser/JJTTMLExprParserState.java b/src/main/java/compiler/tmlparser/JJTTMLExprParserState.java
old mode 100755
new mode 100644
diff --git a/src/main/java/compiler/tmlparser/Literal.java b/src/main/java/compiler/tmlparser/Literal.java
old mode 100755
new mode 100644
diff --git a/src/main/java/compiler/tmlparser/NatComparisonOperator.java b/src/main/java/compiler/tmlparser/NatComparisonOperator.java
old mode 100755
new mode 100644
diff --git a/src/main/java/compiler/tmlparser/NatExtendedExpression.java b/src/main/java/compiler/tmlparser/NatExtendedExpression.java
old mode 100755
new mode 100644
diff --git a/src/main/java/compiler/tmlparser/NatFunction2.java b/src/main/java/compiler/tmlparser/NatFunction2.java
old mode 100755
new mode 100644
diff --git a/src/main/java/compiler/tmlparser/NatOperator.java b/src/main/java/compiler/tmlparser/NatOperator.java
old mode 100755
new mode 100644
diff --git a/src/main/java/compiler/tmlparser/NatOperatorExtendedExpression.java b/src/main/java/compiler/tmlparser/NatOperatorExtendedExpression.java
old mode 100755
new mode 100644
diff --git a/src/main/java/compiler/tmlparser/Node.java b/src/main/java/compiler/tmlparser/Node.java
old mode 100755
new mode 100644
diff --git a/src/main/java/compiler/tmlparser/ParseException.java b/src/main/java/compiler/tmlparser/ParseException.java
old mode 100755
new mode 100644
diff --git a/src/main/java/compiler/tmlparser/SimpleCharStream.java b/src/main/java/compiler/tmlparser/SimpleCharStream.java
old mode 100755
new mode 100644
diff --git a/src/main/java/compiler/tmlparser/SimpleNode.java b/src/main/java/compiler/tmlparser/SimpleNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/compiler/tmlparser/StrictBoolOperator.java b/src/main/java/compiler/tmlparser/StrictBoolOperator.java
old mode 100755
new mode 100644
diff --git a/src/main/java/compiler/tmlparser/StrictNatComparisonOperator.java b/src/main/java/compiler/tmlparser/StrictNatComparisonOperator.java
old mode 100755
new mode 100644
diff --git a/src/main/java/compiler/tmlparser/TMLExprParser.java b/src/main/java/compiler/tmlparser/TMLExprParser.java
old mode 100755
new mode 100644
diff --git a/src/main/java/compiler/tmlparser/TMLExprParserConstants.java b/src/main/java/compiler/tmlparser/TMLExprParserConstants.java
old mode 100755
new mode 100644
diff --git a/src/main/java/compiler/tmlparser/TMLExprParserTokenManager.java b/src/main/java/compiler/tmlparser/TMLExprParserTokenManager.java
old mode 100755
new mode 100644
diff --git a/src/main/java/compiler/tmlparser/TMLExprParserTreeConstants.java b/src/main/java/compiler/tmlparser/TMLExprParserTreeConstants.java
old mode 100755
new mode 100644
diff --git a/src/main/java/compiler/tmlparser/Token.java b/src/main/java/compiler/tmlparser/Token.java
old mode 100755
new mode 100644
diff --git a/src/main/java/compiler/tmlparser/TokenMgrError.java b/src/main/java/compiler/tmlparser/TokenMgrError.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ddtranslator/DDStructLink.java b/src/main/java/ddtranslator/DDStructLink.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ddtranslator/DDStructSynchro.java b/src/main/java/ddtranslator/DDStructSynchro.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ddtranslator/DDSyntaxException.java b/src/main/java/ddtranslator/DDSyntaxException.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ddtranslator/DDTranslator.java b/src/main/java/ddtranslator/DDTranslator.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ddtranslator/TClassLinkNode.java b/src/main/java/ddtranslator/TClassLinkNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ddtranslatorSoclib/AvatarBridge.java b/src/main/java/ddtranslatorSoclib/AvatarBridge.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ddtranslatorSoclib/AvatarBus.java b/src/main/java/ddtranslatorSoclib/AvatarBus.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ddtranslatorSoclib/AvatarCPU.java b/src/main/java/ddtranslatorSoclib/AvatarCPU.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ddtranslatorSoclib/AvatarChannel.java b/src/main/java/ddtranslatorSoclib/AvatarChannel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ddtranslatorSoclib/AvatarComponent.java b/src/main/java/ddtranslatorSoclib/AvatarComponent.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ddtranslatorSoclib/AvatarConnectingPoint.java b/src/main/java/ddtranslatorSoclib/AvatarConnectingPoint.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ddtranslatorSoclib/AvatarConnector.java b/src/main/java/ddtranslatorSoclib/AvatarConnector.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ddtranslatorSoclib/AvatarCoproMWMR.java b/src/main/java/ddtranslatorSoclib/AvatarCoproMWMR.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ddtranslatorSoclib/AvatarCrossbar.java b/src/main/java/ddtranslatorSoclib/AvatarCrossbar.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ddtranslatorSoclib/AvatarICU.java b/src/main/java/ddtranslatorSoclib/AvatarICU.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ddtranslatorSoclib/AvatarMappedObject.java b/src/main/java/ddtranslatorSoclib/AvatarMappedObject.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ddtranslatorSoclib/AvatarRAM.java b/src/main/java/ddtranslatorSoclib/AvatarRAM.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ddtranslatorSoclib/AvatarTTY.java b/src/main/java/ddtranslatorSoclib/AvatarTTY.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ddtranslatorSoclib/AvatarTask.java b/src/main/java/ddtranslatorSoclib/AvatarTask.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ddtranslatorSoclib/AvatarTimer.java b/src/main/java/ddtranslatorSoclib/AvatarTimer.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ddtranslatorSoclib/AvatarVgmn.java b/src/main/java/ddtranslatorSoclib/AvatarVgmn.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ddtranslatorSoclib/AvatarddSpecification.java b/src/main/java/ddtranslatorSoclib/AvatarddSpecification.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ddtranslatorSoclib/toSoclib/MainFileSoclib.java b/src/main/java/ddtranslatorSoclib/toSoclib/MainFileSoclib.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ddtranslatorSoclib/toSoclib/TaskFileSoclib.java b/src/main/java/ddtranslatorSoclib/toSoclib/TaskFileSoclib.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ddtranslatorSoclib/toSoclib/TasksAndMainGenerator.java b/src/main/java/ddtranslatorSoclib/toSoclib/TasksAndMainGenerator.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ddtranslatorSoclib/toTopCell/Code.java b/src/main/java/ddtranslatorSoclib/toTopCell/Code.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ddtranslatorSoclib/toTopCell/Declaration.java b/src/main/java/ddtranslatorSoclib/toTopCell/Declaration.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ddtranslatorSoclib/toTopCell/Deployinfo.java b/src/main/java/ddtranslatorSoclib/toTopCell/Deployinfo.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ddtranslatorSoclib/toTopCell/Header.java b/src/main/java/ddtranslatorSoclib/toTopCell/Header.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ddtranslatorSoclib/toTopCell/Loader.java b/src/main/java/ddtranslatorSoclib/toTopCell/Loader.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ddtranslatorSoclib/toTopCell/MappingTable.java b/src/main/java/ddtranslatorSoclib/toTopCell/MappingTable.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ddtranslatorSoclib/toTopCell/NetList.java b/src/main/java/ddtranslatorSoclib/toTopCell/NetList.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ddtranslatorSoclib/toTopCell/Platforminfo.java b/src/main/java/ddtranslatorSoclib/toTopCell/Platforminfo.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ddtranslatorSoclib/toTopCell/Signal.java b/src/main/java/ddtranslatorSoclib/toTopCell/Signal.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ddtranslatorSoclib/toTopCell/Simulation.java b/src/main/java/ddtranslatorSoclib/toTopCell/Simulation.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ddtranslatorSoclib/toTopCell/TopCellGenerator.java b/src/main/java/ddtranslatorSoclib/toTopCell/TopCellGenerator.java
old mode 100755
new mode 100644
diff --git a/src/main/java/dseengine/BusContentionResult.java b/src/main/java/dseengine/BusContentionResult.java
old mode 100755
new mode 100644
diff --git a/src/main/java/dseengine/BusContentionWholeResult.java b/src/main/java/dseengine/BusContentionWholeResult.java
old mode 100755
new mode 100644
diff --git a/src/main/java/dseengine/BusResult.java b/src/main/java/dseengine/BusResult.java
old mode 100755
new mode 100644
diff --git a/src/main/java/dseengine/BusWholeResult.java b/src/main/java/dseengine/BusWholeResult.java
old mode 100755
new mode 100644
diff --git a/src/main/java/dseengine/CPUResult.java b/src/main/java/dseengine/CPUResult.java
old mode 100755
new mode 100644
diff --git a/src/main/java/dseengine/CPUWholeResult.java b/src/main/java/dseengine/CPUWholeResult.java
old mode 100755
new mode 100644
diff --git a/src/main/java/dseengine/CPUWithTasks.java b/src/main/java/dseengine/CPUWithTasks.java
old mode 100755
new mode 100644
diff --git a/src/main/java/dseengine/DSEConfiguration.java b/src/main/java/dseengine/DSEConfiguration.java
old mode 100755
new mode 100644
diff --git a/src/main/java/dseengine/DSEMappingSimulationResults.java b/src/main/java/dseengine/DSEMappingSimulationResults.java
old mode 100755
new mode 100644
diff --git a/src/main/java/dseengine/DSEScriptReader.java b/src/main/java/dseengine/DSEScriptReader.java
old mode 100755
new mode 100644
diff --git a/src/main/java/dseengine/DSESimulationResult.java b/src/main/java/dseengine/DSESimulationResult.java
old mode 100755
new mode 100644
diff --git a/src/main/java/dseengine/SimulationDurationWholeResult.java b/src/main/java/dseengine/SimulationDurationWholeResult.java
old mode 100755
new mode 100644
diff --git a/src/main/java/dseengine/TaskResult.java b/src/main/java/dseengine/TaskResult.java
old mode 100755
new mode 100644
diff --git a/src/main/java/dseengine/TaskWholeResult.java b/src/main/java/dseengine/TaskWholeResult.java
old mode 100755
new mode 100644
diff --git a/src/main/java/faulttrees/ANDNode.java b/src/main/java/faulttrees/ANDNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/faulttrees/AfterNode.java b/src/main/java/faulttrees/AfterNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/faulttrees/BeforeNode.java b/src/main/java/faulttrees/BeforeNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/faulttrees/BooleanNode.java b/src/main/java/faulttrees/BooleanNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/faulttrees/Fault.java b/src/main/java/faulttrees/Fault.java
old mode 100755
new mode 100644
diff --git a/src/main/java/faulttrees/FaultElement.java b/src/main/java/faulttrees/FaultElement.java
old mode 100755
new mode 100644
diff --git a/src/main/java/faulttrees/FaultNode.java b/src/main/java/faulttrees/FaultNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/faulttrees/FaultTree.java b/src/main/java/faulttrees/FaultTree.java
old mode 100755
new mode 100644
diff --git a/src/main/java/faulttrees/NOTNode.java b/src/main/java/faulttrees/NOTNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/faulttrees/ORNode.java b/src/main/java/faulttrees/ORNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/faulttrees/SequenceNode.java b/src/main/java/faulttrees/SequenceNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/faulttrees/TimeNode.java b/src/main/java/faulttrees/TimeNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/faulttrees/VoteNode.java b/src/main/java/faulttrees/VoteNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/faulttrees/XORNode.java b/src/main/java/faulttrees/XORNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/graph/AUTBlock.java b/src/main/java/graph/AUTBlock.java
old mode 100755
new mode 100644
diff --git a/src/main/java/graph/AUTElement.java b/src/main/java/graph/AUTElement.java
old mode 100755
new mode 100644
diff --git a/src/main/java/graph/AUTGraph.java b/src/main/java/graph/AUTGraph.java
old mode 100755
new mode 100644
diff --git a/src/main/java/graph/AUTGraphDisplay.java b/src/main/java/graph/AUTGraphDisplay.java
old mode 100755
new mode 100644
diff --git a/src/main/java/graph/AUTMappingGraph.java b/src/main/java/graph/AUTMappingGraph.java
old mode 100755
new mode 100644
diff --git a/src/main/java/graph/AUTPartition.java b/src/main/java/graph/AUTPartition.java
old mode 100755
new mode 100644
diff --git a/src/main/java/graph/AUTSplitter.java b/src/main/java/graph/AUTSplitter.java
old mode 100755
new mode 100644
diff --git a/src/main/java/graph/AUTState.java b/src/main/java/graph/AUTState.java
old mode 100755
new mode 100644
diff --git a/src/main/java/graph/AUTTransition.java b/src/main/java/graph/AUTTransition.java
old mode 100755
new mode 100644
diff --git a/src/main/java/graph/CorePowerConsumption.java b/src/main/java/graph/CorePowerConsumption.java
old mode 100755
new mode 100644
diff --git a/src/main/java/graph/RG.java b/src/main/java/graph/RG.java
old mode 100755
new mode 100644
diff --git a/src/main/java/graph/VCDGenerator.java b/src/main/java/graph/VCDGenerator.java
old mode 100755
new mode 100644
diff --git a/src/main/java/heterogeneoustranslator/systemCAMStranslator/CAMSBlocks.java b/src/main/java/heterogeneoustranslator/systemCAMStranslator/CAMSBlocks.java
deleted file mode 100755
index ad65f4379403da30d18310b78df84daf1ba57557..0000000000000000000000000000000000000000
--- a/src/main/java/heterogeneoustranslator/systemCAMStranslator/CAMSBlocks.java
+++ /dev/null
@@ -1,152 +0,0 @@
-/* Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille
- * 
- * ludovic.apvrille AT enst.fr
- * 
- * This software is a computer program whose purpose is to allow the
- * edition of TURTLE analysis, design and deployment diagrams, to
- * allow the generation of RT-LOTOS or Java code from this diagram,
- * and at last to allow the analysis of formal validation traces
- * obtained from external tools, e.g. RTL from LAAS-CNRS and CADP
- * from INRIA Rhone-Alpes.
- * 
- * This software is governed by the CeCILL  license under French law and
- * abiding by the rules of distribution of free software.  You can  use,
- * modify and/ or redistribute the software under the terms of the CeCILL
- * license as circulated by CEA, CNRS and INRIA at the following URL
- * "http://www.cecill.info".
- * 
- * As a counterpart to the access to the source code and  rights to copy,
- * modify and redistribute granted by the license, users are provided only
- * with a limited warranty  and the software's author,  the holder of the
- * economic rights,  and the successive licensors  have only  limited
- * liability.
- * 
- * In this respect, the user's attention is drawn to the risks associated
- * with loading,  using,  modifying and/or developing or reproducing the
- * software by the user in light of its specific status of free software,
- * that may mean  that it is complicated to manipulate,  and  that  also
- * therefore means  that it is reserved for developers  and  experienced
- * professionals having in-depth computer knowledge. Users are therefore
- * encouraged to load and test the software's suitability as regards their
- * requirements in conditions enabling the security of their systems and/or
- * data to be ensured and,  more generally, to use and operate it in the
- * same conditions as regards security.
- * 
- * The fact that you are presently reading this means that you have had
- * knowledge of the CeCILL license and that you accept its terms.
- */
-
-
-
-
-package heterogeneoustranslator.systemCAMStranslator;
-
-import javax.swing.*;
-import java.awt.*;
-import java.util.LinkedList;
-import java.util.Vector;
-import ui.*;
-
-/**
-* Class CAMSBlocks
-* Simulation Block for SystemC-AMS Diagrams
-* Creation: 28/08/2017
-* @version 1.0 28/08/2017
-* @author Côme DEMARIGNY
- */
-
-public class CAMSBlocks{
-
-    private String name;
-    private int nbOfIn;
-    private int nbOfOut;
-    private int nbOfHybridIn;
-    private int nbOfHybridOut;
-    private LinkedList<TAttribute> myAttributes;
-    private LinkedList<CAMSSignal> mySignals;
-    private String [] processCode;
-
-    
-    public CAMSBlocks(String _name, int _nbOfIn, int _nbOfOut, int _nbOfHybridIn, int _nbOfHybridOut, LinkedList<TAttribute> _myAttributes, LinkedList<CAMSSignal> _mySignals, String [] _processCode){
-	name=_name;
-	nbOfIn=_nbOfIn;
-	nbOfOut=_nbOfOut;
-	nbOfHybridIn=_nbOfHybridIn;
-	nbOfHybridOut=_nbOfHybridOut;
-	myAttributes=_myAttributes;
-	mySignals=_mySignals;
-	processCode=_processCode;
-    
-    }
-
-    public void setBlockName(String newName){
-	name = newName;
-    }
-
-    public void setNbOfIn(int newIn){
-	nbOfIn = newIn;
-    }
-
-    public void setNbOfOut(int newOut){
-	nbOfOut = newOut;
-    }
-
-   public void setNbOfHybridIn(int newIn){
-	nbOfHybridIn = newIn;
-    }
-
-    public void setNbOfHybridOut(int newOut){
-	nbOfHybridOut = newOut;
-    }
-
-    public void setMyAttributes(LinkedList<TAttribute> newMyAttributes){
-	myAttributes = newMyAttributes;
-    }
-
-    public void setMySignals(LinkedList<CAMSSignal> newMySignals){
-	mySignals = newMySignals;
-    }
-
-    public void setProcessCode(String[] newProcessCode){
-	processCode = newProcessCode;
-    }
-
-    public String getBlockName(){
-	return name;
-    }
-
-    public int getNbOfIn() {
-        return nbOfIn;
-    }
-
-    public int getNbOfOut() {
-        return nbOfOut;
-    }
-    public int getNbOfHybridIn() {
-        return nbOfHybridIn;
-    }
-
-    public int getNbOfHybridOut() {
-        return nbOfHybridOut;
-    }
-    public int getTotalIn() {
-        return nbOfIn + nbOfHybridIn;
-    }
-
-    public int getTotalOut() {
-        return nbOfOut + nbOfHybridOut;
-    }
-
-    public LinkedList<TAttribute> getMyAttributes(){
-	return myAttributes;
-    }
-    
-    public LinkedList<CAMSSignal> getMySignals(){
-	return mySignals;
-    }
-
-    public String[] getProcessCode(){
-	return processCode;
-    }
-
-}
\ No newline at end of file
diff --git a/src/main/java/heterogeneoustranslator/systemCAMStranslator/CAMSConnection.java b/src/main/java/heterogeneoustranslator/systemCAMStranslator/CAMSConnection.java
deleted file mode 100755
index 1d3961178b432a319805925dd62652b2361b01dc..0000000000000000000000000000000000000000
--- a/src/main/java/heterogeneoustranslator/systemCAMStranslator/CAMSConnection.java
+++ /dev/null
@@ -1,78 +0,0 @@
-/* Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille
- * 
- * ludovic.apvrille AT enst.fr
- * 
- * This software is a computer program whose purpose is to allow the
- * edition of TURTLE analysis, design and deployment diagrams, to
- * allow the generation of RT-LOTOS or Java code from this diagram,
- * and at last to allow the analysis of formal validation traces
- * obtained from external tools, e.g. RTL from LAAS-CNRS and CADP
- * from INRIA Rhone-Alpes.
- * 
- * This software is governed by the CeCILL  license under French law and
- * abiding by the rules of distribution of free software.  You can  use,
- * modify and/ or redistribute the software under the terms of the CeCILL
- * license as circulated by CEA, CNRS and INRIA at the following URL
- * "http://www.cecill.info".
- * 
- * As a counterpart to the access to the source code and  rights to copy,
- * modify and redistribute granted by the license, users are provided only
- * with a limited warranty  and the software's author,  the holder of the
- * economic rights,  and the successive licensors  have only  limited
- * liability.
- * 
- * In this respect, the user's attention is drawn to the risks associated
- * with loading,  using,  modifying and/or developing or reproducing the
- * software by the user in light of its specific status of free software,
- * that may mean  that it is complicated to manipulate,  and  that  also
- * therefore means  that it is reserved for developers  and  experienced
- * professionals having in-depth computer knowledge. Users are therefore
- * encouraged to load and test the software's suitability as regards their
- * requirements in conditions enabling the security of their systems and/or
- * data to be ensured and,  more generally, to use and operate it in the
- * same conditions as regards security.
- * 
- * The fact that you are presently reading this means that you have had
- * knowledge of the CeCILL license and that you accept its terms.
- */
-
-
-
-
-package heterogeneoustranslator.systemCAMStranslator;
-
-import javax.swing.*;
-import java.awt.*;
-import java.util.LinkedList;
-import java.util.Vector;
-import ui.*;
-
-/**
-* Class CAMSConnection
-* Connection beetwen blocks for SystemC-AMS Diagrams
-* Creation: 30/08/2017
-* @version 1.0 30/08/2017
-* @author Côme DEMARIGNY
- */
-
-public class CAMSConnection{
-
-    public String name;
-    public CAMSBlocks inputBlock, outputBlock;
-    public int rate;
-    public int type;
-
-    public CAMSConnection(CAMSBlocks _inputBlock, CAMSBlocks _outputBlock){
-	inputBlock = _inputBlock;
-	outputBlock = _outputBlock;
-    }
-
-    public CAMSBlocks getInputBlock(){
-	return inputBlock;
-    }
-
-    public CAMSBlocks getOutputBlock(){
-	return outputBlock;
-    }
-
-}
\ No newline at end of file
diff --git a/src/main/java/heterogeneoustranslator/systemCAMStranslator/CAMSSignal.java b/src/main/java/heterogeneoustranslator/systemCAMStranslator/CAMSSignal.java
deleted file mode 100755
index 3c0cc72cb5908f9b89a137717286f44bdbde1aa9..0000000000000000000000000000000000000000
--- a/src/main/java/heterogeneoustranslator/systemCAMStranslator/CAMSSignal.java
+++ /dev/null
@@ -1,111 +0,0 @@
- /* Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille
- * 
- * ludovic.apvrille AT enst.fr
- * 
- * This software is a computer program whose purpose is to allow the
- * edition of TURTLE analysis, design and deployment diagrams, to
- * allow the generation of RT-LOTOS or Java code from this diagram,
- * and at last to allow the analysis of formal validation traces
- * obtained from external tools, e.g. RTL from LAAS-CNRS and CADP
- * from INRIA Rhone-Alpes.
- * 
- * This software is governed by the CeCILL  license under French law and
- * abiding by the rules of distribution of free software.  You can  use,
- * modify and/ or redistribute the software under the terms of the CeCILL
- * license as circulated by CEA, CNRS and INRIA at the following URL
- * "http://www.cecill.info".
- * 
- * As a counterpart to the access to the source code and  rights to copy,
- * modify and redistribute granted by the license, users are provided only
- * with a limited warranty  and the software's author,  the holder of the
- * economic rights,  and the successive licensors  have only  limited
- * liability.
- * 
- * In this respect, the user's attention is drawn to the risks associated
- * with loading,  using,  modifying and/or developing or reproducing the
- * software by the user in light of its specific status of free software,
- * that may mean  that it is complicated to manipulate,  and  that  also
- * therefore means  that it is reserved for developers  and  experienced
- * professionals having in-depth computer knowledge. Users are therefore
- * encouraged to load and test the software's suitability as regards their
- * requirements in conditions enabling the security of their systems and/or
- * data to be ensured and,  more generally, to use and operate it in the
- * same conditions as regards security.
- * 
- * The fact that you are presently reading this means that you have had
- * knowledge of the CeCILL license and that you accept its terms.
- */
-
-
-
-
-package heterogeneoustranslator.systemCAMStranslator;
-
-import myutil.GraphicLib;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-import ui.*;
-import ui.het.*;
-import ui.util.IconManager;
-import ui.window.JDialogCAMSBlocks;
-
-import javax.swing.*;
-import java.awt.*;
-import java.util.LinkedList;
-import java.util.Vector;
-
-
-/**
-* Class CAMSSignal
-* Signals for SystemC-AMS Diagrams
-* Creation: 27/06/2017
-* @version 1.0 27/06/2017
-* @author Côme DEMARIGNY
- */
-public class CAMSSignal {
-    
-    public final static int IN = 0;
-    public final static int OUT= 1;
-    public final static int HYBRID_IN = 2;
-    public final static int HYBRID_OUT= 3;
-    public final static int INCORRECT=-1;
-
-    private static int i=0;
-
-    private String name;
-    
-    public int inout;
-    
-    public CAMSSignal (String _name, int _inout) {
-	inout = _inout;
-    }
-    
-
-    public CAMSSignal makeclone(){
-	return this;
-    }
-
-    public static CAMSSignal isAValidSignal(String _name, int _inout) {
-        if (_inout==INCORRECT) {
-            return null;
-        }
-	String s = signalName(_name);
-        CAMSSignal cs = new CAMSSignal(s, _inout);
-
-        return cs;
-    }
-    
-    public int getInout(){
-	return inout;
-    }
-
-    public static String signalName(String _n){
-	String s="";
-	s+= _n + ": " + signalID();
-	return s;
-    }
-
-    public static int signalID(){i++;return i;}    
-
-}
\ No newline at end of file
diff --git a/src/main/java/launcher/ExecutionThread.java b/src/main/java/launcher/ExecutionThread.java
old mode 100755
new mode 100644
diff --git a/src/main/java/launcher/LauncherException.java b/src/main/java/launcher/LauncherException.java
old mode 100755
new mode 100644
diff --git a/src/main/java/launcher/RTLLauncher.java b/src/main/java/launcher/RTLLauncher.java
old mode 100755
new mode 100644
diff --git a/src/main/java/launcher/RemoteExecutionThread.java b/src/main/java/launcher/RemoteExecutionThread.java
old mode 100755
new mode 100644
diff --git a/src/main/java/launcher/RshClient.java b/src/main/java/launcher/RshClient.java
old mode 100755
new mode 100644
diff --git a/src/main/java/launcher/RshClientReader.java b/src/main/java/launcher/RshClientReader.java
old mode 100755
new mode 100644
diff --git a/src/main/java/launcher/RshServer.java b/src/main/java/launcher/RshServer.java
old mode 100755
new mode 100644
diff --git a/src/main/java/myutil/BoolExpressionEvaluator.java b/src/main/java/myutil/BoolExpressionEvaluator.java
old mode 100755
new mode 100644
diff --git a/src/main/java/myutil/BrowserControl.java b/src/main/java/myutil/BrowserControl.java
old mode 100755
new mode 100644
diff --git a/src/main/java/myutil/CallbackLoaderInterface.java b/src/main/java/myutil/CallbackLoaderInterface.java
old mode 100755
new mode 100644
diff --git a/src/main/java/myutil/Conversion.java b/src/main/java/myutil/Conversion.java
old mode 100755
new mode 100644
diff --git a/src/main/java/myutil/DijkstraState.java b/src/main/java/myutil/DijkstraState.java
old mode 100755
new mode 100644
diff --git a/src/main/java/myutil/ErrorThread.java b/src/main/java/myutil/ErrorThread.java
old mode 100755
new mode 100644
diff --git a/src/main/java/myutil/ExternalCall.java b/src/main/java/myutil/ExternalCall.java
old mode 100755
new mode 100644
diff --git a/src/main/java/myutil/FileException.java b/src/main/java/myutil/FileException.java
old mode 100755
new mode 100644
diff --git a/src/main/java/myutil/FileUtils.java b/src/main/java/myutil/FileUtils.java
old mode 100755
new mode 100644
diff --git a/src/main/java/myutil/GenericTree.java b/src/main/java/myutil/GenericTree.java
old mode 100755
new mode 100644
diff --git a/src/main/java/myutil/Graph.java b/src/main/java/myutil/Graph.java
old mode 100755
new mode 100644
diff --git a/src/main/java/myutil/GraphAlgorithms.java b/src/main/java/myutil/GraphAlgorithms.java
old mode 100755
new mode 100644
diff --git a/src/main/java/myutil/GraphicLib.java b/src/main/java/myutil/GraphicLib.java
old mode 100755
new mode 100644
diff --git a/src/main/java/myutil/HTMLCodeGeneratorForTables.java b/src/main/java/myutil/HTMLCodeGeneratorForTables.java
old mode 100755
new mode 100644
diff --git a/src/main/java/myutil/ImageManager.java b/src/main/java/myutil/ImageManager.java
old mode 100755
new mode 100644
diff --git a/src/main/java/myutil/IntExpressionEvaluator.java b/src/main/java/myutil/IntExpressionEvaluator.java
old mode 100755
new mode 100644
diff --git a/src/main/java/myutil/IntLine.java b/src/main/java/myutil/IntLine.java
old mode 100755
new mode 100644
diff --git a/src/main/java/myutil/IntMatrix.java b/src/main/java/myutil/IntMatrix.java
old mode 100755
new mode 100644
diff --git a/src/main/java/myutil/LoaderFacilityInterface.java b/src/main/java/myutil/LoaderFacilityInterface.java
old mode 100755
new mode 100644
diff --git a/src/main/java/myutil/MalformedConfigurationException.java b/src/main/java/myutil/MalformedConfigurationException.java
old mode 100755
new mode 100644
diff --git a/src/main/java/myutil/MasterProcessInterface.java b/src/main/java/myutil/MasterProcessInterface.java
old mode 100755
new mode 100644
diff --git a/src/main/java/myutil/MyMath.java b/src/main/java/myutil/MyMath.java
old mode 100755
new mode 100644
diff --git a/src/main/java/myutil/PeriodicBehavior.java b/src/main/java/myutil/PeriodicBehavior.java
old mode 100755
new mode 100644
diff --git a/src/main/java/myutil/PeriodicBehaviorThread.java b/src/main/java/myutil/PeriodicBehaviorThread.java
old mode 100755
new mode 100644
diff --git a/src/main/java/myutil/Plugin.java b/src/main/java/myutil/Plugin.java
old mode 100755
new mode 100644
diff --git a/src/main/java/myutil/PluginManager.java b/src/main/java/myutil/PluginManager.java
old mode 100755
new mode 100644
diff --git a/src/main/java/myutil/ProcessThread.java b/src/main/java/myutil/ProcessThread.java
old mode 100755
new mode 100644
diff --git a/src/main/java/myutil/SVGGraphics.java b/src/main/java/myutil/SVGGraphics.java
old mode 100755
new mode 100644
diff --git a/src/main/java/myutil/ScrolledJTextArea.java b/src/main/java/myutil/ScrolledJTextArea.java
old mode 100755
new mode 100644
diff --git a/src/main/java/myutil/SortedVector.java b/src/main/java/myutil/SortedVector.java
old mode 100755
new mode 100644
diff --git a/src/main/java/myutil/SteppedAlgorithm.java b/src/main/java/myutil/SteppedAlgorithm.java
old mode 100755
new mode 100644
diff --git a/src/main/java/myutil/TableSorter.java b/src/main/java/myutil/TableSorter.java
old mode 100755
new mode 100644
diff --git a/src/main/java/myutil/TreeCell.java b/src/main/java/myutil/TreeCell.java
old mode 100755
new mode 100644
diff --git a/src/main/java/myutil/URLManager.java b/src/main/java/myutil/URLManager.java
old mode 100755
new mode 100644
diff --git a/src/main/java/nc/NCCapacityUnit.java b/src/main/java/nc/NCCapacityUnit.java
old mode 100755
new mode 100644
diff --git a/src/main/java/nc/NCElement.java b/src/main/java/nc/NCElement.java
old mode 100755
new mode 100644
diff --git a/src/main/java/nc/NCEquipment.java b/src/main/java/nc/NCEquipment.java
old mode 100755
new mode 100644
diff --git a/src/main/java/nc/NCLink.java b/src/main/java/nc/NCLink.java
old mode 100755
new mode 100644
diff --git a/src/main/java/nc/NCLinkedElement.java b/src/main/java/nc/NCLinkedElement.java
old mode 100755
new mode 100644
diff --git a/src/main/java/nc/NCPath.java b/src/main/java/nc/NCPath.java
old mode 100755
new mode 100644
diff --git a/src/main/java/nc/NCStructure.java b/src/main/java/nc/NCStructure.java
old mode 100755
new mode 100644
diff --git a/src/main/java/nc/NCSwitch.java b/src/main/java/nc/NCSwitch.java
old mode 100755
new mode 100644
diff --git a/src/main/java/nc/NCTimeUnit.java b/src/main/java/nc/NCTimeUnit.java
old mode 100755
new mode 100644
diff --git a/src/main/java/nc/NCTraffic.java b/src/main/java/nc/NCTraffic.java
old mode 100755
new mode 100644
diff --git a/src/main/java/proverifspec/ProVerifFunction.java b/src/main/java/proverifspec/ProVerifFunction.java
old mode 100755
new mode 100644
diff --git a/src/main/java/proverifspec/ProVerifProcess.java b/src/main/java/proverifspec/ProVerifProcess.java
old mode 100755
new mode 100644
diff --git a/src/main/java/proverifspec/ProVerifQuery.java b/src/main/java/proverifspec/ProVerifQuery.java
old mode 100755
new mode 100644
diff --git a/src/main/java/proverifspec/ProVerifSpec.java b/src/main/java/proverifspec/ProVerifSpec.java
old mode 100755
new mode 100644
diff --git a/src/main/java/remotesimulation/CommandParser.java b/src/main/java/remotesimulation/CommandParser.java
old mode 100755
new mode 100644
diff --git a/src/main/java/remotesimulation/RemoteConnection.java b/src/main/java/remotesimulation/RemoteConnection.java
old mode 100755
new mode 100644
diff --git a/src/main/java/remotesimulation/RemoteConnectionException.java b/src/main/java/remotesimulation/RemoteConnectionException.java
old mode 100755
new mode 100644
diff --git a/src/main/java/remotesimulation/SimulationCommand.java b/src/main/java/remotesimulation/SimulationCommand.java
old mode 100755
new mode 100644
diff --git a/src/main/java/remotesimulation/SimulationCommandSaveState.java b/src/main/java/remotesimulation/SimulationCommandSaveState.java
old mode 100755
new mode 100644
diff --git a/src/main/java/req/ebrdd/EBRDDAttribute.java b/src/main/java/req/ebrdd/EBRDDAttribute.java
old mode 100755
new mode 100644
diff --git a/src/main/java/req/ebrdd/EBRDDChoice.java b/src/main/java/req/ebrdd/EBRDDChoice.java
old mode 100755
new mode 100644
diff --git a/src/main/java/req/ebrdd/EBRDDLoop.java b/src/main/java/req/ebrdd/EBRDDLoop.java
old mode 100755
new mode 100644
diff --git a/src/main/java/sddescription/Evt.java b/src/main/java/sddescription/Evt.java
old mode 100755
new mode 100644
diff --git a/src/main/java/sddescription/HMSC.java b/src/main/java/sddescription/HMSC.java
old mode 100755
new mode 100644
diff --git a/src/main/java/sddescription/HMSCElement.java b/src/main/java/sddescription/HMSCElement.java
old mode 100755
new mode 100644
diff --git a/src/main/java/sddescription/HMSCNode.java b/src/main/java/sddescription/HMSCNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/sddescription/Instance.java b/src/main/java/sddescription/Instance.java
old mode 100755
new mode 100644
diff --git a/src/main/java/sddescription/LinkEvts.java b/src/main/java/sddescription/LinkEvts.java
old mode 100755
new mode 100644
diff --git a/src/main/java/sddescription/MSC.java b/src/main/java/sddescription/MSC.java
old mode 100755
new mode 100644
diff --git a/src/main/java/sddescription/MalformedSDException.java b/src/main/java/sddescription/MalformedSDException.java
old mode 100755
new mode 100644
diff --git a/src/main/java/sddescription/Order.java b/src/main/java/sddescription/Order.java
old mode 100755
new mode 100644
diff --git a/src/main/java/sddescription/SDExchange.java b/src/main/java/sddescription/SDExchange.java
old mode 100755
new mode 100644
diff --git a/src/main/java/sddescription/TimeConstraint.java b/src/main/java/sddescription/TimeConstraint.java
old mode 100755
new mode 100644
diff --git a/src/main/java/sdtranslator/ActionEvt.java b/src/main/java/sdtranslator/ActionEvt.java
old mode 100755
new mode 100644
diff --git a/src/main/java/sdtranslator/ActionInstance.java b/src/main/java/sdtranslator/ActionInstance.java
old mode 100755
new mode 100644
diff --git a/src/main/java/sdtranslator/EvtToLink.java b/src/main/java/sdtranslator/EvtToLink.java
old mode 100755
new mode 100644
diff --git a/src/main/java/sdtranslator/SDTranslationException.java b/src/main/java/sdtranslator/SDTranslationException.java
old mode 100755
new mode 100644
diff --git a/src/main/java/sdtranslator/SDTranslator.java b/src/main/java/sdtranslator/SDTranslator.java
old mode 100755
new mode 100644
diff --git a/src/main/java/sdtranslator/TimeConstraintLink.java b/src/main/java/sdtranslator/TimeConstraintLink.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmatrix/RequirementModeling.java b/src/main/java/tmatrix/RequirementModeling.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmatrix/Requirements.java b/src/main/java/tmatrix/Requirements.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/DIPLOElement.java b/src/main/java/tmltranslator/DIPLOElement.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/HwA.java b/src/main/java/tmltranslator/HwA.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/HwBridge.java b/src/main/java/tmltranslator/HwBridge.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/HwBus.java b/src/main/java/tmltranslator/HwBus.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/HwCPU.java b/src/main/java/tmltranslator/HwCPU.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/HwCommunicationNode.java b/src/main/java/tmltranslator/HwCommunicationNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/HwCrossbar.java b/src/main/java/tmltranslator/HwCrossbar.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/HwDMA.java b/src/main/java/tmltranslator/HwDMA.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/HwExecutionNode.java b/src/main/java/tmltranslator/HwExecutionNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/HwFPGA.java b/src/main/java/tmltranslator/HwFPGA.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/HwLink.java b/src/main/java/tmltranslator/HwLink.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/HwMemory.java b/src/main/java/tmltranslator/HwMemory.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/HwNode.java b/src/main/java/tmltranslator/HwNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/HwVGMN.java b/src/main/java/tmltranslator/HwVGMN.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLActionState.java b/src/main/java/tmltranslator/TMLActionState.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLActivity.java b/src/main/java/tmltranslator/TMLActivity.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLActivityElement.java b/src/main/java/tmltranslator/TMLActivityElement.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLActivityElementChannel.java b/src/main/java/tmltranslator/TMLActivityElementChannel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLActivityElementEvent.java b/src/main/java/tmltranslator/TMLActivityElementEvent.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLActivityElementWithAction.java b/src/main/java/tmltranslator/TMLActivityElementWithAction.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLActivityElementWithIntervalAction.java b/src/main/java/tmltranslator/TMLActivityElementWithIntervalAction.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLArchiTextSpecification.java b/src/main/java/tmltranslator/TMLArchiTextSpecification.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLArchitecture.java b/src/main/java/tmltranslator/TMLArchitecture.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLAttribute.java b/src/main/java/tmltranslator/TMLAttribute.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLCP.java b/src/main/java/tmltranslator/TMLCP.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLCPError.java b/src/main/java/tmltranslator/TMLCPError.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLCPLib.java b/src/main/java/tmltranslator/TMLCPLib.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLCPLibArtifact.java b/src/main/java/tmltranslator/TMLCPLibArtifact.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLCPSyntaxChecking.java b/src/main/java/tmltranslator/TMLCPSyntaxChecking.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLCPTextSpecification.java b/src/main/java/tmltranslator/TMLCPTextSpecification.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLChannel.java b/src/main/java/tmltranslator/TMLChannel.java
old mode 100755
new mode 100644
index 717b2a5d6c5659c8dddb6858a9a6bff0019e12f8..8ddbfd1fe2849f0fb6b1b569a2c839bd6882c66c
--- a/src/main/java/tmltranslator/TMLChannel.java
+++ b/src/main/java/tmltranslator/TMLChannel.java
@@ -505,12 +505,7 @@ public class TMLChannel extends TMLCommunicationElement {
             }
             s += "destinationtask=\"" + destTask + "\" ";
             s += "destinationport=\"" + destPort + "\" ";
-            if (originPort != null) {
-                s += "dataFlowType=\"" + originPort.getDataFlowType() + "\" ";
-            } else if ((originPorts != null) && (originPorts.size() > 0)) {
-                TMLPort tmpP = originPorts.get(0);
-                s += "dataFlowType=\"" + tmpP.getDataFlowType() + "\" ";
-            }
+            s += "dataFlowType=\"" + originPort.getDataFlowType() + "\" ";
         }
         if (isAJoinChannel()) {
             s += "destinationtask=\"" + destinationTasks.get(0).getName() + "\" ";
@@ -547,4 +542,5 @@ public class TMLChannel extends TMLCommunicationElement {
         s += " />\n";
         return s;
     }
+
 }
diff --git a/src/main/java/tmltranslator/TMLChannelPath.java b/src/main/java/tmltranslator/TMLChannelPath.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLCheckingError.java b/src/main/java/tmltranslator/TMLCheckingError.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLChoice.java b/src/main/java/tmltranslator/TMLChoice.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLCommunicationElement.java b/src/main/java/tmltranslator/TMLCommunicationElement.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLDelay.java b/src/main/java/tmltranslator/TMLDelay.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLElement.java b/src/main/java/tmltranslator/TMLElement.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLError.java b/src/main/java/tmltranslator/TMLError.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLEvent.java b/src/main/java/tmltranslator/TMLEvent.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLExecC.java b/src/main/java/tmltranslator/TMLExecC.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLExecCInterval.java b/src/main/java/tmltranslator/TMLExecCInterval.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLExecI.java b/src/main/java/tmltranslator/TMLExecI.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLExecIInterval.java b/src/main/java/tmltranslator/TMLExecIInterval.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLForLoop.java b/src/main/java/tmltranslator/TMLForLoop.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLJunction.java b/src/main/java/tmltranslator/TMLJunction.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLMapping.java b/src/main/java/tmltranslator/TMLMapping.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLMappingTextSpecification.java b/src/main/java/tmltranslator/TMLMappingTextSpecification.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLModeling.java b/src/main/java/tmltranslator/TMLModeling.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLNotifiedEvent.java b/src/main/java/tmltranslator/TMLNotifiedEvent.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLParserSaveElt.java b/src/main/java/tmltranslator/TMLParserSaveElt.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLPort.java b/src/main/java/tmltranslator/TMLPort.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLRandom.java b/src/main/java/tmltranslator/TMLRandom.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLRandomSequence.java b/src/main/java/tmltranslator/TMLRandomSequence.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLReadChannel.java b/src/main/java/tmltranslator/TMLReadChannel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLRequest.java b/src/main/java/tmltranslator/TMLRequest.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLSDAttribute.java b/src/main/java/tmltranslator/TMLSDAttribute.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLSDType.java b/src/main/java/tmltranslator/TMLSDType.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLSelectEvt.java b/src/main/java/tmltranslator/TMLSelectEvt.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLSendEvent.java b/src/main/java/tmltranslator/TMLSendEvent.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLSendRequest.java b/src/main/java/tmltranslator/TMLSendRequest.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLSequence.java b/src/main/java/tmltranslator/TMLSequence.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLStartState.java b/src/main/java/tmltranslator/TMLStartState.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLStopState.java b/src/main/java/tmltranslator/TMLStopState.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLSyntaxChecking.java b/src/main/java/tmltranslator/TMLSyntaxChecking.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLTXTError.java b/src/main/java/tmltranslator/TMLTXTError.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLTask.java b/src/main/java/tmltranslator/TMLTask.java
old mode 100755
new mode 100644
index 8ded67bc9f98aa1dfb51be3c2de8dc7f1fe583fd..97c0ab92edee82db48146291be45b70f22748599
--- a/src/main/java/tmltranslator/TMLTask.java
+++ b/src/main/java/tmltranslator/TMLTask.java
@@ -51,15 +51,18 @@ import java.util.*;
  */
 public class TMLTask extends TMLElement {
     private TMLActivity activity;
+
     private boolean isRequested = false;
     private TMLRequest request;
     private List<TMLAttribute> attributes;
     private boolean mustExit = false;
     private int priority;
+
     private Set<TMLChannel> channelsList;
     private Set<TMLChannel> readTMLChannelsList;
     private Set<TMLChannel> writeTMLChannelsList;
     private Set<TMLEvent> eventsList;
+
     private int operationType;
 	private boolean isAttacker;
 
diff --git a/src/main/java/tmltranslator/TMLTextSpecification.java b/src/main/java/tmltranslator/TMLTextSpecification.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLType.java b/src/main/java/tmltranslator/TMLType.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLWaitEvent.java b/src/main/java/tmltranslator/TMLWaitEvent.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/TMLWriteChannel.java b/src/main/java/tmltranslator/TMLWriteChannel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/modelcompiler/CPMEC.java b/src/main/java/tmltranslator/modelcompiler/CPMEC.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/modelcompiler/CVariable.java b/src/main/java/tmltranslator/modelcompiler/CVariable.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/modelcompiler/DataTransfer.java b/src/main/java/tmltranslator/modelcompiler/DataTransfer.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/modelcompiler/DoubleDmaMEC.java b/src/main/java/tmltranslator/modelcompiler/DoubleDmaMEC.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/modelcompiler/FepOperationMEC.java b/src/main/java/tmltranslator/modelcompiler/FepOperationMEC.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/modelcompiler/Operation.java b/src/main/java/tmltranslator/modelcompiler/Operation.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/modelcompiler/OperationMEC.java b/src/main/java/tmltranslator/modelcompiler/OperationMEC.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/modelcompiler/Signal.java b/src/main/java/tmltranslator/modelcompiler/Signal.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/modelcompiler/SingleDmaMEC.java b/src/main/java/tmltranslator/modelcompiler/SingleDmaMEC.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/modelcompiler/TMLModelCompilerError.java b/src/main/java/tmltranslator/modelcompiler/TMLModelCompilerError.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/modelcompiler/TMLModelCompilerParser.java b/src/main/java/tmltranslator/modelcompiler/TMLModelCompilerParser.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/tmlcp/TMLCPActivityDiagram.java b/src/main/java/tmltranslator/tmlcp/TMLCPActivityDiagram.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/tmlcp/TMLCPChoice.java b/src/main/java/tmltranslator/tmlcp/TMLCPChoice.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/tmlcp/TMLCPConnector.java b/src/main/java/tmltranslator/tmlcp/TMLCPConnector.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/tmlcp/TMLCPElement.java b/src/main/java/tmltranslator/tmlcp/TMLCPElement.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/tmlcp/TMLCPEndGroup.java b/src/main/java/tmltranslator/tmlcp/TMLCPEndGroup.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/tmlcp/TMLCPForLoop.java b/src/main/java/tmltranslator/tmlcp/TMLCPForLoop.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/tmlcp/TMLCPFork.java b/src/main/java/tmltranslator/tmlcp/TMLCPFork.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/tmlcp/TMLCPJoin.java b/src/main/java/tmltranslator/tmlcp/TMLCPJoin.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/tmlcp/TMLCPJunction.java b/src/main/java/tmltranslator/tmlcp/TMLCPJunction.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/tmlcp/TMLCPRefAD.java b/src/main/java/tmltranslator/tmlcp/TMLCPRefAD.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/tmlcp/TMLCPRefSD.java b/src/main/java/tmltranslator/tmlcp/TMLCPRefSD.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/tmlcp/TMLCPSequence.java b/src/main/java/tmltranslator/tmlcp/TMLCPSequence.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/tmlcp/TMLCPSequenceDiagram.java b/src/main/java/tmltranslator/tmlcp/TMLCPSequenceDiagram.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/tmlcp/TMLCPStart.java b/src/main/java/tmltranslator/tmlcp/TMLCPStart.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/tmlcp/TMLCPStartGroup.java b/src/main/java/tmltranslator/tmlcp/TMLCPStartGroup.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/tmlcp/TMLCPStop.java b/src/main/java/tmltranslator/tmlcp/TMLCPStop.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/tmlcp/TMLSDAction.java b/src/main/java/tmltranslator/tmlcp/TMLSDAction.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/tmlcp/TMLSDElement.java b/src/main/java/tmltranslator/tmlcp/TMLSDElement.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/tmlcp/TMLSDEvent.java b/src/main/java/tmltranslator/tmlcp/TMLSDEvent.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/tmlcp/TMLSDInstance.java b/src/main/java/tmltranslator/tmlcp/TMLSDInstance.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/tmlcp/TMLSDMessage.java b/src/main/java/tmltranslator/tmlcp/TMLSDMessage.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/tmlcp/TMLSDMessageManipulation.java b/src/main/java/tmltranslator/tmlcp/TMLSDMessageManipulation.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/tmlcp/TMLSDReceiveMessage.java b/src/main/java/tmltranslator/tmlcp/TMLSDReceiveMessage.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/tmlcp/TMLSDSendMessage.java b/src/main/java/tmltranslator/tmlcp/TMLSDSendMessage.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/toautomata/TML2AUT.java b/src/main/java/tmltranslator/toautomata/TML2AUT.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/toautomata/TML2AUTviaLOTOS.java b/src/main/java/tmltranslator/toautomata/TML2AUTviaLOTOS.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/tomappingsystemc/MappedSystemCTask.java b/src/main/java/tmltranslator/tomappingsystemc/MappedSystemCTask.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/tomappingsystemc/TML2MappingSystemC.java b/src/main/java/tmltranslator/tomappingsystemc/TML2MappingSystemC.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/tosystemc/SystemCTask.java b/src/main/java/tmltranslator/tosystemc/SystemCTask.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/tosystemc/TML2SystemC.java b/src/main/java/tmltranslator/tosystemc/TML2SystemC.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/toturtle/Mapping2TIF.java b/src/main/java/tmltranslator/toturtle/Mapping2TIF.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/toturtle/TML2TURTLE.java b/src/main/java/tmltranslator/toturtle/TML2TURTLE.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/touppaal/RelationTMLUPPAAL.java b/src/main/java/tmltranslator/touppaal/RelationTMLUPPAAL.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/touppaal/TML2UPPAAL.java b/src/main/java/tmltranslator/touppaal/TML2UPPAAL.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/touppaal/TMLActivityElementLocation.java b/src/main/java/tmltranslator/touppaal/TMLActivityElementLocation.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tmltranslator/touppaal/TMLTaskTemplate.java b/src/main/java/tmltranslator/touppaal/TMLTaskTemplate.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tpndescription/Place.java b/src/main/java/tpndescription/Place.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tpndescription/TPN.java b/src/main/java/tpndescription/TPN.java
old mode 100755
new mode 100644
diff --git a/src/main/java/tpndescription/Transition.java b/src/main/java/tpndescription/Transition.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/ADActionState.java b/src/main/java/translator/ADActionState.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/ADActionStateWithGate.java b/src/main/java/translator/ADActionStateWithGate.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/ADActionStateWithMultipleParam.java b/src/main/java/translator/ADActionStateWithMultipleParam.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/ADActionStateWithParam.java b/src/main/java/translator/ADActionStateWithParam.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/ADChoice.java b/src/main/java/translator/ADChoice.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/ADComponent.java b/src/main/java/translator/ADComponent.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/ADDelay.java b/src/main/java/translator/ADDelay.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/ADEmpty.java b/src/main/java/translator/ADEmpty.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/ADJunction.java b/src/main/java/translator/ADJunction.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/ADLatency.java b/src/main/java/translator/ADLatency.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/ADParallel.java b/src/main/java/translator/ADParallel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/ADPreempt.java b/src/main/java/translator/ADPreempt.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/ADSequence.java b/src/main/java/translator/ADSequence.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/ADStart.java b/src/main/java/translator/ADStart.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/ADStop.java b/src/main/java/translator/ADStop.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/ADTLO.java b/src/main/java/translator/ADTLO.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/ADTimeCapture.java b/src/main/java/translator/ADTimeCapture.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/ADTimeInterval.java b/src/main/java/translator/ADTimeInterval.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/AbsoluteTimeConstraintTClass.java b/src/main/java/translator/AbsoluteTimeConstraintTClass.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/ActivityDiagram.java b/src/main/java/translator/ActivityDiagram.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/BasicTimer.java b/src/main/java/translator/BasicTimer.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/CheckingError.java b/src/main/java/translator/CheckingError.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/FIFOFiniteAndGetSizeTClass.java b/src/main/java/translator/FIFOFiniteAndGetSizeTClass.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/FIFOInfiniteAndGetSizeTClass.java b/src/main/java/translator/FIFOInfiniteAndGetSizeTClass.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/FIFOSizeTClass.java b/src/main/java/translator/FIFOSizeTClass.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/FIFOTClass.java b/src/main/java/translator/FIFOTClass.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/Gate.java b/src/main/java/translator/Gate.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/GroupOfGates.java b/src/main/java/translator/GroupOfGates.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/HLProcess.java b/src/main/java/translator/HLProcess.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/JKeyword.java b/src/main/java/translator/JKeyword.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/MalformedTIFException.java b/src/main/java/translator/MalformedTIFException.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/MasterGateManager.java b/src/main/java/translator/MasterGateManager.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/MultiIncomingElt.java b/src/main/java/translator/MultiIncomingElt.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/NonBlockingADComponent.java b/src/main/java/translator/NonBlockingADComponent.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/Param.java b/src/main/java/translator/Param.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/Process.java b/src/main/java/translator/Process.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/RTLOTOSKeyword.java b/src/main/java/translator/RTLOTOSKeyword.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/Relation.java b/src/main/java/translator/Relation.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/RelativeTimeConstraintTClass.java b/src/main/java/translator/RelativeTimeConstraintTClass.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/TClass.java b/src/main/java/translator/TClass.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/TClassBasicFIFO.java b/src/main/java/translator/TClassBasicFIFO.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/TClassBuffer.java b/src/main/java/translator/TClassBuffer.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/TClassBufferIn.java b/src/main/java/translator/TClassBufferIn.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/TClassBufferOut.java b/src/main/java/translator/TClassBufferOut.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/TClassChannelBRBW.java b/src/main/java/translator/TClassChannelBRBW.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/TClassChannelBRNBW.java b/src/main/java/translator/TClassChannelBRNBW.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/TClassChannelNBRNBW.java b/src/main/java/translator/TClassChannelNBRNBW.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/TClassEvent.java b/src/main/java/translator/TClassEvent.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/TClassEventCommon.java b/src/main/java/translator/TClassEventCommon.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/TClassEventFinite.java b/src/main/java/translator/TClassEventFinite.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/TClassEventFiniteBlocking.java b/src/main/java/translator/TClassEventFiniteBlocking.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/TClassEventInfinite.java b/src/main/java/translator/TClassEventInfinite.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/TClassGate.java b/src/main/java/translator/TClassGate.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/TClassInfiniteFIFO.java b/src/main/java/translator/TClassInfiniteFIFO.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/TClassRequest.java b/src/main/java/translator/TClassRequest.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/TIFExchange.java b/src/main/java/translator/TIFExchange.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/TIFExpressionTree.java b/src/main/java/translator/TIFExpressionTree.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/TIFTreeNode.java b/src/main/java/translator/TIFTreeNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/TURTLEModeling.java b/src/main/java/translator/TURTLEModeling.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/TURTLETranslator.java b/src/main/java/translator/TURTLETranslator.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/TimeConstraintTClass.java b/src/main/java/translator/TimeConstraintTClass.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/tojava/ComponentId.java b/src/main/java/translator/tojava/ComponentId.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/tojava/JAttribute.java b/src/main/java/translator/tojava/JAttribute.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/tojava/JGate.java b/src/main/java/translator/tojava/JGate.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/tojava/JOperation.java b/src/main/java/translator/tojava/JOperation.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/tojava/JavaClass.java b/src/main/java/translator/tojava/JavaClass.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/tojava/MainClass.java b/src/main/java/translator/tojava/MainClass.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/tojava/TURTLE2Java.java b/src/main/java/translator/tojava/TURTLE2Java.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/tosimujava/JSimuGate.java b/src/main/java/translator/tosimujava/JSimuGate.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/tosimujava/MainClassSimu.java b/src/main/java/translator/tosimujava/MainClassSimu.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/tosimujava/TJavaProcess.java b/src/main/java/translator/tosimujava/TJavaProcess.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/tosimujava/TURTLE2SimuJava.java b/src/main/java/translator/tosimujava/TURTLE2SimuJava.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/totpn/TURTLE2TPN.java b/src/main/java/translator/totpn/TURTLE2TPN.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/touppaal/ADComponentLocation.java b/src/main/java/translator/touppaal/ADComponentLocation.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/touppaal/RelationTIFUPPAAL.java b/src/main/java/translator/touppaal/RelationTIFUPPAAL.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/touppaal/TClassTemplate.java b/src/main/java/translator/touppaal/TClassTemplate.java
old mode 100755
new mode 100644
diff --git a/src/main/java/translator/touppaal/TURTLE2UPPAAL.java b/src/main/java/translator/touppaal/TURTLE2UPPAAL.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ADDPanel.java b/src/main/java/ui/ADDPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ActionPerformer.java b/src/main/java/ui/ActionPerformer.java
old mode 100755
new mode 100644
index 0e6085e0ea65bc5bd8264eca9f864114ed9293b7..b707d7c7127c6b0c9ddca1d68bdb2b3a28ca496a
--- a/src/main/java/ui/ActionPerformer.java
+++ b/src/main/java/ui/ActionPerformer.java
@@ -81,10 +81,8 @@ public class ActionPerformer {
             mgui.openLastProject();
         } else if (command.equals(mgui.actions[TGUIAction.ACT_SAVE].getActionCommand())) {
             mgui.saveProject();
-        } else if (command.equals(mgui.actions[TGUIAction.ACT_SAVE_AS_MODEL].getActionCommand())) {
-            mgui.saveAsNewModel();
-        } else if (command.equals(mgui.actions[TGUIAction.ACT_SAVE_AS_PROJECT].getActionCommand())) {
-            mgui.saveAsNewProject();
+        } else if (command.equals(mgui.actions[TGUIAction.ACT_SAVE_AS].getActionCommand())) {
+            mgui.saveAsProject();
         } else if (command.equals(mgui.actions[TGUIAction.ACT_SAVE_TIF].getActionCommand())) {
             mgui.saveTIF();
         } else if (command.equals(mgui.actions[TGUIAction.ACT_OPEN_TIF].getActionCommand())) {
@@ -908,13 +906,23 @@ public class ActionPerformer {
         } else if (command.equals(mgui.actions[TGUIAction.TMLSD_ACTION_STATE].getActionCommand())) {
             mgui.actionOnButton(TGComponentManager.COMPONENT, TGComponentManager.TMLSD_ACTION_STATE);
 
-	    //SystemC AMS
-	} else if (command.equals(mgui.actions[TGUIAction.CAMS_EDIT].getActionCommand())) {
+	    // SystemC-AMS
+        } else if (command.equals(mgui.actions[TGUIAction.CAMS_EDIT].getActionCommand())) {
             mgui.actionOnButton(TGComponentManager.EDIT, -1);
-	} else if (command.equals(mgui.actions[TGUIAction.CAMS_BLOCK].getActionCommand())) {
-            mgui.actionOnButton(TGComponentManager.COMPONENT, TGComponentManager.CAMS_BLOCK);
+        } else if (command.equals(mgui.actions[TGUIAction.CAMS_BLOCK_TDF].getActionCommand())) {
+            mgui.actionOnButton(TGComponentManager.COMPONENT, TGComponentManager.CAMS_BLOCK_TDF);
+        } else if (command.equals(mgui.actions[TGUIAction.CAMS_BLOCK_DE].getActionCommand())) {
+        	mgui.actionOnButton(TGComponentManager.COMPONENT, TGComponentManager.CAMS_BLOCK_DE);
         } else if (command.equals(mgui.actions[TGUIAction.CAMS_CONNECTOR].getActionCommand())) {
-	    mgui.actionOnButton(TGComponentManager.COMPONENT, TGComponentManager.CAMS_CONNECTOR);
+        	mgui.actionOnButton(TGComponentManager.COMPONENT, TGComponentManager.CAMS_CONNECTOR);
+        } else if (command.equals(mgui.actions[TGUIAction.CAMS_PORT_TDF].getActionCommand())) {
+        	mgui.actionOnButton(TGComponentManager.COMPONENT, TGComponentManager.CAMS_PORT_TDF);
+        } else if (command.equals(mgui.actions[TGUIAction.CAMS_PORT_DE].getActionCommand())) {
+        	mgui.actionOnButton(TGComponentManager.COMPONENT, TGComponentManager.CAMS_PORT_DE);
+        } else if (command.equals(mgui.actions[TGUIAction.CAMS_PORT_CONVERTER].getActionCommand())) {
+        	mgui.actionOnButton(TGComponentManager.COMPONENT, TGComponentManager.CAMS_PORT_CONVERTER);
+        } else if (command.equals(mgui.actions[TGUIAction.CAMS_CLUSTER].getActionCommand())) {
+        	mgui.actionOnButton(TGComponentManager.COMPONENT, TGComponentManager.CAMS_CLUSTER);
 
             // Attack Tree Diagrams
         } else if (command.equals(mgui.actions[TGUIAction.ATD_BLOCK].getActionCommand())) {
diff --git a/src/main/java/ui/ActionStateErrorHighlight.java b/src/main/java/ui/ActionStateErrorHighlight.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ActivityDiagramPanelInterface.java b/src/main/java/ui/ActivityDiagramPanelInterface.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/AnalysisPanel.java b/src/main/java/ui/AnalysisPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/AnalysisPanelTranslator.java b/src/main/java/ui/AnalysisPanelTranslator.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/AnalysisSyntaxException.java b/src/main/java/ui/AnalysisSyntaxException.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ArtifactTClassGate.java b/src/main/java/ui/ArtifactTClassGate.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/AttackTreePanel.java b/src/main/java/ui/AttackTreePanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/AvatarAnalysisPanel.java b/src/main/java/ui/AvatarAnalysisPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/AvatarMethodologyPanel.java b/src/main/java/ui/AvatarMethodologyPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/AvatarRequirementPanel.java b/src/main/java/ui/AvatarRequirementPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/BasicErrorHighlight.java b/src/main/java/ui/BasicErrorHighlight.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/CDElement.java b/src/main/java/ui/CDElement.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/CanBeDisabled.java b/src/main/java/ui/CanBeDisabled.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/CheckableAccessibility.java b/src/main/java/ui/CheckableAccessibility.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/CheckableInvariant.java b/src/main/java/ui/CheckableInvariant.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ClassDiagramPanelInterface.java b/src/main/java/ui/ClassDiagramPanelInterface.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ColorManager.java b/src/main/java/ui/ColorManager.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ComponentPluginInterface.java b/src/main/java/ui/ComponentPluginInterface.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/CompositionOperatorInterface.java b/src/main/java/ui/CompositionOperatorInterface.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/CorrespondanceTGElement.java b/src/main/java/ui/CorrespondanceTGElement.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/DeploymentPanel.java b/src/main/java/ui/DeploymentPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/DesignPanel.java b/src/main/java/ui/DesignPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/DesignPanelTranslator.java b/src/main/java/ui/DesignPanelTranslator.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/DiplodocusMethodologyPanel.java b/src/main/java/ui/DiplodocusMethodologyPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/DocumentationGenerator.java b/src/main/java/ui/DocumentationGenerator.java
index c7883afab82792284cab2b4a03c55e5d0e58ef20..a5933533ab9678c6d77f59b08208d8ba6f293f9c 100644
--- a/src/main/java/ui/DocumentationGenerator.java
+++ b/src/main/java/ui/DocumentationGenerator.java
@@ -37,15 +37,10 @@
  */
 
 
-
-
-
 package ui;
 
-import myutil.Conversion;
-import myutil.FileException;
-import myutil.FileUtils;
-import myutil.SteppedAlgorithm;
+import common.SpecConfigTTool;
+import myutil.*;
 import ui.ad.TActivityDiagramPanel;
 import ui.avatarsmd.AvatarSMDPanel;
 import ui.dd.TDeploymentDiagramPanel;
@@ -56,10 +51,6 @@ import ui.util.DefaultText;
 
 import javax.imageio.ImageIO;
 import javax.swing.*;
-
-import common.ConfigurationTTool;
-import common.SpecConfigTTool;
-
 import java.awt.image.BufferedImage;
 import java.io.File;
 import java.io.IOException;
@@ -73,8 +64,9 @@ import java.util.Vector;
  * Class DocumentationGenerator
  * Generation of documentation from TTool diagrams
  * Creation: 19/09/2008
- * @version 2.0 02/03/2016
+ *
  * @author Ludovic APVRILLE
+ * @version 2.0 02/03/2016
  */
 public class DocumentationGenerator implements SteppedAlgorithm, StoppableGUIElement {
 
@@ -91,7 +83,7 @@ public class DocumentationGenerator implements SteppedAlgorithm, StoppableGUIEle
     private String texIncludeFileNameSvg = "diagsvg.tex";
     private final String path;
 
-	private String projectName;
+    private String projectName;
 
     private int cpt, total; // For loops -> to know at which point it is of its algorithm
     private boolean finished = false;
@@ -114,7 +106,7 @@ public class DocumentationGenerator implements SteppedAlgorithm, StoppableGUIEle
         projectName = _projectName;
 
         //int i,j;
-        for( int i=0; i<panels.size(); i++) {
+        for (int i = 0; i < panels.size(); i++) {
             TURTLEPanel tp = panels.elementAt(i);
             total += tp.panels.size();
         }
@@ -127,10 +119,10 @@ public class DocumentationGenerator implements SteppedAlgorithm, StoppableGUIEle
     public String getDocumentation() {
         return doc;
     }
-    
+
     public String getPath() {
-		return path;
-	}
+        return path;
+    }
 
     public String getMainLatexDocumentation() {
         return mainLatexDoc;
@@ -153,7 +145,7 @@ public class DocumentationGenerator implements SteppedAlgorithm, StoppableGUIEle
         go = true;
     }
 
-    public void stopElement(){
+    public void stopElement() {
         go = false;
     }
 
@@ -175,7 +167,7 @@ public class DocumentationGenerator implements SteppedAlgorithm, StoppableGUIEle
     }
 
     public boolean generateDocumentation() {
-        int i,j;
+        int i, j;
         cpt = 0;
         BufferedImage image;
         String svgImg;
@@ -183,48 +175,49 @@ public class DocumentationGenerator implements SteppedAlgorithm, StoppableGUIEle
         TDiagramPanel tdp;
         File file1;
         //String tmp, tmpForRef;
-        
-        final File docFolder = new File( getPath() );
-        
-        if ( !docFolder.exists() ) {
-        	docFolder.mkdir();
-    
-    		final String makefileName = File.separator + "Makefile";
-        	final File makeFile = new File( SpecConfigTTool.IMGPath + makefileName );
-        	
-        	try {
-	        	if ( makeFile.exists() ) {
-	        		Files.copy( makeFile.toPath(), new File( getPath() + makefileName ).toPath() );
-	        	}
-	            
-	    		final String mliFileName = File.separator + "mli.mk";
-	        	final File mliFile = new File( SpecConfigTTool.IMGPath + mliFileName );
-	        	
-	        	if ( mliFile.exists() ) {
-	        		Files.copy( mliFile.toPath(), new File( getPath() + mliFileName ).toPath() );
-	        	}
-        	}
-        	catch( final IOException ex ) {
-        		ex.printStackTrace();
-        	}
+
+        TraceManager.addDev("Path=" + getPath());
+
+        final File docFolder = new File(getPath());
+
+        if (!docFolder.exists()) {
+            docFolder.mkdir();
+
+            final String makefileName = File.separator + "Makefile";
+            final File makeFile = new File(SpecConfigTTool.IMGPath + makefileName);
+
+            try {
+                if (makeFile.exists()) {
+                    Files.copy(makeFile.toPath(), new File(getPath() + makefileName).toPath());
+                }
+
+                final String mliFileName = File.separator + "mli.mk";
+                final File mliFile = new File(SpecConfigTTool.IMGPath + mliFileName);
+
+                if (mliFile.exists()) {
+                    Files.copy(mliFile.toPath(), new File(getPath() + mliFileName).toPath());
+                }
+            } catch (final IOException ex) {
+                ex.printStackTrace();
+            }
         }
 
-		mainLatexDoc = getLatexDocumentationHeader(projectName);
-		includeLatexDoc = getIncludeLatexDocumentationHeader(projectName);
-		mainLatexDocSvg = getLatexDocumentationHeaderSvg(projectName);
-		includeLatexDocSvg = getIncludeLatexDocumentationHeaderSvg(projectName);
-	
+        mainLatexDoc = getLatexDocumentationHeader(projectName);
+        includeLatexDoc = getIncludeLatexDocumentationHeader(projectName);
+        mainLatexDocSvg = getLatexDocumentationHeaderSvg(projectName);
+        includeLatexDocSvg = getIncludeLatexDocumentationHeaderSvg(projectName);
+
         doc = "";
         doc += "<html>\n";
         doc += getDocumentationHeader(projectName);
         doc += "<body>\n";
 
-        doc +="<center><h1>" + title + "</h1></center>\n";
-        doc +="<center><b><h1>" + projectName + "</h1></b></center>\n<br><br>\n";
+        doc += "<center><h1>" + title + "</h1></center>\n";
+        doc += "<center><b><h1>" + projectName + "</h1></b></center>\n<br><br>\n";
 
         docSvg = doc;
-	
-        for(i=0; i<panels.size(); i++) {
+
+        for (i = 0; i < panels.size(); i++) {
             tp = panels.elementAt(i);
 
             String mainTitle = mainTabbedPane.getTitleAt(i);
@@ -240,13 +233,11 @@ public class DocumentationGenerator implements SteppedAlgorithm, StoppableGUIEle
                 tmp = "DIPLODOCUS Architecture / Mapping Modeling: " + tmp;
 		}*/
             if (tp instanceof DesignPanel) {
-            	mainTitle = "TURTLE Design";
-            }
-            else if (tp instanceof AnalysisPanel) {
-            	mainTitle = "TURTLE Analysis";
-            }
-            else if (tp instanceof DeploymentPanel) {
-            	mainTitle = "TURTLE Deployment";
+                mainTitle = "TURTLE Design";
+            } else if (tp instanceof AnalysisPanel) {
+                mainTitle = "TURTLE Analysis";
+            } else if (tp instanceof DeploymentPanel) {
+                mainTitle = "TURTLE Deployment";
             }
 
             // Issue #32: This should only be done for Latex
@@ -258,144 +249,138 @@ public class DocumentationGenerator implements SteppedAlgorithm, StoppableGUIEle
 
             // Latex
             // Issue #32: This should only be done for Latex
-            final String latexMainTitle = Conversion.replaceAllChar( mainTitle, '_', "\\_" );
-		    includeLatexDoc += "\\section{" + latexMainTitle + "}\n";
-		    includeLatexDocSvg += "\\section{" + latexMainTitle + "}\n";
-	    
-            for(j=0; j<tp.panels.size(); j++) {
+            final String latexMainTitle = Conversion.replaceAllChar(mainTitle, '_', "\\_");
+            includeLatexDoc += "\\section{" + latexMainTitle + "}\n";
+            includeLatexDocSvg += "\\section{" + latexMainTitle + "}\n";
+
+            for (j = 0; j < tp.panels.size(); j++) {
                 if (go == false) {
                     return false;
                 }
 
                 tdp = tp.panels.elementAt(j);
 
-                String subTitle  = tp.tabbedPane.getTitleAt(j);
+                String subTitle = tp.tabbedPane.getTitleAt(j);
 
-				String tmpForRef = Conversion.replaceAllChar( subTitle, '_', "" );
-				tmpForRef += tmpForRef + i + j;
+                String tmpForRef = Conversion.replaceAllChar(subTitle, '_', "");
+                tmpForRef += tmpForRef + i + j;
 //				tmp = Conversion.replaceAllChar(tmp, '_', "\\_");
 
                 if (tdp instanceof TMLActivityDiagramPanel) {
-                	subTitle = "Behavior of Task: " + subTitle;
-                }
-                else if (tdp instanceof AvatarSMDPanel) {
-                	subTitle = "Behavior of Block: " + subTitle;
-                }
-                else  if (tdp instanceof TActivityDiagramPanel) {
-                	subTitle = "Behavior of TClass: " + subTitle;
-                }
-                else if (tdp instanceof TMLTaskDiagramPanel) {
-                	subTitle = "Task and communications between tasks";
-                }
-                else if (tdp instanceof TMLArchiDiagramPanel) {
-                	subTitle = "Architecture or Mapping of " + panelName;
-                }
-                else if (tdp instanceof TDeploymentDiagramPanel) {
-                	subTitle = "";
+                    subTitle = "Behavior of Task: " + subTitle;
+                } else if (tdp instanceof AvatarSMDPanel) {
+                    subTitle = "Behavior of Block: " + subTitle;
+                } else if (tdp instanceof TActivityDiagramPanel) {
+                    subTitle = "Behavior of TClass: " + subTitle;
+                } else if (tdp instanceof TMLTaskDiagramPanel) {
+                    subTitle = "Task and communications between tasks";
+                } else if (tdp instanceof TMLArchiDiagramPanel) {
+                    subTitle = "Architecture or Mapping of " + panelName;
+                } else if (tdp instanceof TDeploymentDiagramPanel) {
+                    subTitle = "";
                 }
 
-				String imgName = "img_" + i + "_" + j + ".png";
-				
-				// Issue #32: Wrong name
-				String imgNameSvg = "img_" + i + "_" + j;
-			
-				// HTML
-                doc += "<h" + (firstHeadingNumber+1) + ">" + subTitle + "</h" + (firstHeadingNumber+1) + ">\n";
-                docSvg += "<h" + (firstHeadingNumber+1) + ">" + subTitle + "</h" + (firstHeadingNumber+1) + ">\n";
-		
-				// Latex
-				final String latexSubtitle = Conversion.replaceAllChar( subTitle, '_', "\\_");
-				includeLatexDoc += "\\subsection{" + latexSubtitle + "}\n";
-				includeLatexDoc += "Figures \\ref{fig:" + tmpForRef  + "} presents ...\n";
-				includeLatexDoc += "\\begin{figure*}[htb]\n\\centering\n";
-				includeLatexDoc += "\\includegraphics[width=\\textwidth]{" + imgName + "}\n";
-				includeLatexDoc += "\\caption{Diagram \"" + latexSubtitle + "\"}\n\\label{fig:" + tmpForRef + "}\n\\end{figure*}\n\n"; 
-		
-				includeLatexDocSvg += "\\subsection{" + latexSubtitle + "}\n";
-				includeLatexDocSvg += "Figures \\ref{fig:" + tmpForRef  + "} presents ...\n";
-				includeLatexDocSvg += "\\begin{figure*}[htb]\n\\centering\n";
-				includeLatexDocSvg += "\\includegraphics[width=\\textwidth]{" + imgNameSvg + "-svg.pdf}\n";
-				includeLatexDocSvg += "\\caption{Diagram \"" + latexSubtitle + "\"}\n\\label{fig:" + tmpForRef + "}\n\\end{figure*}\n\n"; 
-				
-				// Capturing the diagram		
+                String imgName = "img_" + i + "_" + j + ".png";
+
+                // Issue #32: Wrong name
+                String imgNameSvg = "img_" + i + "_" + j;
+
+                // HTML
+                doc += "<h" + (firstHeadingNumber + 1) + ">" + subTitle + "</h" + (firstHeadingNumber + 1) + ">\n";
+                docSvg += "<h" + (firstHeadingNumber + 1) + ">" + subTitle + "</h" + (firstHeadingNumber + 1) + ">\n";
+
+                // Latex
+                final String latexSubtitle = Conversion.replaceAllChar(subTitle, '_', "\\_");
+                includeLatexDoc += "\\subsection{" + latexSubtitle + "}\n";
+                includeLatexDoc += "Figures \\ref{fig:" + tmpForRef + "} presents ...\n";
+                includeLatexDoc += "\\begin{figure*}[htb]\n\\centering\n";
+                includeLatexDoc += "\\includegraphics[width=\\textwidth]{" + imgName + "}\n";
+                includeLatexDoc += "\\caption{Diagram \"" + latexSubtitle + "\"}\n\\label{fig:" + tmpForRef + "}\n\\end{figure*}\n\n";
+
+                includeLatexDocSvg += "\\subsection{" + latexSubtitle + "}\n";
+                includeLatexDocSvg += "Figures \\ref{fig:" + tmpForRef + "} presents ...\n";
+                includeLatexDocSvg += "\\begin{figure*}[htb]\n\\centering\n";
+                includeLatexDocSvg += "\\includegraphics[width=\\textwidth]{" + imgNameSvg + "-svg.pdf}\n";
+                includeLatexDocSvg += "\\caption{Diagram \"" + latexSubtitle + "\"}\n\\label{fig:" + tmpForRef + "}\n\\end{figure*}\n\n";
+
+                // Capturing the diagram
                 image = tdp.performMinimalCapture();
                 svgImg = tdp.svgCapture();
-                file1 = new File(path+imgName);
-                
+                file1 = new File(path + imgName);
+
                 try {
                     // save captured image to PNG file
                     ImageIO.write(image, "png", file1);
-                    FileUtils.saveFile(path+imgNameSvg+".svg", svgImg);
+                    FileUtils.saveFile(path + imgNameSvg + ".svg", svgImg);
                     //doc += "<center><img src=\"img_" + i + "_" + j + ".png\" align=\"middle\" title=\"" + tmp + "\"></center>\n";
-				    doc += "<center><img src=\"img_" + i + "_" + j + ".png\" align=\"middle\" title=\"" + subTitle + "\"></center>\n";
-				    docSvg += "<center><img src=\"img_" + i + "_" + j + ".svg\" align=\"middle\" title=\"" + subTitle + "\"></center>\n";
-                }
-                catch (Exception e) {
+                    doc += "<center><img src=\"img_" + i + "_" + j + ".png\" align=\"middle\" title=\"" + subTitle + "\"></center>\n";
+                    docSvg += "<center><img src=\"img_" + i + "_" + j + ".svg\" align=\"middle\" title=\"" + subTitle + "\"></center>\n";
+                } catch (Exception e) {
                     System.out.println("Image (" + i + ", " + j + ") could not be captured");
                     e.printStackTrace();
                 }
-                
-                cpt ++;
+
+                cpt++;
             }
         }
 
-        doc+="</body>\n</html>";
-        docSvg+="</body>\n</html>";
+        doc += "</body>\n</html>";
+        docSvg += "</body>\n</html>";
 
         try {
-            FileUtils.saveFile(path+fileName, doc);	    
+            FileUtils.saveFile(path + fileName, doc);
         } catch (FileException fe) {
-        	fe.printStackTrace();
+            fe.printStackTrace();
             System.out.println("HTML file could not be saved");
 
             return false;
         }
 
         try {
-            FileUtils.saveFile(path+fileNameSvg, docSvg);	    
+            FileUtils.saveFile(path + fileNameSvg, docSvg);
         } catch (FileException fe) {
-        	fe.printStackTrace();
-        	System.out.println("HTML file with svg img could not be saved");
+            fe.printStackTrace();
+            System.out.println("HTML file with svg img could not be saved");
 
-        	return false;
+            return false;
         }
 
         try {
-            FileUtils.saveFile(path+texFileName, mainLatexDoc);	    
+            FileUtils.saveFile(path + texFileName, mainLatexDoc);
         } catch (FileException fe) {
-        	fe.printStackTrace();
+            fe.printStackTrace();
             System.out.println("Main latex file could not be saved");
 
             return false;
         }
 
-		try {
-            FileUtils.saveFile(path+texIncludeFileName, includeLatexDoc);	    
+        try {
+            FileUtils.saveFile(path + texIncludeFileName, includeLatexDoc);
         } catch (FileException fe) {
-        	fe.printStackTrace();
+            fe.printStackTrace();
             System.out.println("Include latex file could not be saved");
 
-        	return false;
+            return false;
         }
-	
-		try {
-            FileUtils.saveFile(path+texFileNameSvg, mainLatexDocSvg);	    
+
+        try {
+            FileUtils.saveFile(path + texFileNameSvg, mainLatexDocSvg);
         } catch (FileException fe) {
-        	fe.printStackTrace();
+            fe.printStackTrace();
             System.out.println("Main latex svg file could not be saved");
 
             return false;
         }
 
-		try {
-            FileUtils.saveFile(path+texIncludeFileNameSvg, includeLatexDocSvg);	    
+        try {
+            FileUtils.saveFile(path + texIncludeFileNameSvg, includeLatexDocSvg);
         } catch (FileException fe) {
-        	fe.printStackTrace();
-            System.out.println("include latex svg file could not be saved");
+            fe.printStackTrace();
+            System.out.println("included svg file could not be saved");
 
             return false;
         }
-	
+
 
         finished = true;
 
@@ -403,55 +388,55 @@ public class DocumentationGenerator implements SteppedAlgorithm, StoppableGUIEle
     }
 
     public int getPercentage() {
-        return (cpt*100) / total;
+        return (cpt * 100) / total;
     }
 
-    public  String getDocumentationHeader(String _projectName) {
-        GregorianCalendar calendar = (GregorianCalendar)GregorianCalendar.getInstance();
+    public String getDocumentationHeader(String _projectName) {
+        GregorianCalendar calendar = (GregorianCalendar) GregorianCalendar.getInstance();
         Date date = calendar.getTime();
         SimpleDateFormat formatter = new SimpleDateFormat("MM/dd/yyyy HH:mm");
         String formattedDate = formatter.format(date);
 
-        String tmpdoc="";
+        String tmpdoc = "";
         tmpdoc += "<!----- Automatically generated by TTool version ";
         tmpdoc += DefaultText.getVersion();
         tmpdoc += " generation date: " + formattedDate;
         tmpdoc += "---->\n";
         tmpdoc += "\n<head>\n<title>";
-        tmpdoc += getTitle() + ": " +_projectName;
+        tmpdoc += getTitle() + ": " + _projectName;
         tmpdoc += "</title>\n</head>\n";
         return tmpdoc;
     }
 
-    
-    public  String getLatexDocumentationHeader(String _projectName) {
-        GregorianCalendar calendar = (GregorianCalendar)GregorianCalendar.getInstance();
+
+    public String getLatexDocumentationHeader(String _projectName) {
+        GregorianCalendar calendar = (GregorianCalendar) GregorianCalendar.getInstance();
         Date date = calendar.getTime();
         SimpleDateFormat formatter = new SimpleDateFormat("MM/dd/yyyy HH:mm");
         String formattedDate = formatter.format(date);
 
-        String tmpdoc="";
+        String tmpdoc = "";
         tmpdoc += "%----- Automatically generated by TTool version ";
         tmpdoc += DefaultText.getVersion();
         tmpdoc += " generation date: " + formattedDate;
         tmpdoc += "----\n";
-	tmpdoc += "\\documentclass[11pt,a4paper]{article}\n\n\\usepackage{graphicx}\n\n\\begin{document}\n";
-	tmpdoc += "\\extrafloats{750}\n";
-	tmpdoc += "\\title{" + Conversion.replaceAllString(projectName, "_", "\\_") + "}\n";
-	tmpdoc += "\\date{\\today}\n";
-	tmpdoc += "\\maketitle\n\n";
-	tmpdoc += "\\input{"+texIncludeFileName+"}\n";
-	tmpdoc += "\\end{document}\n\n";
+        tmpdoc += "\\documentclass[11pt,a4paper]{article}\n\n\\usepackage{graphicx}\n\n\\begin{document}\n";
+        //tmpdoc += "\\extrafloats{750}\n";
+        tmpdoc += "\\title{" + Conversion.replaceAllString(projectName, "_", "\\_") + "}\n";
+        tmpdoc += "\\date{\\today}\n";
+        tmpdoc += "\\maketitle\n\n";
+        tmpdoc += "\\input{" + texIncludeFileName + "}\n";
+        tmpdoc += "\\end{document}\n\n";
         return tmpdoc;
     }
 
-    public  String getIncludeLatexDocumentationHeader(String _projectName) {
-        GregorianCalendar calendar = (GregorianCalendar)GregorianCalendar.getInstance();
+    public String getIncludeLatexDocumentationHeader(String _projectName) {
+        GregorianCalendar calendar = (GregorianCalendar) GregorianCalendar.getInstance();
         Date date = calendar.getTime();
         SimpleDateFormat formatter = new SimpleDateFormat("MM/dd/yyyy HH:mm");
         String formattedDate = formatter.format(date);
 
-        String tmpdoc="";
+        String tmpdoc = "";
         tmpdoc += "%----- Automatically generated by TTool version ";
         tmpdoc += DefaultText.getVersion();
         tmpdoc += " generation date: " + formattedDate;
@@ -459,35 +444,35 @@ public class DocumentationGenerator implements SteppedAlgorithm, StoppableGUIEle
         return tmpdoc;
     }
 
-    public  String getLatexDocumentationHeaderSvg(String _projectName) {
-        GregorianCalendar calendar = (GregorianCalendar)GregorianCalendar.getInstance();
+    public String getLatexDocumentationHeaderSvg(String _projectName) {
+        GregorianCalendar calendar = (GregorianCalendar) GregorianCalendar.getInstance();
         Date date = calendar.getTime();
         SimpleDateFormat formatter = new SimpleDateFormat("MM/dd/yyyy HH:mm");
         String formattedDate = formatter.format(date);
 
-        String tmpdoc="";
+        String tmpdoc = "";
         tmpdoc += "%----- Automatically generated by TTool version ";
         tmpdoc += DefaultText.getVersion();
         tmpdoc += " generation date: " + formattedDate;
         tmpdoc += "----\n";
-	tmpdoc += "% To be compiled as follows: make all. Relies on https://github.com/pacalet/mli.git\n";
-	tmpdoc += "\\documentclass[11pt,a4paper]{article}\n\n\\usepackage{graphicx}\n\n\\begin{document}\n";
-	tmpdoc += "\\extrafloats{750}\n";
-	tmpdoc += "\\title{" + Conversion.replaceAllString(projectName, "_", "\\_") + "}\n";
-	tmpdoc += "\\date{\\today}\n";
-	tmpdoc += "\\maketitle\n\n";
-	tmpdoc += "\\input{"+texIncludeFileNameSvg+"}\n";
-	tmpdoc += "\\end{document}\n\n";
+        tmpdoc += "% To be compiled as follows: make all. Relies on https://github.com/pacalet/mli.git\n";
+        tmpdoc += "\\documentclass[11pt,a4paper]{article}\n\n\\usepackage{graphicx}\n\n\\begin{document}\n";
+        //tmpdoc += "\\extrafloats{750}\n";
+        tmpdoc += "\\title{" + Conversion.replaceAllString(projectName, "_", "\\_") + "}\n";
+        tmpdoc += "\\date{\\today}\n";
+        tmpdoc += "\\maketitle\n\n";
+        tmpdoc += "\\input{" + texIncludeFileNameSvg + "}\n";
+        tmpdoc += "\\end{document}\n\n";
         return tmpdoc;
     }
 
-    public  String getIncludeLatexDocumentationHeaderSvg(String _projectName) {
-        GregorianCalendar calendar = (GregorianCalendar)GregorianCalendar.getInstance();
+    public String getIncludeLatexDocumentationHeaderSvg(String _projectName) {
+        GregorianCalendar calendar = (GregorianCalendar) GregorianCalendar.getInstance();
         Date date = calendar.getTime();
         SimpleDateFormat formatter = new SimpleDateFormat("MM/dd/yyyy HH:mm");
         String formattedDate = formatter.format(date);
 
-        String tmpdoc="";
+        String tmpdoc = "";
         tmpdoc += "%----- Automatically generated by TTool version ";
         tmpdoc += DefaultText.getVersion();
         tmpdoc += " generation date: " + formattedDate;
diff --git a/src/main/java/ui/EBRDDTranslator.java b/src/main/java/ui/EBRDDTranslator.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/EmbeddedComment.java b/src/main/java/ui/EmbeddedComment.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ErrorGUI.java b/src/main/java/ui/ErrorGUI.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ErrorHighlight.java b/src/main/java/ui/ErrorHighlight.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/FaultTreePanel.java b/src/main/java/ui/FaultTreePanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/FormatManager.java b/src/main/java/ui/FormatManager.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/GNCModeling.java b/src/main/java/ui/GNCModeling.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/GProactiveDesign.java b/src/main/java/ui/GProactiveDesign.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/GTMLModeling.java b/src/main/java/ui/GTMLModeling.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/GTURTLEModeling.java b/src/main/java/ui/GTURTLEModeling.java
old mode 100755
new mode 100644
index cc1754a0407b7a6f9f83d296de23c7ca9e855ea7..48647c7d21a5bdd3485965d9ecfdfc171d50fa85
--- a/src/main/java/ui/GTURTLEModeling.java
+++ b/src/main/java/ui/GTURTLEModeling.java
@@ -104,7 +104,6 @@ import ui.diplodocusmethodology.DiplodocusMethodologyDiagramPanel;
 import ui.ebrdd.EBRDDPanel;
 import ui.ftd.FaultTreeDiagramPanel;
 import graph.RG;
-import ui.het.CAMSBlockDiagramPanel;
 import ui.iod.InteractionOverviewDiagramPanel;
 import ui.ncdd.NCDiagramPanel;
 import ui.osad.TURTLEOSActivityDiagramPanel;
@@ -115,6 +114,7 @@ import ui.procsd.ProactiveCSDPanel;
 import ui.prosmd.ProactiveSMDPanel;
 import ui.req.Requirement;
 import ui.req.RequirementDiagramPanel;
+import ui.syscams.SysCAMSComponentTaskDiagramPanel;
 import ui.sysmlsecmethodology.SysmlsecMethodologyDiagramPanel;
 import ui.tmlad.*;
 import ui.tmlcd.TMLTaskDiagramPanel;
@@ -145,6 +145,7 @@ import java.util.List;
 
 //Communication Pattern javaCC parser
 //import compiler.tmlCPparser.*;
+//import compiler.tmlCPparser.*;
 
 /**
  * Class GTURTLEModeling
@@ -6222,14 +6223,14 @@ public class GTURTLEModeling {
                     }
                 }
 
-            } else if (tdp instanceof CAMSBlockDiagramPanel) {  //ajout CD 24.07----mark
-                nl = doc.getElementsByTagName("CAMSBlockDiagramPanelCopy");
+            } else if (tdp instanceof SysCAMSComponentTaskDiagramPanel) {  //ajout CD 24.07----mark
+                nl = doc.getElementsByTagName("SysCAMSBlockDiagramPanelCopy");
 
                 if (nl == null) {
                     return;
                 }
 
-                CAMSBlockDiagramPanel camsp = (CAMSBlockDiagramPanel) tdp;
+                SysCAMSComponentTaskDiagramPanel camsp = (SysCAMSComponentTaskDiagramPanel) tdp;
 
                 for (i = 0; i < nl.getLength(); i++) {
                     adn = nl.item(i);
@@ -6995,17 +6996,16 @@ public class GTURTLEModeling {
 
         nameTab = elt.getAttribute("nameTab");
 
-        indexDesign = mgui.createSystemCAMS(nameTab);
+        indexDesign = mgui.createSysCAMSComponentDesign(nameTab);
 
         diagramNl = node.getChildNodes();
 
         for (int j = 0; j < diagramNl.getLength(); j++) {
-            //TraceManager.addDev("Design nodes: " + j);
+            TraceManager.addDev("SystemCAMS node: " + j);
             node = diagramNl.item(j);
             if (node.getNodeType() == Node.ELEMENT_NODE) {
                 elt = (Element) node;
-                if (elt.getTagName().compareTo("SystemCAMSDiagramPanel") == 0) {
-                    // Class diagram
+                if (elt.getTagName().compareTo("SysCAMSComponentTaskDiagramPanel") == 0) {
                     TraceManager.addDev("Loading SystemC-AMS");
                     loadSystemCAMSDiagram(elt, indexDesign);
                     TraceManager.addDev("End loading SystemC-AMS");
@@ -7180,6 +7180,9 @@ public class GTURTLEModeling {
     public void loadDiagram(Element elt, TDiagramPanel tdp) throws MalformedModelingException, SAXException {
         int x, y;
         double zoom = 0;
+
+        TraceManager.addDev("Loading diagram:" + tdp);
+
         try {
             x = Integer.decode(elt.getAttribute("minX")).intValue();
             tdp.setMinX(x);
@@ -7288,9 +7291,9 @@ public class GTURTLEModeling {
             ((AvatarADPanel) tdp).setConnectorsToFront();
         }
 
-        if (tdp instanceof CAMSBlockDiagramPanel) {
+        if (tdp instanceof SysCAMSComponentTaskDiagramPanel) {
             //TraceManager.addDev("Connectors...");
-            ((CAMSBlockDiagramPanel) tdp).setConnectorsToFront();
+            ((SysCAMSComponentTaskDiagramPanel) tdp).setConnectorsToFront();
         }
     }
 
@@ -7510,11 +7513,9 @@ public class GTURTLEModeling {
     }
 
     public void loadSystemCAMSDiagram(Element elt, int indexDesign) throws MalformedModelingException, SAXException {
-        //ajout CD
         String name;
         TDiagramPanel tdp;
 
-        // class diagram name
         name = elt.getAttribute("name");
         mgui.setSystemCAMSDiagramName(indexDesign, name);
         tdp = mgui.getMainTDiagramPanel(indexDesign);
@@ -8528,7 +8529,7 @@ public class GTURTLEModeling {
             // TraceManager.addDev("Extra params" + tgc.getClass());
             // TraceManager.addDev("My value = " + tgc.getValue());
             tgc.loadExtraParam(elt1.getElementsByTagName("extraparam"), decX, decY, decId);
-            // TraceManager.addDev("Extra param ok");
+            //TraceManager.addDev("Extra param ok");
 
             if ((tgc instanceof TCDTObject) && (decId > 0)) {
                 TCDTObject to = (TCDTObject) tgc;
@@ -9255,7 +9256,7 @@ public class GTURTLEModeling {
         }
     }
 
-    public boolean checkSyntaxSystemCAMS(Vector<TGComponent> blocksToTakeIntoAccount, SystemCAMSPanel scp, boolean optimize) { //ajout CD 04/07 FIXME
+    public boolean checkSyntaxSystemCAMS(Vector<TGComponent> blocksToTakeIntoAccount, SysCAMSComponentDesignPanel scp, boolean optimize) { //ajout CD 04/07 FIXME
         //     List<TMLError> warningsOptimize = new ArrayList<TMLError>();
         //     warnings = new LinkedList<CheckingError> ();
         //     mgui.setMode(MainGUI.VIEW_SUGG_DESIGN_KO);
diff --git a/src/main/java/ui/GTURTLEOSModeling.java b/src/main/java/ui/GTURTLEOSModeling.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/HiddenInternalComponents.java b/src/main/java/ui/HiddenInternalComponents.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/Invariant.java b/src/main/java/ui/Invariant.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/InvariantSynchro.java b/src/main/java/ui/InvariantSynchro.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/JMenuBarTurtle.java b/src/main/java/ui/JMenuBarTurtle.java
old mode 100755
new mode 100644
index 14c526c4273a7c7616479b986699cf951303f04d..d352f504e217d3f814336c7dceb015cb5a689c35
--- a/src/main/java/ui/JMenuBarTurtle.java
+++ b/src/main/java/ui/JMenuBarTurtle.java
@@ -106,9 +106,7 @@ public class JMenuBarTurtle extends JMenuBar {
         menuItem.addMouseListener(mgui.mouseHandler);
         menuItem = file.add(mgui.actions[TGUIAction.ACT_SAVE]);
         menuItem.addMouseListener(mgui.mouseHandler);
-        menuItem = file.add(mgui.actions[TGUIAction.ACT_SAVE_AS_MODEL]);
-        menuItem.addMouseListener(mgui.mouseHandler);
-        menuItem = file.add(mgui.actions[TGUIAction.ACT_SAVE_AS_PROJECT]);
+        menuItem = file.add(mgui.actions[TGUIAction.ACT_SAVE_AS]);
         menuItem.addMouseListener(mgui.mouseHandler);
 
         file.addSeparator();
diff --git a/src/main/java/ui/JScrollDiagramPanel.java b/src/main/java/ui/JScrollDiagramPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/JTGComponentButton.java b/src/main/java/ui/JTGComponentButton.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/JToolBarMainTurtle.java b/src/main/java/ui/JToolBarMainTurtle.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/LRArtifactTClassGate.java b/src/main/java/ui/LRArtifactTClassGate.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/MSCDrawer.java b/src/main/java/ui/MSCDrawer.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/MainGUI.java b/src/main/java/ui/MainGUI.java
index d1e4243b04d69f24bb600ff552064f02fbe75686..96a0a9eb92c7e18231834046504469cc1f4aa994 100644
--- a/src/main/java/ui/MainGUI.java
+++ b/src/main/java/ui/MainGUI.java
@@ -44,8 +44,6 @@ import common.ConfigurationTTool;
 import common.SpecConfigTTool;
 import ddtranslatorSoclib.AvatarddSpecification;
 import ddtranslatorSoclib.toSoclib.TasksAndMainGenerator;
-import graph.AUTGraph;
-import graph.RG;
 import launcher.RemoteExecutionThread;
 import launcher.RshClient;
 import myutil.*;
@@ -70,7 +68,8 @@ import ui.diplodocusmethodology.DiplodocusMethodologyDiagramPanel;
 import ui.ebrdd.EBRDDPanel;
 import ui.file.*;
 import ui.ftd.FaultTreeDiagramPanel;
-import ui.het.CAMSBlockDiagramPanel;
+import graph.AUTGraph;
+import graph.RG;
 import ui.interactivesimulation.JFrameInteractiveSimulation;
 import ui.interactivesimulation.SimulationTransaction;
 import ui.iod.InteractionOverviewDiagramPanel;
@@ -84,7 +83,6 @@ import ui.tmlcd.TMLTaskDiagramPanel;
 import ui.tmlcompd.TMLCCompositeComponent;
 import ui.tmlcompd.TMLComponentTaskDiagramPanel;
 import ui.tmlcp.TMLCPPanel;
-import ui.tmldd.TMLArchiCAMSNode;
 import ui.tmldd.TMLArchiDiagramPanel;
 import ui.tmlsd.TMLSDPanel;
 import ui.tree.DiagramTreeModel;
@@ -94,6 +92,7 @@ import ui.ucd.UseCaseDiagramPanel;
 import ui.util.DefaultText;
 import ui.util.IconManager;
 import ui.window.*;
+import ui.syscams.*;
 
 import javax.imageio.ImageIO;
 import javax.swing.*;
@@ -741,7 +740,7 @@ public class MainGUI implements ActionListener, WindowListener, KeyListener, Per
         if (!Desktop.isDesktopSupported()) {
             return;
         }
-        File file = new File(SpecConfigTTool.TGraphPath);
+        File file = new File (SpecConfigTTool.TGraphPath );
         TraceManager.addDev("Getting desktop");
         Desktop desktop = Desktop.getDesktop();
         try {
@@ -1060,36 +1059,22 @@ public class MainGUI implements ActionListener, WindowListener, KeyListener, Per
         return index;
     }
 
-    public int addSystemCAMSPanel(String name, int index) { //ajout CD -----Mark
+    private int addSysCAMSComponentDesignPanel(String name, int index) {
         if (index == -1) {
             index = tabs.size();
         }
-        SystemCAMSPanel scp = new SystemCAMSPanel(this);
-        tabs.add(index, scp);
-        mainTabbedPane.add(scp.tabbedPane, index);
-        mainTabbedPane.setToolTipTextAt(index, "Open System C-AMS diagrams ");
+        SysCAMSComponentDesignPanel sccdp = new SysCAMSComponentDesignPanel(this);
+        tabs.add(index, sccdp);
+        mainTabbedPane.add(sccdp.tabbedPane, index);
+        mainTabbedPane.setToolTipTextAt(index, "Open SystemC-AMS design diagrams");
         mainTabbedPane.setTitleAt(index, name);
         mainTabbedPane.setIconAt(index, IconManager.imgic60);
         //mainTabbedPane.addTab(name, IconManager.imgic14, dp.tabbedPane, "Opens design diagrams");
-        scp.init();
+        sccdp.init();
         //ystem.out.println("Design added");
         return index;
     }
 
-    public CAMSBlockDiagramPanel addSystemCAMSPanel(String name, int index, TMLArchiCAMSNode parent) {
-        if (index == -1) {
-            index = tabs.size();
-        }
-        SystemCAMSPanel scp = new SystemCAMSPanel(this);
-        tabs.add(index, scp);
-        mainTabbedPane.add(scp.tabbedPane, index);
-        mainTabbedPane.setToolTipTextAt(index, "Open System C-AMS diagrams ");
-        mainTabbedPane.setTitleAt(index, name);
-        mainTabbedPane.setIconAt(index, IconManager.imgic60);
-        scp.init();
-        return scp.getCAMSBlockDiagramPanel();
-    }
-
     //Return the list of all the TMLArchiDiagramPanels
     public Vector<TMLArchiPanel> getTMLArchiDiagramPanels() {
 
@@ -1484,12 +1469,12 @@ public class MainGUI implements ActionListener, WindowListener, KeyListener, Per
         return index;
     }
 
-    public int createSystemCAMS(String name) { //ajout CD
-        int index = addSystemCAMSPanel(name, -1);
+    public int createSysCAMSComponentDesign(String name) {
+        int index = addSysCAMSComponentDesignPanel(name, -1);
         mainTabbedPane.setSelectedIndex(index);
         return index;
     }
-
+    
     public int createADD(String name) {
         int index = addADDPanel(name, -1);
         mainTabbedPane.setSelectedIndex(index);
@@ -1877,9 +1862,9 @@ public class MainGUI implements ActionListener, WindowListener, KeyListener, Per
         //frame.repaint();
     }
 
-    public void newSystemCAMS() {//ajout CD
-        //TraceManager.addDev("NEW DIPLO Architecture");
-        addSystemCAMSPanel("SystemC-AMS", -1);
+    public void newSysCAMS() {
+        //TraceManager.addDev("NEW DESIGN");
+        addSysCAMSComponentDesignPanel("SystemC_AMS", -1);
         tabs.elementAt(tabs.size() - 1).tabbedPane.setSelectedIndex(0);
         mainTabbedPane.setSelectedIndex(tabs.size() - 1);
         //paneAction(null);
@@ -2530,7 +2515,7 @@ public class MainGUI implements ActionListener, WindowListener, KeyListener, Per
             jfc.setAcceptAllFileFilterUsed(false);
             FileNameExtensionFilter filter = new FileNameExtensionFilter("XML files", "xml");
             jfc.setFileFilter(filter);
-            /*jfc.addMouseListener(new MouseListener() {
+        	/*jfc.addMouseListener(new MouseListener() {
 
         	    @Override
         	    public void mouseClicked(MouseEvent arg0) {
@@ -2967,41 +2952,6 @@ public class MainGUI implements ActionListener, WindowListener, KeyListener, Per
         }
     }
 
-
-    protected boolean saveAsNewProject() {
-        jfc.resetChoosableFileFilters();
-        jfc.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
-        jfc.setAcceptAllFileFilterUsed(false);
-        FileNameExtensionFilter filter = new FileNameExtensionFilter("TTool project", "ttool");
-        jfc.setFileFilter(filter);
-
-        createFileDialog();
-
-        return mainSave();
-
-    }
-
-    protected boolean saveAsNewModel() {
-        jfc.resetChoosableFileFilters();
-        jfc.setFileSelectionMode(JFileChooser.FILES_ONLY);
-        jfc.setAcceptAllFileFilterUsed(false);
-        FileNameExtensionFilter filter = new FileNameExtensionFilter("XML files", "xml");
-        jfc.setFileFilter(filter);
-        int returnVal = jfc.showSaveDialog(frame);
-        if (returnVal == JFileChooser.APPROVE_OPTION) {
-            file = jfc.getSelectedFile();
-            file = FileUtils.addFileExtensionIfMissing(file, TFileFilter.getExtension());
-        }
-
-        boolean b = mainSave();
-        if (b) {
-            dir = null;
-            config = null;
-            SpecConfigTTool.setBasicConfig(systemcOn);
-        }
-        return b;
-    }
-
     protected boolean saveProject() {
         if (file == null) {
             if (dir != null)
@@ -3015,10 +2965,6 @@ public class MainGUI implements ActionListener, WindowListener, KeyListener, Per
             }
         }
 
-        return mainSave();
-    }
-
-    public boolean mainSave() {
         if (checkFileForSave(file)) {
             try {
                 if (gtm == null) {
@@ -3366,7 +3312,7 @@ public class MainGUI implements ActionListener, WindowListener, KeyListener, Per
     public void showTToolConfiguration() {
         JFrameBasicText jft = new JFrameBasicText("Your configuration of TTool ...",
                 "Default configuration:\n-----------------------\n" + ConfigurationTTool.getConfiguration(systemcOn)
-                        + "\nProject configuration:\n-----------------------\n" + SpecConfigTTool.getConfiguration(systemcOn),
+                + "\nProject configuration:\n-----------------------\n" + SpecConfigTTool.getConfiguration(systemcOn),
                 IconManager.imgic76);
         jft.setIconImage(IconManager.img8);
         //jft.setSize(700, 800);
@@ -3819,45 +3765,44 @@ public class MainGUI implements ActionListener, WindowListener, KeyListener, Per
                     }
                 }
             }
-        } else if (tp instanceof SystemCAMSPanel) { //Ajout CD
-
-            SystemCAMSPanel camsp = (SystemCAMSPanel) tp;
-            JDialogSelectSystemCAMSBlock.validated = camsp.validated;
-            JDialogSelectSystemCAMSBlock.ignored = camsp.ignored;
-            Vector<TGComponent> camsBlocksToValidate = new Vector<TGComponent>();
-            JDialogSelectSystemCAMSBlock jdsscb = new JDialogSelectSystemCAMSBlock(frame, camsBlocksToValidate, camsp.camsbdp.getComponentList(), "Block Parameter");
-            if (!automatic) {
-                GraphicLib.centerOnParent(jdsscb);
-                jdsscb.setVisible(true);
-            } else {
-                jdsscb.closeDialog();
-            }
-
-            if (camsBlocksToValidate.size() > 0) {
-                camsp.validated = JDialogSelectSystemCAMSBlock.validated;
-                camsp.ignored = JDialogSelectSystemCAMSBlock.ignored;
-                expandToWarnings();
-                expandToErrors();
-                if (b) {
-                    setMode(MainGUI.GEN_SYSTEMC_OK);
-                    setMode(MainGUI.MODEL_OK);
-                    ret = true;
-                    if (!automatic) {
-                        JOptionPane.showMessageDialog(frame,
-                                "0 error, " + getCheckingWarnings().size() + " warning(s). You can now perform verifications (safety, security, performance) or generate executable code",
-                                "Syntax analysis successful on SystemC-AMS",
-                                JOptionPane.INFORMATION_MESSAGE);
-                    }
-                } else {
-                    if (!automatic) {
-                        JOptionPane.showMessageDialog(frame,
-                                "The SystemC-AMS contains several errors",
-                                "Syntax analysis failed",
-                                JOptionPane.INFORMATION_MESSAGE);
-                    }
-                }
-            }
-
+        } else if (tp instanceof SysCAMSComponentDesignPanel) {
+        	SysCAMSComponentDesignPanel syscamscdp = (SysCAMSComponentDesignPanel) tp;
+        	JDialogSelectSysCAMSComponent.validated = syscamscdp.validated;
+        	JDialogSelectSysCAMSComponent.ignored = syscamscdp.ignored;
+        	Vector<TGComponent> syscamsComponentsToValidate = new Vector<TGComponent>();
+        	JDialogSelectSysCAMSComponent jdssyscamsc = new JDialogSelectSysCAMSComponent(frame, syscamsComponentsToValidate, syscamscdp.syscamsctdp.getComponentList(), "Choosing SystemC-AMS components to validate");
+        	if (!automatic) {
+        		GraphicLib.centerOnParent(jdssyscamsc);
+        		jdssyscamsc.setVisible(true); // Blocked until dialog has been closed
+        	} else {
+        		jdssyscamsc.closeDialog();
+        	}
+        	if (syscamsComponentsToValidate.size() > 0) {
+        		syscamscdp.validated = JDialogSelectSysCAMSComponent.validated;
+        		syscamscdp.ignored = JDialogSelectSysCAMSComponent.ignored;
+//        		b = gtm.translateSysCAMSComponentDesign(syscamsComponentsToValidate, syscamscdp, jdssyscamsc.getOptimize());
+        		expandToWarnings();
+        		expandToErrors();
+        		if (b) {
+        			//setMode(MainGUI.MODEL_OK);
+        			setMode(MainGUI.GEN_SYSTEMC_OK);
+        			setMode(MainGUI.MODEL_OK);
+        			ret = true;
+        			if (!automatic) {
+        				JOptionPane.showMessageDialog(frame,
+        						"0 error, " + getCheckingWarnings().size() + " warning(s). You can now generate make proofs (safety, security and performance) or generate executable code",
+        						"Syntax analysis successful on SystemC-AMS designs",
+        						JOptionPane.INFORMATION_MESSAGE);
+        			}
+        		} else {
+        			if (!automatic) {
+        				JOptionPane.showMessageDialog(frame,
+        						"The SystemC-AMS design contains several errors",
+        						"Syntax analysis failed",
+        						JOptionPane.INFORMATION_MESSAGE);
+        			}
+        		}
+        	}
         } else if (tp instanceof TMLArchiPanel) {
             tmlap = (TMLArchiPanel) tp;
             JDialogSelectTMLNodes.validated = tmlap.validated;
@@ -4933,7 +4878,7 @@ public class MainGUI implements ActionListener, WindowListener, KeyListener, Per
         if (file != null) {
             path = file.getAbsolutePath();
         }
-        TraceManager.addDev("Generating TML code: " + file.getAbsolutePath());
+        TraceManager.addDev("Generating TML code: "+file.getAbsolutePath());
         if (gtm.generateTMLTxt(path)) {
             TraceManager.addDev("Done TML generation");
             return ConfigurationTTool.TMLCodeDirectory;
@@ -6020,7 +5965,7 @@ public class MainGUI implements ActionListener, WindowListener, KeyListener, Per
         ((TMLComponentDesignPanel) tp).addTMLActivityDiagram(s);
         setPanelMode();
     }
-
+    
     public TMLActivityDiagramPanel getReferencedTMLActivityDiagramPanel(TDiagramPanel _tdp, String name) {
         TURTLEPanel tp;
         TMLActivityDiagramPanel tmladp;
@@ -6098,7 +6043,35 @@ public class MainGUI implements ActionListener, WindowListener, KeyListener, Per
 
         return ll;
     }
+    
+    public List<TGComponent> getAllSysCAMSComponents() {
+    	TURTLEPanel tp;
+    	List<TGComponent> ll = new LinkedList<TGComponent>();
+    	
+    	for (int i = 0; i < tabs.size(); i++) {
+    		tp = tabs.elementAt(i);
+    		
+    		if (tp instanceof SysCAMSComponentDesignPanel) {
+    			ll.addAll(((SysCAMSComponentDesignPanel) tp).syscamsctdp.getComponentList());
+    		}
+    	}
+    	
+    	return ll;
+    }
+
+    public ArrayList<SysCAMSComponentTaskDiagramPanel> getAllPanelsReferencingSysCAMSCompositeComponent(SysCAMSCompositeComponent syscamscc) {
+        TURTLEPanel tp;
+        ArrayList<SysCAMSComponentTaskDiagramPanel> foundPanels = new ArrayList<SysCAMSComponentTaskDiagramPanel>();
 
+        for (int i = 0; i < tabs.size(); i++) {
+            tp = tabs.elementAt(i);
+            if (tp instanceof SysCAMSComponentDesignPanel) {
+                ((SysCAMSComponentDesignPanel) tp).syscamsctdp.getPanelsUsingAComponent(syscamscc, foundPanels);
+            }
+        }
+        return foundPanels;
+    }
+    
     public void removeTClass(TURTLEPanel tp, String s) {
         if (!(tp instanceof DesignPanel)) {
             return;
@@ -6237,6 +6210,17 @@ public class MainGUI implements ActionListener, WindowListener, KeyListener, Per
         }
     }
 
+    public void updateReferenceToSysCAMSCompositeComponent(SysCAMSCompositeComponent tmlcc) {
+    	TURTLEPanel tp;
+    	
+    	for (int i = 0; i < tabs.size(); i++) {
+    		tp = tabs.elementAt(i);
+    		if (tp instanceof SysCAMSComponentDesignPanel) {
+    			((SysCAMSComponentDesignPanel) tp).syscamsctdp.updateReferenceToSysCAMSCompositeComponent(tmlcc);
+    		}
+    	}
+    }
+
     public TMLCCompositeComponent getCompositeComponent(String name) {
         int index = name.indexOf("::");
         if (index == -1) {
@@ -6255,6 +6239,24 @@ public class MainGUI implements ActionListener, WindowListener, KeyListener, Per
 
         return ((TMLComponentDesignPanel) (tp)).tmlctdp.getCompositeComponentByName(componentName);
     }
+    
+    public SysCAMSCompositeComponent getSysCAMSCompositeComponent(String name) {
+    	int index = name.indexOf("::");
+    	if (index == -1) {
+    		return null;
+    	}
+    	
+    	String panelName = name.substring(0, index);
+    	String componentName = name.substring(index + 2, name.length());
+    	
+    	TURTLEPanel tp = getTURTLEPanel(panelName);
+    	
+    	if ((tp == null) || (!(tp instanceof SysCAMSComponentDesignPanel))) {
+    		return null;
+    	}
+    	
+    	return ((SysCAMSComponentDesignPanel) (tp)).syscamsctdp.getCompositeComponentByName(componentName);
+    }
 
     public AvatarSMDPanel getAvatarSMDPanel(int indexDesign, String name) {
 
@@ -6369,6 +6371,11 @@ public class MainGUI implements ActionListener, WindowListener, KeyListener, Per
         TURTLEPanel tp = tabs.elementAt(indexDesign);
         tp.tabbedPane.setTitleAt(0, name);
     }
+    
+    public void setSysCAMSComponentTaskDiagramName(int indexDesign, String name) {
+    	TURTLEPanel tp = tabs.elementAt(indexDesign);
+    	tp.tabbedPane.setTitleAt(0, name);
+    }
 
     public void setTMLArchitectureDiagramName(int indexDesign, String name) {
         TURTLEPanel tp = tabs.elementAt(indexDesign);
@@ -7855,6 +7862,34 @@ public class MainGUI implements ActionListener, WindowListener, KeyListener, Per
         ErrorGUI.exit(ErrorGUI.ERROR_TAB);
         return false;
     }
+    
+    public boolean newSysCAMSTaskName(TURTLEPanel tp, String old, String niou) {
+    	JTabbedPane jtp = tp.tabbedPane;
+    	for (int i = 0; i < jtp.getTabCount(); i++) {
+    		if (jtp.getTitleAt(i).equals(niou)) {
+    			return false;
+    		}
+    	}
+    	for (int i = 0; i < jtp.getTabCount(); i++) {
+    		if (jtp.getTitleAt(i).equals(old)) {
+    			jtp.setTitleAt(i, niou);
+    			jtp.setToolTipTextAt(i, "Opens the SystemC-AMS diagram of " + niou);
+    			TDiagramPanel tdp;
+    			//change panel name
+    			for (int j = 0; j < tp.panels.size(); j++) {
+    				tdp = tp.panels.elementAt(j);
+    				if (tdp.getName().equals(old)) {
+    					tdp.setName(niou);
+    				}
+    			}
+    			
+    			return true;
+    		}
+    	}
+    	// internal error
+    	ErrorGUI.exit(ErrorGUI.ERROR_TAB);
+    	return false;
+    }
 
     public boolean nameComponentInUse(TURTLEPanel tp, String old, String niou) {
         JTabbedPane jtp = tp.tabbedPane;
@@ -7895,6 +7930,36 @@ public class MainGUI implements ActionListener, WindowListener, KeyListener, Per
         ErrorGUI.exit(ErrorGUI.ERROR_TAB);
         return false;
     }
+    
+    public boolean newSysCAMSComponentTaskName(TURTLEPanel tp, String old, String niou) {
+    	JTabbedPane jtp = tp.tabbedPane;
+    	for (int i = 0; i < jtp.getTabCount(); i++) {
+    		if (jtp.getTitleAt(i).equals(niou)) {
+    			return false;
+    		}
+    	}
+    	TraceManager.addDev("old " + old + " niou " + niou);
+    	for (int i = 0; i < jtp.getTabCount(); i++) {
+    		TraceManager.addDev("Tab " + i + " = " + mainTabbedPane.getTitleAt(i));
+    		if (jtp.getTitleAt(i).equals(old)) {
+    			jtp.setTitleAt(i, niou);
+    			jtp.setToolTipTextAt(i, "Opens the SystemC-AMS diagram of " + niou);
+    			TDiagramPanel tdp;
+    			//change panel name
+    			for (int j = 0; j < tp.panels.size(); j++) {
+    				tdp = tp.panels.elementAt(j);
+    				if (tdp.getName().equals(old)) {
+    					tdp.setName(niou);
+    				}
+    			}
+    			
+    			return true;
+    		}
+    	}
+    	// internal error
+    	ErrorGUI.exit(ErrorGUI.ERROR_TAB);
+    	return false;
+    }
 
     public void cloneTab(int index) {
         String s = gtm.makeXMLFromTurtleModeling(index, "_cloned");
@@ -8813,7 +8878,7 @@ public class MainGUI implements ActionListener, WindowListener, KeyListener, Per
         private JPopupMenu menu;
 
         private JMenuItem rename, remove, moveRight, moveLeft, newDesign, newAnalysis, newDeployment, newRequirement/*, newTMLDesign*/, newTMLComponentDesign, newTMLArchi, newProactiveDesign, newTURTLEOSDesign,
-                newNCDesign, sort, clone, newAttackTree, newFaultTree, newAVATARBD, newAVATARRequirement, newMAD, newTMLCP, newTMLMethodo, newAvatarMethodo, newAVATARDD, newSysmlsecMethodo, newSystemCAMS;
+                newNCDesign, sort, clone, newAttackTree, newFaultTree, newAVATARBD, newAVATARRequirement, newMAD, newTMLCP, newTMLMethodo, newAvatarMethodo, newAVATARDD, newSysmlsecMethodo, newSysCAMS;
         private JMenuItem newAVATARAnalysis;
 
         public PopupListener(MainGUI _mgui) {
@@ -8871,7 +8936,7 @@ public class MainGUI implements ActionListener, WindowListener, KeyListener, Per
             newTMLComponentDesign = createMenuItem("New Partitioning - Functional view");
             newTMLArchi = createMenuItem("New Partitioning - Architecture and Mapping");
             newTMLCP = createMenuItem("New Partitioning - Communication Pattern");
-            newSystemCAMS = createMenuItem("New SystemC-AMS Block Diagram"); //ajout CD
+            newSysCAMS = createMenuItem("New SystemC-AMS Diagram");
             newProactiveDesign = createMenuItem("New Proactive Design");
             newTURTLEOSDesign = createMenuItem("New TURTLE-OS Design");
             newNCDesign = createMenuItem("New Network Calculus Design");
@@ -8958,8 +9023,10 @@ public class MainGUI implements ActionListener, WindowListener, KeyListener, Per
                     menu.add(newTMLCP);
                     menu.add(newTMLArchi);
                     menu.addSeparator();
-                    menu.add(newSystemCAMS);//ajout CD
-                    menu.addSeparator();
+                    if (experimentalOn) {
+                        menu.add(newSysCAMS);
+                        menu.addSeparator();
+                    }
                 }
             }
 
@@ -8981,6 +9048,8 @@ public class MainGUI implements ActionListener, WindowListener, KeyListener, Per
         }
 
 
+
+
         private JMenuItem createMenuItem(String s) {
             JMenuItem item = new JMenuItem(s);
             item.setActionCommand(s);
@@ -9106,10 +9175,10 @@ public class MainGUI implements ActionListener, WindowListener, KeyListener, Per
                 } else if (e.getSource() == newAVATARAnalysis) {
                     ModeManager.setMode(CREATE_NEW_PANEL, actions, mainBar, mgui);
                     mgui.newAvatarAnalysis();
-                } else if (e.getSource() == newSystemCAMS) { //ajout CD
-                    ModeManager.setMode(CREATE_NEW_PANEL, actions, mainBar, mgui);
-                    mgui.newSystemCAMS();
-                }
+	            } else if (e.getSource() == newSysCAMS) {
+	            	ModeManager.setMode(CREATE_NEW_PANEL, actions, mainBar, mgui);
+	            	mgui.newSysCAMS();
+	            }
             }
         };
     }
@@ -9147,7 +9216,6 @@ public class MainGUI implements ActionListener, WindowListener, KeyListener, Per
                 }
             }
         }
-
     }
 
     // Get the currently opened architecture panel
diff --git a/src/main/java/ui/MalformedModelingException.java b/src/main/java/ui/MalformedModelingException.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/MalformedTMLDesignException.java b/src/main/java/ui/MalformedTMLDesignException.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/MalformedTURTLEModelingException.java b/src/main/java/ui/MalformedTURTLEModelingException.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ModeManager.java b/src/main/java/ui/ModeManager.java
old mode 100755
new mode 100644
index d771aec8268fe34be460b41fd63a79520aadd676..2653a34d44eca7d04f40e9ef08c627440300c25e
--- a/src/main/java/ui/ModeManager.java
+++ b/src/main/java/ui/ModeManager.java
@@ -105,8 +105,7 @@ public class ModeManager {
                 //actions[TGUIAction.ACT_MODEL_CHECKING].setEnabled(true);//DG 06.02.
                 //actions[TGUIAction.ACT_ONECLICK_RTLOTOS_RG].setEnabled(true);
                 //actions[TGUIAction.ACT_ONECLICK_LOTOS_RG].setEnabled(true);
-                actions[TGUIAction.ACT_SAVE_AS_PROJECT].setEnabled(true);
-                actions[TGUIAction.ACT_SAVE_AS_MODEL].setEnabled(true);
+                actions[TGUIAction.ACT_SAVE_AS].setEnabled(true);
                 actions[TGUIAction.ACT_IMPORT_LIB].setEnabled(true);
                 actions[TGUIAction.ACT_SAVE].setEnabled(false);
                 if (TDiagramPanel.copyData != null) {
diff --git a/src/main/java/ui/NCPanel.java b/src/main/java/ui/NCPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/NoComponentException.java b/src/main/java/ui/NoComponentException.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/PartOfHighInvariant.java b/src/main/java/ui/PartOfHighInvariant.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/PartOfInvariant.java b/src/main/java/ui/PartOfInvariant.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/PostJavaCode.java b/src/main/java/ui/PostJavaCode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/PreJavaCode.java b/src/main/java/ui/PreJavaCode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ProactiveDesignPanel.java b/src/main/java/ui/ProactiveDesignPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/RequirementPanel.java b/src/main/java/ui/RequirementPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ScalableTGComponent.java b/src/main/java/ui/ScalableTGComponent.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/SpecificActionAfterAdd.java b/src/main/java/ui/SpecificActionAfterAdd.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/SpecificActionAfterMove.java b/src/main/java/ui/SpecificActionAfterMove.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/StoppableGUIElement.java b/src/main/java/ui/StoppableGUIElement.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/SwallowTGComponent.java b/src/main/java/ui/SwallowTGComponent.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/SwallowedTGComponent.java b/src/main/java/ui/SwallowedTGComponent.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/SysmlsecMethodologyPanel.java b/src/main/java/ui/SysmlsecMethodologyPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/SystemCAMSPanel.java b/src/main/java/ui/SystemCAMSPanel.java
deleted file mode 100755
index 19587244f2999b9acaf9975317b845d3b20b6add..0000000000000000000000000000000000000000
--- a/src/main/java/ui/SystemCAMSPanel.java
+++ /dev/null
@@ -1,140 +0,0 @@
-/* Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille
- * 
- * ludovic.apvrille AT enst.fr
- * 
- * This software is a computer program whose purpose is to allow the
- * edition of TURTLE analysis, design and deployment diagrams, to
- * allow the generation of RT-LOTOS or Java code from this diagram,
- * and at last to allow the analysis of formal validation traces
- * obtained from external tools, e.g. RTL from LAAS-CNRS and CADP
- * from INRIA Rhone-Alpes.
- * 
- * This software is governed by the CeCILL  license under French law and
- * abiding by the rules of distribution of free software.  You can  use,
- * modify and/ or redistribute the software under the terms of the CeCILL
- * license as circulated by CEA, CNRS and INRIA at the following URL
- * "http://www.cecill.info".
- * 
- * As a counterpart to the access to the source code and  rights to copy,
- * modify and redistribute granted by the license, users are provided only
- * with a limited warranty  and the software's author,  the holder of the
- * economic rights,  and the successive licensors  have only  limited
- * liability.
- * 
- * In this respect, the user's attention is drawn to the risks associated
- * with loading,  using,  modifying and/or developing or reproducing the
- * software by the user in light of its specific status of free software,
- * that may mean  that it is complicated to manipulate,  and  that  also
- * therefore means  that it is reserved for developers  and  experienced
- * professionals having in-depth computer knowledge. Users are therefore
- * encouraged to load and test the software's suitability as regards their
- * requirements in conditions enabling the security of their systems and/or
- * data to be ensured and,  more generally, to use and operate it in the
- * same conditions as regards security.
- * 
- * The fact that you are presently reading this means that you have had
- * knowledge of the CeCILL license and that you accept its terms.
- */
-
-
-
- 
-package ui;
-
-import myutil.GraphicLib;
-import ui.het.CAMSBlockDiagramToolBar;
-import ui.het.CAMSBlockDiagramPanel;
-import ui.util.IconManager;
-import ui.TDiagramPanel;
-import ui.window.JDialogCAMSBlocks;
-
-import javax.swing.*;
-import javax.swing.event.ChangeEvent;
-import javax.swing.event.ChangeListener;
-import java.awt.*;
-import java.util.Vector;
-
-/**
- * Class SystemCAMSPanel
- * Managenemt of TML architecture panels
- * Creation: 23/06/2017
- * @version 0.1 23/06/2107
- * @author Côme DEMARIGNY
- * @see MainGUI
- */
-public class SystemCAMSPanel extends TURTLEPanel {
-    public SystemCAMSPanel scp;
-    public CAMSBlockDiagramPanel camsbdp; 
-    public TURTLEPanel tp;
-    public TDiagramPanel tdp;
-    public Vector<TGComponent> validated, ignored;
-    
-    public SystemCAMSPanel(MainGUI _mgui) {
-        super(_mgui);
-         
-        tabbedPane = GraphicLib.createTabbedPane();//new JTabbedPane();
-        
-        cl = new ChangeListener() {	
-        	@Override
-		    public void stateChanged(ChangeEvent e){
-		    mgui.paneDesignAction(e);
-		}
-	    };        
-        tabbedPane.addChangeListener(cl);
-        tabbedPane.addMouseListener(new TURTLEPanelPopupListener(this, mgui));
-    }
-
-    public void init() {
-	
-        // Class Diagram toolbar
-        CAMSBlockDiagramToolBar camstoolBar = new CAMSBlockDiagramToolBar(mgui);
-        toolbars.add(camstoolBar);
-        toolBarPanel = new JPanel();
-        toolBarPanel.setLayout(new BorderLayout());
-        
-	//Class Diagram Panel
-        camsbdp = new CAMSBlockDiagramPanel(mgui, camstoolBar);
-        camsbdp.setName("SystemC-AMS Diagram");
-
-	// Diagram toolbar          
-	camsbdp.tp = this;
-	tp = scp;
-        panels.add(camsbdp); // Always first in list
-        JScrollDiagramPanel jsp	= new JScrollDiagramPanel(camsbdp);
-        camsbdp.jsp = jsp;
-        jsp.setWheelScrollingEnabled(true);
-        jsp.getVerticalScrollBar().setUnitIncrement( MainGUI.INCREMENT );
-        toolBarPanel.add(camstoolBar, BorderLayout.NORTH);
-        toolBarPanel.add(jsp, BorderLayout.CENTER);
-        tabbedPane.addTab("SystemC-AMS Diagram", IconManager.imgic60, toolBarPanel, "opens SystemC-AMS diagram");
-        tabbedPane.setSelectedIndex(0);
-        mgui.changeMade(camsbdp, TDiagramPanel.NEW_COMPONENT);
-        
- 
-    }
-    
-    public String saveHeaderInXml(String extensionToName) {
-	if (extensionToName == null) {
-	    return "<Modeling type=\"SystemC-AMS\" nameTab=\"" + mgui.getTabName(this) + "\" >\n";
-	}
-	return "<Modeling type=\"SystemC-AMS\" nameTab=\"" + mgui.getTabName(this) + extensionToName +"\" >\n";
-    }
-    
-    public String saveTailInXml() {
-        return "</Modeling>\n\n\n";
-    }
-    
-    public String toString() {
-        return mgui.getTitleAt(this) + " (SystemC-AMS Diagram)";
-    }
-	
-    public void renameMapping(String oldName, String newName) {
-	if (scp != null) {
-	    scp.renameMapping(oldName, newName);
-	}
-    }
-
-    public CAMSBlockDiagramPanel getCAMSBlockDiagramPanel(){
-	return camsbdp;
-    }
-}
diff --git a/src/main/java/ui/TAction.java b/src/main/java/ui/TAction.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TAttribute.java b/src/main/java/ui/TAttribute.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TClassAndGateDS.java b/src/main/java/ui/TClassAndGateDS.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TClassInterface.java b/src/main/java/ui/TClassInterface.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TClassSynchroInterface.java b/src/main/java/ui/TClassSynchroInterface.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TDPWithAttributes.java b/src/main/java/ui/TDPWithAttributes.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TDiagramMouseManager.java b/src/main/java/ui/TDiagramMouseManager.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TDiagramPanel.java b/src/main/java/ui/TDiagramPanel.java
old mode 100755
new mode 100644
index d19697e2f1f2df753f686c8ba6762db00600b7f1..70a9e30495acb3a7a9f8f78a7ff6cc0cf1f25efa
--- a/src/main/java/ui/TDiagramPanel.java
+++ b/src/main/java/ui/TDiagramPanel.java
@@ -52,16 +52,15 @@ import ui.avatarmad.AvatarMADAssumption;
 import ui.avatarrd.AvatarRDRequirement;
 import ui.avatarsmd.AvatarSMDState;
 import ui.cd.*;
-import ui.het.CAMSBlock;
-import ui.het.CAMSBlockConnector;
-import ui.het.CAMSBlockDiagramPanel;
-import ui.het.CAMSConnectingPoint;
 import ui.ncdd.NCEqNode;
 import ui.ncdd.NCRouteArtifact;
 import ui.ncdd.NCSwitchNode;
 import ui.ncdd.NCTrafficArtifact;
 import ui.oscd.TOSClass;
 import ui.req.Requirement;
+import ui.syscams.SysCAMSCompositeComponent;
+import ui.syscams.SysCAMSPrimitiveComponent;
+import ui.syscams.SysCAMSRecordComponent;
 import ui.tmlcd.TMLTaskOperator;
 import ui.tmlcompd.TMLCCompositeComponent;
 import ui.tmlcompd.TMLCPrimitiveComponent;
@@ -114,7 +113,6 @@ public abstract class TDiagramPanel extends JPanel implements GenericTree {
 
     protected List<TGComponent> componentList;
     protected TGConnectingPoint selectedConnectingPoint;
-    protected CAMSConnectingPoint selectedCAMSConnectingPoints;
     protected TGComponent componentPointed;
     protected TGComponent componentPopup;
     protected TToolBar ttb;
@@ -184,7 +182,6 @@ public abstract class TDiagramPanel extends JPanel implements GenericTree {
     protected int y2;
     protected Vector<Point> listPoint;
     protected TGConnectingPoint p1, p2;
-    protected CAMSConnectingPoint cp1, cp2;
     protected int type;
 
     // For component selection
@@ -502,9 +499,6 @@ public abstract class TDiagramPanel extends JPanel implements GenericTree {
 
             if (this.javaVisible && (tgc.hasPostJavaCode() || tgc.hasPreJavaCode()))
                 tgc.drawJavaCode(g);
-
-            if (this instanceof CAMSBlockDiagramPanel) //Connecting points should always be visible in System-C AMS panels
-                tgc.drawTGConnectingPoint(g, this.type);
         }
 
         // Draw name of component selected
@@ -668,6 +662,7 @@ public abstract class TDiagramPanel extends JPanel implements GenericTree {
         //    LinkedList<TGComponent> ruteoList = this.componentList;
         //
         for (TGComponent tgc : this.componentList) {
+            //TraceManager.addDev("Considering component:" + tgc);
             if ((selected == false) || (tgc.isSelected())) {
                 s = tgc.saveInXML();
                 if (s == null) {
@@ -948,10 +943,6 @@ public abstract class TDiagramPanel extends JPanel implements GenericTree {
         return selectedConnectingPoint;
     }
 
-    public CAMSConnectingPoint getSelectedCAMSConnectingPoint() {
-        return selectedCAMSConnectingPoints;
-    }
-
     // Adding component
     public TGComponent addComponent(int x, int y, boolean swallow) {
         //TraceManager.addDev("Add component");
@@ -1096,46 +1087,6 @@ public abstract class TDiagramPanel extends JPanel implements GenericTree {
         listPoint = null;
     }
 
-    public void addingCAMSConnector() {
-        listPoint = new Vector<Point>();
-        cp1 = getSelectedCAMSConnectingPoint();
-        x1 = cp1.getX();
-        y1 = cp1.getY();
-        selectedConnectingPoint.setFree(false);
-    }
-
-    public void setAddingCAMSConnector(int _x2, int _y2) {
-        x2 = _x2;
-        y2 = _y2;
-    }
-
-    public void addPointToCAMSConnector(int x, int y) {
-        listPoint.addElement(new Point(x, y));
-        x1 = x;
-        y1 = y;
-    }
-
-    public void finishAddingConnector(CAMSConnectingPoint cp2) {
-        CAMSBlockConnector camsco = TGComponentManager.addCAMSConnector(cp1.getX(), cp1.getY(), mgui.getIdButtonSelected(), this, cp1, cp2, listPoint);
-        if (camsco != null) {
-            TraceManager.addDev("Adding connector");
-            cp2.setFree(false);
-            this.componentList.add(0, camsco);
-            if (camsco instanceof SpecificActionAfterAdd) {
-                ((SpecificActionAfterAdd) camsco).specificActionAfterAdd();
-            }
-            stopAddingConnector(false);
-            cp1.setFree(false);
-            cp1 = null;
-            cp2 = null;
-        } else {
-            TraceManager.addDev("Cancel adding connector");
-            cp2.setFree(true);
-            stopAddingConnector(true);
-            cp1.setFree(true);
-        }
-    }
-
 // -------------mark
 
 
@@ -2755,6 +2706,25 @@ public abstract class TDiagramPanel extends JPanel implements GenericTree {
             }
         });
     }
+    
+    public String findSysCAMSPrimitiveComponentName(String name) {
+    	return this.findGoodName(name, new NameChecker() {
+    		public boolean checkSysCAMSCPrimitiveComponent(SysCAMSPrimitiveComponent o, String name) {
+    			return o.getValue().equals(name);
+    		}
+    		
+    		public boolean checkSysCAMSRecordComponent(SysCAMSRecordComponent o, String name) {
+    			return o.getValue().equals(name);
+    		}
+    		
+    		public boolean checkSysCAMSCompositeComponent(SysCAMSCompositeComponent o, String name) {
+    			for (int i = 0; i < o.getNbInternalTGComponent(); i++)
+    				if (this.isNameAlreadyTaken(o.getInternalTGComponent(i), name))
+    					return true;
+    			return false;
+    		}
+    	});
+    }
 
     public String findTMLRecordComponentName(String name) {
         return this.findTMLPrimitiveComponentName(name);
@@ -2804,16 +2774,6 @@ public abstract class TDiagramPanel extends JPanel implements GenericTree {
         });
     }
 
-    public String findCAMSBlockName(String name) {
-        return this.findGoodName(name, new NameChecker() {
-            public boolean checkCAMSBlock(CAMSBlock o, String name) {
-                if (o.getValue().equals(name))
-                    return true;
-                return o.hasBlockWithName();
-            }
-        });
-    }
-
     public String findAvatarSMDStateName(String name) {
         return this.findGoodName(name, new NameChecker() {
             public boolean checkAvatarSMDState(AvatarSMDState o, String name) {
diff --git a/src/main/java/ui/TGAutoAdjust.java b/src/main/java/ui/TGAutoAdjust.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGCAttributeBox.java b/src/main/java/ui/TGCAttributeBox.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGCNote.java b/src/main/java/ui/TGCNote.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGCOneLineText.java b/src/main/java/ui/TGCOneLineText.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGCPanelInfo.java b/src/main/java/ui/TGCPanelInfo.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGCPointOfConnector.java b/src/main/java/ui/TGCPointOfConnector.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGCScalableOneLineText.java b/src/main/java/ui/TGCScalableOneLineText.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGCScalableWithInternalComponent.java b/src/main/java/ui/TGCScalableWithInternalComponent.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGCScalableWithoutInternalComponent.java b/src/main/java/ui/TGCScalableWithoutInternalComponent.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGCScalableWithoutInternalComponentOneLineText.java b/src/main/java/ui/TGCScalableWithoutInternalComponentOneLineText.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGCTimeInterval.java b/src/main/java/ui/TGCTimeInterval.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGCWithInternalComponent.java b/src/main/java/ui/TGCWithInternalComponent.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGCWithOneLineText.java b/src/main/java/ui/TGCWithOneLineText.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGCWithoutInternalComponent.java b/src/main/java/ui/TGCWithoutInternalComponent.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGComponent.java b/src/main/java/ui/TGComponent.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGComponentAndUPPAALQuery.java b/src/main/java/ui/TGComponentAndUPPAALQuery.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGComponentManager.java b/src/main/java/ui/TGComponentManager.java
old mode 100755
new mode 100644
index dacd22c7869066ddc1fd79f39cffafdb34fb3e47..1996150bc529212afeabe55c7fce0a814e2e5ab6
--- a/src/main/java/ui/TGComponentManager.java
+++ b/src/main/java/ui/TGComponentManager.java
@@ -60,9 +60,6 @@ import ui.dd.TGConnectorLinkNode;
 import ui.diplodocusmethodology.*;
 import ui.ebrdd.*;
 import ui.ftd.*;
-import ui.het.CAMSBlock;
-import ui.het.CAMSBlockConnector;
-import ui.het.CAMSConnectingPoint;
 import ui.iod.*;
 import ui.ncdd.*;
 import ui.osad.*;
@@ -70,6 +67,7 @@ import ui.oscd.*;
 import ui.procsd.*;
 import ui.prosmd.*;
 import ui.req.*;
+import ui.syscams.*;
 import ui.sysmlsecmethodology.*;
 import ui.tmlad.*;
 import ui.tmlcd.*;
@@ -337,7 +335,12 @@ public class TGComponentManager {
 
     // SystemC-AMS
     public static final int CAMS_CONNECTOR = 1601;
-    public static final int CAMS_BLOCK = 1602;
+    public static final int CAMS_BLOCK_TDF = 1602;
+    public static final int CAMS_BLOCK_DE = 1603;
+    public static final int CAMS_PORT_TDF = 1604;
+    public static final int CAMS_PORT_DE = 1605;
+    public static final int CAMS_PORT_CONVERTER = 1606;
+    public static final int CAMS_CLUSTER = 1607;
 
     // SMD diagram
     public static final int PROSMD_START_STATE = 2000;
@@ -1208,9 +1211,6 @@ public class TGComponentManager {
             case TMLARCHI_HWANODE:
                 tgc = new TMLArchiHWANode(x, y, tdp.getMinX(), tdp.getMaxX(), tdp.getMinY(), tdp.getMaxY(), false, null, tdp);
                 break;
-            case TMLARCHI_CAMSNODE:
-                tgc = new TMLArchiCAMSNode(x, y, tdp.getMinX(), tdp.getMaxX(), tdp.getMinY(), tdp.getMaxY(), false, null, tdp);
-                break;
             case TMLARCHI_MEMORYNODE:
                 tgc = new TMLArchiMemoryNode(x, y, tdp.getMinX(), tdp.getMaxX(), tdp.getMinY(), tdp.getMaxY(), false, null, tdp);
                 break;
@@ -1232,9 +1232,25 @@ public class TGComponentManager {
             case TMLARCHI_KEY:
                 tgc = new TMLArchiKey(x, y, tdp.getMinX(), tdp.getMaxX(), tdp.getMinY(), tdp.getMaxY(), false, null, tdp);
                 break;
-            case CAMS_BLOCK:
-                tgc = new CAMSBlock(x, y, tdp.getMinX(), tdp.getMaxX(), tdp.getMinY(), tdp.getMaxY(), false, null, tdp);
-                break;
+            // SystemC-AMS
+            case CAMS_BLOCK_TDF:
+                tgc = new SysCAMSBlockTDF(x, y, tdp.getMinX(), tdp.getMaxX(), tdp.getMinY(), tdp.getMaxY(), false, null, tdp);
+                break;
+            case CAMS_BLOCK_DE:
+            	tgc = new SysCAMSBlockDE(x, y, tdp.getMinX(), tdp.getMaxX(), tdp.getMinY(), tdp.getMaxY(), false, null, tdp);
+            	break;
+            case CAMS_PORT_TDF:
+            	tgc = new SysCAMSPortTDF(x, y, tdp.getMinX(), tdp.getMaxX(), tdp.getMinY(), tdp.getMaxY(), false, null, tdp);
+            	break;
+            case CAMS_PORT_DE:
+            	tgc = new SysCAMSPortDE(x, y, tdp.getMinX(), tdp.getMaxX(), tdp.getMinY(), tdp.getMaxY(), false, null, tdp);
+            	break;
+            case CAMS_PORT_CONVERTER:
+            	tgc = new SysCAMSPortConverter(x, y, tdp.getMinX(), tdp.getMaxX(), tdp.getMinY(), tdp.getMaxY(), false, null, tdp);
+            	break;
+            case CAMS_CLUSTER:
+            	tgc = new SysCAMSCompositeComponent(x, y, tdp.getMinX(), tdp.getMaxX(), tdp.getMinY(), tdp.getMaxY(), false, null, tdp);
+            	break;
 
             // Communication patterns + SD
             case TMLCP_CHOICE:
@@ -1615,9 +1631,21 @@ public class TGComponentManager {
         } else if (tgc instanceof AvatarADAssociationConnector) {
             return AAD_ASSOCIATION_CONNECTOR;
 
-            //SystemC-AMS -----mark
-        } else if (tgc instanceof CAMSBlockConnector) {
+            // SystemC-AMS
+        } else if (tgc instanceof SysCAMSPortConnector) {
             return CAMS_CONNECTOR;
+        } else if (tgc instanceof SysCAMSBlockTDF) {
+        	return CAMS_BLOCK_TDF;
+        } else if (tgc instanceof SysCAMSBlockDE) {
+        	return CAMS_BLOCK_DE;
+        } else if (tgc instanceof SysCAMSPortTDF) {
+        	return CAMS_PORT_TDF;
+        } else if (tgc instanceof SysCAMSPortDE) {
+        	return CAMS_PORT_DE;
+        } else if (tgc instanceof SysCAMSPortConverter) {
+        	return CAMS_PORT_CONVERTER;
+        } else if (tgc instanceof SysCAMSCompositeComponent) {
+        	return CAMS_CLUSTER;
 
             // Others
         } else if (tgc instanceof TADDeterministicDelay) {
@@ -1952,8 +1980,6 @@ public class TGComponentManager {
             return AVATAR_FIREWALL;
         } else if (tgc instanceof TMLArchiHWANode) {
             return TMLARCHI_HWANODE;
-        } else if (tgc instanceof TMLArchiCAMSNode) {
-            return TMLARCHI_CAMSNODE;
         } else if (tgc instanceof TMLArchiMemoryNode) {
             return TMLARCHI_MEMORYNODE;
         } else if (tgc instanceof TMLArchiDMANode) {
@@ -2316,6 +2342,9 @@ public class TGComponentManager {
             case CONNECTOR_PORT_TMLC:
                 tgc = new TMLCPortConnector(x, y, tdp.getMinX(), tdp.getMaxX(), tdp.getMinY(), tdp.getMaxY(), false, null, tdp, p1, p2, listPoint);
                 break;
+            case CAMS_CONNECTOR:
+            	tgc = new SysCAMSPortConnector(x, y, tdp.getMinX(), tdp.getMaxX(), tdp.getMinY(), tdp.getMaxY(), false, null, tdp, p1, p2, listPoint);
+            	break;
             case CONNECTOR_NODE_TMLARCHI:
                 tgc = new TMLArchiConnectorNode(x, y, tdp.getMinX(), tdp.getMaxX(), tdp.getMinY(), tdp.getMaxY(), false, null, tdp, p1, p2, listPoint);
                 break;
@@ -2364,10 +2393,4 @@ public class TGComponentManager {
 
     }
 
-    public final static CAMSBlockConnector addCAMSConnector(int x, int y, int id, TDiagramPanel tdp, CAMSConnectingPoint p1, CAMSConnectingPoint p2, Vector<Point> listPoint) {
-        CAMSBlockConnector cbc = null;
-        cbc = new CAMSBlockConnector(x, y, tdp.getMinX(), tdp.getMaxX(), tdp.getMinY(), tdp.getMaxY(), false, null, tdp, p1, p2, listPoint);
-        return cbc;
-    }
-
 } // Class
diff --git a/src/main/java/ui/TGComponentPlugin.java b/src/main/java/ui/TGComponentPlugin.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGConnectingPoint.java b/src/main/java/ui/TGConnectingPoint.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGConnectingPointComment.java b/src/main/java/ui/TGConnectingPointComment.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGConnectingPointGroup.java b/src/main/java/ui/TGConnectingPointGroup.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGConnectingPointTmp.java b/src/main/java/ui/TGConnectingPointTmp.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGConnectingPointTwoFathers.java b/src/main/java/ui/TGConnectingPointTwoFathers.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGConnectingPointWidthHeight.java b/src/main/java/ui/TGConnectingPointWidthHeight.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGConnector.java b/src/main/java/ui/TGConnector.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGConnectorAttribute.java b/src/main/java/ui/TGConnectorAttribute.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGConnectorBetweenElementsInterface.java b/src/main/java/ui/TGConnectorBetweenElementsInterface.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGConnectorComment.java b/src/main/java/ui/TGConnectorComment.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGConnectorFullArrow.java b/src/main/java/ui/TGConnectorFullArrow.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGConnectorWithCommentConnectionPoints.java b/src/main/java/ui/TGConnectorWithCommentConnectionPoints.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGState.java b/src/main/java/ui/TGState.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGUIAction.java b/src/main/java/ui/TGUIAction.java
old mode 100755
new mode 100644
index b28909c4b3505c2cfa752426749fb21b36d282c5..dbaa115ce4281e4209c50cd15f779d16d7741c01
--- a/src/main/java/ui/TGUIAction.java
+++ b/src/main/java/ui/TGUIAction.java
@@ -77,8 +77,7 @@ public class TGUIAction extends AbstractAction {
     public static final int ACT_MERGE = 228;
     public static final int ACT_SAVE = 2;
 
-    public static final int ACT_SAVE_AS_PROJECT = 31;
-    public static final int ACT_SAVE_AS_MODEL = 475;
+    public static final int ACT_SAVE_AS = 31;
     public static final int ACT_SAVE_TIF = 213;
     public static final int ACT_OPEN_TIF = 214;
     public static final int ACT_OPEN_SD = 268;
@@ -276,8 +275,13 @@ public class TGUIAction extends AbstractAction {
     public static final int TMLSD_EDIT = 391;
 
     public static final int CAMS_EDIT = 458;
-    public static final int CAMS_BLOCK = 459;
+    public static final int CAMS_BLOCK_TDF = 459;
     public static final int CAMS_CONNECTOR = 460;
+    public static final int CAMS_BLOCK_DE = 475;
+    public static final int CAMS_PORT_TDF = 476;
+    public static final int CAMS_PORT_DE = 477;
+    public static final int CAMS_PORT_CONVERTER = 478;
+    public static final int CAMS_CLUSTER = 479;
 
     public static final int EBRDD_EDIT = 271;
     public static final int EBRDD_CONNECTOR = 272;
@@ -631,7 +635,7 @@ public class TGUIAction extends AbstractAction {
     public static final int MOVE_ENABLED = 463;
     public static final int FIRST_DIAGRAM = 464;
     
-    public static final int NB_ACTION = 476;
+    public static final int NB_ACTION = 480;
 
     private static final TAction [] actions = new TAction[NB_ACTION];
 
@@ -708,8 +712,7 @@ public class TGUIAction extends AbstractAction {
         actions[ACT_SAVE_TIF] = new TAction("save-tif-command", "Save TIF specification",IconManager.imgic24, IconManager.imgic25, "Save TIF Specification", "Save in TIF a TURTLE modeling", 0);
         actions[ACT_OPEN_TIF] = new TAction("open-tif-command", "Open TIF specification",IconManager.imgic24, IconManager.imgic25, "Open TIF Specification", "Open a TURTLE modeling given in TIF", 0);
         actions[ACT_OPEN_SD] = new TAction("open-sd-command", "Open MSC specification",IconManager.imgic24, IconManager.imgic25, "Open MSC Specification", "Open a MSC specification given in xml format", 0);
-        actions[ACT_SAVE_AS_PROJECT] = new TAction("saveasproject-command", "Save as Project",IconManager.imgic24, IconManager.imgic25, "Save as Project", "Save an opened or a new TTool modeling under a new project", 0);
-        actions[ACT_SAVE_AS_MODEL] = new TAction("saveasmodel-command", "Save as Model",IconManager.imgic24, IconManager.imgic25, "Save as Model", "Save an opened or a new TTool modeling under a new model", 0);
+        actions[ACT_SAVE_AS] = new TAction("saveas-command", "Save as",IconManager.imgic24, IconManager.imgic25, "Save as", "Save an opened or a new TTool modeling under a new name", 0);
         actions[ACT_QUIT] = new TAction("quit-command", "Quit", IconManager.imgic26, IconManager.imgic27, "Quit",  "Quit TTool", 'Q');
 
         actions[ACT_SAVE_LOTOS] = new TAction("save-last-lotos", "Save last RT-LOTOS specification",IconManager.imgic24, IconManager.imgic25, "Save last RT-LOTOS specification", "Save the lastest automatically generated RT-LOTOS specification", 0);
@@ -1090,9 +1093,13 @@ public class TGUIAction extends AbstractAction {
 
         //System C-AMS
         actions[CAMS_EDIT] = new TAction("add-action-C-AMS", "Action state", IconManager.imgic100, IconManager.imgic101, "Action state", "Add an action state to the currently opened SystemC-AMS diagram", 0);
-        actions[CAMS_BLOCK] = new TAction("C-AMS-block", "Add a block", IconManager.imgic5000, IconManager.imgic5000, "Block", "Add a Block to the currently opened SystemC-AMS Diagram", 0);
+        actions[CAMS_BLOCK_TDF] = new TAction("C-AMS-block-TDF", "Add a TDF block", IconManager.imgic5000, IconManager.imgic5000, "TDF block", "Add a TDF block to the currently opened SystemC-AMS Diagram", 0);
+        actions[CAMS_BLOCK_DE] = new TAction("C-AMS-block-DE", "Add a DE block", IconManager.imgic5000, IconManager.imgic5000, "DE block", "Add a DE block to the currently opened SystemC-AMS Diagram", 0);
         actions[CAMS_CONNECTOR] = new TAction("C-AMS-connector", "Add a connection", IconManager.imgic202, IconManager.imgic202, "Connector", "Connects two block of the currently opened SystemC-AMS Diagram", 0);
-
+        actions[CAMS_PORT_TDF] = new TAction("C-AMS-port-TDF", "Add a TDF port", IconManager.imgic8000, IconManager.imgic8000, "TDF port", "Add a TDF port to the currently opened SystemC-AMS Diagram", 0);
+        actions[CAMS_PORT_DE] = new TAction("C-AMS-port-DE", "Add a DE port", IconManager.imgic8001, IconManager.imgic8001, "DE port", "Add a DE port to the currently opened SystemC-AMS Diagram", 0);
+        actions[CAMS_PORT_CONVERTER] = new TAction("C-AMS-port-converter", "Add a converter port", IconManager.imgic8003, IconManager.imgic8003, "Converter port", "Add a converter port to the currently opened SystemC-AMS Diagram", 0);
+        actions[CAMS_CLUSTER] = new TAction("C-AMS-cluster", "Add a cluster", IconManager.imgic5000, IconManager.imgic5000, "Cluster", "Add a cluster to the currently opened SystemC-AMS Diagram", 0);
 
         //ProActive State Machine Diagram
         actions[PROSMD_EDIT] = new TAction("edit-prosmd-diagram", "Edit ProActive state machine diagram", IconManager.imgic100, IconManager.imgic101, "Edit ProActive state machine diagram", "Make it possible to edit the currently opened ProActive state machine diagram", 0);
diff --git a/src/main/java/ui/TMLArchiPanel.java b/src/main/java/ui/TMLArchiPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TMLCommunicationPatternPanel.java b/src/main/java/ui/TMLCommunicationPatternPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TMLComponentDesignPanel.java b/src/main/java/ui/TMLComponentDesignPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TMLDesignPanel.java b/src/main/java/ui/TMLDesignPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TMLTaskInterface.java b/src/main/java/ui/TMLTaskInterface.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TOneAttribute.java b/src/main/java/ui/TOneAttribute.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TToolBar.java b/src/main/java/ui/TToolBar.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TToolUpdater.java b/src/main/java/ui/TToolUpdater.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TTwoAttributes.java b/src/main/java/ui/TTwoAttributes.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TType.java b/src/main/java/ui/TType.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TURTLEDesignPanelInterface.java b/src/main/java/ui/TURTLEDesignPanelInterface.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TURTLEModelChecker.java b/src/main/java/ui/TURTLEModelChecker.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TURTLEModelingDrawer.java b/src/main/java/ui/TURTLEModelingDrawer.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TURTLEOSDesignPanel.java b/src/main/java/ui/TURTLEOSDesignPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TURTLEPanel.java b/src/main/java/ui/TURTLEPanel.java
old mode 100755
new mode 100644
index 8665d9bba1345ce7a9598b6a72bd74ebb0cfc7a8..b1d542fab741818aa78d7219e93ccba1823e34d4
--- a/src/main/java/ui/TURTLEPanel.java
+++ b/src/main/java/ui/TURTLEPanel.java
@@ -149,6 +149,7 @@ public abstract class TURTLEPanel implements GenericTree {
         StringBuffer s;
 
         tdp = panels.elementAt(indexOfDiagram);
+
         s = tdp.saveInXML();
         if (s == null) {
             //System.out.println("Null diagram");
diff --git a/src/main/java/ui/TURTLEPanelPopupListener.java b/src/main/java/ui/TURTLEPanelPopupListener.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ThreadGUIElement.java b/src/main/java/ui/ThreadGUIElement.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/UICheckingError.java b/src/main/java/ui/UICheckingError.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/VectorLRArtifactTClassGate.java b/src/main/java/ui/VectorLRArtifactTClassGate.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/WithAttributes.java b/src/main/java/ui/WithAttributes.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ZoomGraphics.java b/src/main/java/ui/ZoomGraphics.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ad/TADActionState.java b/src/main/java/ui/ad/TADActionState.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ad/TADArrayGetState.java b/src/main/java/ui/ad/TADArrayGetState.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ad/TADArraySetState.java b/src/main/java/ui/ad/TADArraySetState.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ad/TADChoice.java b/src/main/java/ui/ad/TADChoice.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ad/TADDeterministicDelay.java b/src/main/java/ui/ad/TADDeterministicDelay.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ad/TADJunction.java b/src/main/java/ui/ad/TADJunction.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ad/TADNonDeterministicDelay.java b/src/main/java/ui/ad/TADNonDeterministicDelay.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ad/TADParallel.java b/src/main/java/ui/ad/TADParallel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ad/TADPreemption.java b/src/main/java/ui/ad/TADPreemption.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ad/TADSequence.java b/src/main/java/ui/ad/TADSequence.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ad/TADStartState.java b/src/main/java/ui/ad/TADStartState.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ad/TADStopState.java b/src/main/java/ui/ad/TADStopState.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ad/TADTimeCapture.java b/src/main/java/ui/ad/TADTimeCapture.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ad/TADTimeInterval.java b/src/main/java/ui/ad/TADTimeInterval.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ad/TADTimeLimitedOffer.java b/src/main/java/ui/ad/TADTimeLimitedOffer.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ad/TADTimeLimitedOfferWithLatency.java b/src/main/java/ui/ad/TADTimeLimitedOfferWithLatency.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ad/TActivityDiagramPanel.java b/src/main/java/ui/ad/TActivityDiagramPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ad/TActivityDiagramToolBar.java b/src/main/java/ui/ad/TActivityDiagramToolBar.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ad/TGConnectingPointAD.java b/src/main/java/ui/ad/TGConnectingPointAD.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/atd/ATDAttack.java b/src/main/java/ui/atd/ATDAttack.java
index 22ee35e5f565976190b511128d11aa62f262ee3b..5d65a5723f20274805a6eadfa2e687a55da06019 100644
--- a/src/main/java/ui/atd/ATDAttack.java
+++ b/src/main/java/ui/atd/ATDAttack.java
@@ -1,26 +1,26 @@
 /* Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille
- *
+ * 
  * ludovic.apvrille AT enst.fr
- *
+ * 
  * This software is a computer program whose purpose is to allow the
  * edition of TURTLE analysis, design and deployment diagrams, to
  * allow the generation of RT-LOTOS or Java code from this diagram,
  * and at last to allow the analysis of formal validation traces
  * obtained from external tools, e.g. RTL from LAAS-CNRS and CADP
  * from INRIA Rhone-Alpes.
- *
+ * 
  * This software is governed by the CeCILL  license under French law and
  * abiding by the rules of distribution of free software.  You can  use,
  * modify and/ or redistribute the software under the terms of the CeCILL
  * license as circulated by CEA, CNRS and INRIA at the following URL
  * "http://www.cecill.info".
- *
+ * 
  * As a counterpart to the access to the source code and  rights to copy,
  * modify and redistribute granted by the license, users are provided only
  * with a limited warranty  and the software's author,  the holder of the
  * economic rights,  and the successive licensors  have only  limited
  * liability.
- *
+ * 
  * In this respect, the user's attention is drawn to the risks associated
  * with loading,  using,  modifying and/or developing or reproducing the
  * software by the user in light of its specific status of free software,
@@ -31,12 +31,14 @@
  * requirements in conditions enabling the security of their systems and/or
  * data to be ensured and,  more generally, to use and operate it in the
  * same conditions as regards security.
- *
+ * 
  * The fact that you are presently reading this means that you have had
  * knowledge of the CeCILL license and that you accept its terms.
  */
 
 
+
+
 package ui.atd;
 
 import myutil.GraphicLib;
@@ -52,18 +54,17 @@ import javax.swing.*;
 import java.awt.*;
 
 /**
- * Class ATDAttack
- * Attack -> SysML value type
- * Creation: 09/12/2009
- *
- * @author Ludovic APVRILLE
- * @version 1.0 09/12/2009
+   * Class ATDAttack
+   * Attack -> SysML value type
+   * Creation: 09/12/2009
+   * @version 1.0 09/12/2009
+   * @author Ludovic APVRILLE
  */
 public class ATDAttack extends TGCScalableWithInternalComponent implements SwallowedTGComponent, WithAttributes, CheckableAccessibility, CanBeDisabled {
     private int textY1 = 3;
-    //   private int textY2 = 3;
+ //   private int textY2 = 3;
 
-    // private static int arc = 7;
+   // private static int arc = 7;
     //private int textX = 10;
 
     protected String oldValue = "";
@@ -78,11 +79,11 @@ public class ATDAttack extends TGCScalableWithInternalComponent implements Swall
     private boolean displayText = true;
     private int textX = 10;
 
-    public ATDAttack(int _x, int _y, int _minX, int _maxX, int _minY, int _maxY, boolean _pos, TGComponent _father, TDiagramPanel _tdp) {
+    public ATDAttack(int _x, int _y, int _minX, int _maxX, int _minY, int _maxY, boolean _pos, TGComponent _father, TDiagramPanel _tdp)  {
         super(_x, _y, _minX, _maxX, _minY, _maxY, _pos, _father, _tdp);
 
         width = 125;
-        height = (int) (40 * tdp.getZoom());
+        height = (int)(40 * tdp.getZoom());
         minWidth = 100;
 
         nbConnectingPoint = 24;
@@ -100,7 +101,7 @@ public class ATDAttack extends TGCScalableWithInternalComponent implements Swall
         connectingPoint[9] = new ATDAttackConnectingPoint(this, 0, 0, true, true, 1.0, 0.75);
         connectingPoint[10] = new ATDAttackConnectingPoint(this, 0, 0, true, true, 0.25, 1.0);
         connectingPoint[11] = new ATDAttackConnectingPoint(this, 0, 0, true, true, 0.75, 1.0);
-        connectingPoint[12] = new ATDCountermeasureConnectingPoint(this, 0, 0, true, true, 0.5, 0.0);
+	connectingPoint[12] = new ATDCountermeasureConnectingPoint(this, 0, 0, true, true, 0.5, 0.0);
         connectingPoint[13] = new ATDCountermeasureConnectingPoint(this, 0, 0, true, true, 0.0, 0.5);
         connectingPoint[14] = new ATDCountermeasureConnectingPoint(this, 0, 0, true, true, 1.0, 0.5);
         connectingPoint[15] = new ATDCountermeasureConnectingPoint(this, 0, 0, true, true, 0.5, 1.0);
@@ -150,6 +151,7 @@ public class ATDAttack extends TGCScalableWithInternalComponent implements Swall
             rescaled = false;
 
 
+
             // Must set the font size ..
             // Find the biggest font not greater than max_font size
             // By Increment of 1
@@ -183,9 +185,9 @@ public class ATDAttack extends TGCScalableWithInternalComponent implements Swall
               }*/
 
 
-            float scale = (float) (f.getSize() * tdp.getZoom());
+            float scale = (float)(f.getSize()*tdp.getZoom());
             scale = Math.min(maxFontSize, scale);
-            currentFontSize = (int) scale;
+            currentFontSize = (int)scale;
             if (scale < minFontSize) {
                 displayText = false;
             } else {
@@ -206,7 +208,7 @@ public class ATDAttack extends TGCScalableWithInternalComponent implements Swall
             g.setColor(ColorManager.ATD_ATTACK_DISABLED);
         }
 
-        g.fill3DRect(x + 1, y + 1, width - 1, height - 1, true);
+        g.fill3DRect(x+1, y+1, width-1, height-1, true);
         g.setColor(c);
 
         // Strings
@@ -215,54 +217,55 @@ public class ATDAttack extends TGCScalableWithInternalComponent implements Swall
         //TraceManager.addDev("display text of attack=" + displayText);
 
         if (displayText) {
-            f = f.deriveFont((float) currentFontSize);
+            f = f.deriveFont((float)currentFontSize);
             g.setFont(f);
             //Font f0 = g.getFont();
 
-            boolean cannotWriteAttack = (height < (2 * currentFontSize + (int) (textY1 * tdp.getZoom())));
+            boolean cannotWriteAttack = (height < (2 * currentFontSize + (int)(textY1 * tdp.getZoom())));
             //TraceManager.addDev("Zoom=" + tdp.getZoom() + " Cannot write attack=" + cannotWriteAttack + "Font=" + f0);
             if (cannotWriteAttack) {
-                w = g.getFontMetrics().stringWidth(value);
-                int h = currentFontSize + (int) (textY1 * tdp.getZoom());
-                if ((w < (2 * textX + width)) && (h < height)) {
-                    g.drawString(value, x + (width - w) / 2, y + h);
+                w  = g.getFontMetrics().stringWidth(value);
+                int h =  currentFontSize + (int)(textY1 * tdp.getZoom());
+                if ((w < (2*textX + width)) && (h < height)) {
+                    g.drawString(value, x + (width - w)/2, y + h);
                 } else {
-                    w = g.getFontMetrics().stringWidth(ster);
-                    if ((w < (2 * textX + width)) && (h < height)) {
-                        g.drawString(ster, x + (width - w) / 2, y + h);
+                    w  = g.getFontMetrics().stringWidth(ster);
+                    if ((w < (2*textX + width)) && (h < height)) {
+                        g.drawString(ster, x + (width - w)/2, y + h);
                     }
                 }
             } else {
                 g.setFont(f.deriveFont(Font.BOLD));
-                int h = currentFontSize + (int) (textY1 * tdp.getZoom());
+                int h =  currentFontSize + (int)(textY1 * tdp.getZoom());
                 int cumulated = 0;
                 w = g.getFontMetrics().stringWidth(ster);
-                if ((w < (2 * textX + width)) && (h < height)) {
-                    g.drawString(ster, x + (width - w) / 2, y + h);
+                if ((w < (2*textX + width)) && (h < height)) {
+                    g.drawString(ster, x + (width - w)/2, y + h);
                     cumulated = h;
                 }
                 g.setFont(f);
-                w = g.getFontMetrics().stringWidth(value);
-                h = cumulated + currentFontSize + (int) (textY1 * tdp.getZoom());
-                if ((w < (2 * textX + width)) && (h < height)) {
+                w  = g.getFontMetrics().stringWidth(value);
+                h = cumulated + currentFontSize + (int)(textY1 * tdp.getZoom());
+                if ((w < (2*textX + width)) && (h < height)) {
                     //TraceManager.addDev("Drawing value=" + value);
-                    g.drawString(value, x + (width - w) / 2, y + h);
+                    g.drawString(value, x + (width - w)/2, y + h);
                 } else {
-                    g.drawString(value, x + (width - w) / 2, y + h);
+		    g.drawString(value, x + (width - w)/2, y + h);
                     //TraceManager.addDev("--------------------------------------------------- Cannot draw value=" + value);
                     //TraceManager.addDev("w=" + w + " val=" + (2*textX + width) + "h=" + h + " height=" + height + " zoom=" + tdp.getZoom() + " Font=" + f0);
                 }
             }
 
-            if (!isEnabled()) {
-                String val = "disabled";
-                w = g.getFontMetrics().stringWidth(val);
-                //int h =  currentFontSize + (int)(textY1 * tdp.getZoom());
-                g.setFont(f.deriveFont(Font.ITALIC));
-                g.drawString(val, x + (width - w - 5), y + height - 2);
-            }
-
+	    if (!isEnabled()) {
+		String val = "disabled";
+		w = g.getFontMetrics().stringWidth(val);
+		//int h =  currentFontSize + (int)(textY1 * tdp.getZoom());
+		g.setFont(f.deriveFont(Font.ITALIC));
+		g.drawString(val, x + (width - w - 5), y + height - 2);
+	    }
 
+	    
+	    
         } else {
             TraceManager.addDev("-------------------------------------------------- Cannot display text of attack");
         }
@@ -284,12 +287,12 @@ public class ATDAttack extends TGCScalableWithInternalComponent implements Swall
 
         if (currentFontSize != -1) {
             if (currentFontSize != f0.getSize()) {
-                g.setFont(f0.deriveFont((float) currentFontSize));
+                g.setFont(f0.deriveFont((float)currentFontSize));
             }
         }
 
-        int w = Math.max(g.getFontMetrics().stringWidth(value), g.getFontMetrics().stringWidth(ster));
-        int w1 = Math.max((int) (minWidth * tdp.getZoom()), w + 2 * textX);
+        int w  = Math.max(g.getFontMetrics().stringWidth(value), g.getFontMetrics().stringWidth(ster));
+        int w1 = Math.max((int)(minWidth*tdp.getZoom()), w + 2 * textX);
 
         //System.out.println("width=" + width + " w1=" + w1 + " w2=" + w2 + " value=" + value);
         if (w1 != width) {
@@ -318,9 +321,9 @@ public class ATDAttack extends TGCScalableWithInternalComponent implements Swall
         boolean error = false;
 
         JDialogAttack dialog = new JDialogAttack(frame, "Setting attack attributes", this);
-        //     dialog.setSize(450, 350);
+   //     dialog.setSize(450, 350);
         GraphicLib.centerOnParent(dialog, 450, 350);
-        dialog.setVisible(true); // blocked until dialog has been closed
+        dialog.setVisible( true ); // blocked until dialog has been closed
 
         if (!dialog.isRegularClose()) {
             return false;
@@ -348,9 +351,9 @@ public class ATDAttack extends TGCScalableWithInternalComponent implements Swall
 
         if (error) {
             JOptionPane.showMessageDialog(frame,
-                    "Name is non-valid",
-                    "Error",
-                    JOptionPane.INFORMATION_MESSAGE);
+                                          "Name is non-valid",
+                                          "Error",
+                                          JOptionPane.INFORMATION_MESSAGE);
         }
 
         return !error;
@@ -371,31 +374,31 @@ public class ATDAttack extends TGCScalableWithInternalComponent implements Swall
     protected String translateExtraParam() {
         StringBuffer sb = new StringBuffer("<extraparam>\n");
         sb.append("<info description=\"" + description);
-        sb.append("\" root=\"" + isRootAttack);
+        sb.append("\" root=\"" +isRootAttack);
         sb.append("\" />\n");
         sb.append("</extraparam>\n");
         return new String(sb);
     }
 
     @Override
-    public void loadExtraParam(NodeList nl, int decX, int decY, int decId) throws MalformedModelingException {
+    public void loadExtraParam(NodeList nl, int decX, int decY, int decId) throws MalformedModelingException{
         //System.out.println("*** load extra synchro ***");
         try {
 
             NodeList nli;
             Node n1, n2;
             Element elt;
-            //      int t1id;
+      //      int t1id;
             String sdescription = null;
-            //     String prio;
+       //     String prio;
             String isRoot = null;
 
-            for (int i = 0; i < nl.getLength(); i++) {
+            for(int i=0; i<nl.getLength(); i++) {
                 n1 = nl.item(i);
                 //System.out.println(n1);
                 if (n1.getNodeType() == Node.ELEMENT_NODE) {
                     nli = n1.getChildNodes();
-                    for (int j = 0; j < nli.getLength(); j++) {
+                    for(int j=0; j<nli.getLength(); j++) {
                         n2 = nli.item(j);
                         //System.out.println(n2);
                         if (n2.getNodeType() == Node.ELEMENT_NODE) {
@@ -445,4 +448,6 @@ public class ATDAttack extends TGCScalableWithInternalComponent implements Swall
     }
 
 
+
+
 }
diff --git a/src/main/java/ui/avatarad/AvatarADAcceptEventAction.java b/src/main/java/ui/avatarad/AvatarADAcceptEventAction.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarad/AvatarADAction.java b/src/main/java/ui/avatarad/AvatarADAction.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarad/AvatarADAssociationConnector.java b/src/main/java/ui/avatarad/AvatarADAssociationConnector.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarad/AvatarADChoice.java b/src/main/java/ui/avatarad/AvatarADChoice.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarad/AvatarADJunction.java b/src/main/java/ui/avatarad/AvatarADJunction.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarad/AvatarADParallel.java b/src/main/java/ui/avatarad/AvatarADParallel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarad/AvatarADPartition.java b/src/main/java/ui/avatarad/AvatarADPartition.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarad/AvatarADSendSignalAction.java b/src/main/java/ui/avatarad/AvatarADSendSignalAction.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarad/AvatarADStartState.java b/src/main/java/ui/avatarad/AvatarADStartState.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarad/AvatarADStopFlow.java b/src/main/java/ui/avatarad/AvatarADStopFlow.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarad/AvatarADStopState.java b/src/main/java/ui/avatarad/AvatarADStopState.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarbd/AvatarBDDataType.java b/src/main/java/ui/avatarbd/AvatarBDDataType.java
index b6a6de30a662c734eca065cc6405603d04aede15..e010f3a42f12bf0321b16a5e447dd2967aeaaf04 100644
--- a/src/main/java/ui/avatarbd/AvatarBDDataType.java
+++ b/src/main/java/ui/avatarbd/AvatarBDDataType.java
@@ -1,26 +1,26 @@
 /* Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille
- *
+ * 
  * ludovic.apvrille AT enst.fr
- *
+ * 
  * This software is a computer program whose purpose is to allow the
  * edition of TURTLE analysis, design and deployment diagrams, to
  * allow the generation of RT-LOTOS or Java code from this diagram,
  * and at last to allow the analysis of formal validation traces
  * obtained from external tools, e.g. RTL from LAAS-CNRS and CADP
  * from INRIA Rhone-Alpes.
- *
+ * 
  * This software is governed by the CeCILL  license under French law and
  * abiding by the rules of distribution of free software.  You can  use,
  * modify and/ or redistribute the software under the terms of the CeCILL
  * license as circulated by CEA, CNRS and INRIA at the following URL
  * "http://www.cecill.info".
- *
+ * 
  * As a counterpart to the access to the source code and  rights to copy,
  * modify and redistribute granted by the license, users are provided only
  * with a limited warranty  and the software's author,  the holder of the
  * economic rights,  and the successive licensors  have only  limited
  * liability.
- *
+ * 
  * In this respect, the user's attention is drawn to the risks associated
  * with loading,  using,  modifying and/or developing or reproducing the
  * software by the user in light of its specific status of free software,
@@ -31,12 +31,14 @@
  * requirements in conditions enabling the security of their systems and/or
  * data to be ensured and,  more generally, to use and operate it in the
  * same conditions as regards security.
- *
+ * 
  * The fact that you are presently reading this means that you have had
  * knowledge of the CeCILL license and that you accept its terms.
  */
 
 
+
+
 package ui.avatarbd;
 
 import myutil.GenericTree;
@@ -54,14 +56,13 @@ import java.util.LinkedList;
 
 
 /**
- * Class AvatarBDDataType
- * Data type. To be used in AVATAR Block Diagrams
- * Creation: 18/06/2010
- *
- * @author Ludovic APVRILLE
- * @version 1.1 18/06/2010
+   * Class AvatarBDDataType
+   * Data type. To be used in AVATAR Block Diagrams
+   * Creation: 18/06/2010
+   * @version 1.1 18/06/2010
+   * @author Ludovic APVRILLE
  */
-public class AvatarBDDataType extends TGCScalableWithInternalComponent implements GenericTree {
+public class AvatarBDDataType extends TGCScalableWithInternalComponent implements GenericTree  {
     private int textY1 = 3;
     private String stereotype = "datatype";
 
@@ -72,12 +73,12 @@ public class AvatarBDDataType extends TGCScalableWithInternalComponent implement
     private int textX = 7;
 
     private int limitName = -1;
-    //   private int limitAttr = -1;
-    // private int limitMethod = -1;
+ //   private int limitAttr = -1;
+   // private int limitMethod = -1;
 
     // Icon
     private int iconSize = 15;
-    // private boolean iconIsDrawn = false;
+   // private boolean iconIsDrawn = false;
 
 
     // TAttribute, AvatarMethod, AvatarSignal
@@ -85,7 +86,7 @@ public class AvatarBDDataType extends TGCScalableWithInternalComponent implement
 
     public String oldValue;
 
-    public AvatarBDDataType(int _x, int _y, int _minX, int _maxX, int _minY, int _maxY, boolean _pos, TGComponent _father, TDiagramPanel _tdp) {
+    public AvatarBDDataType(int _x, int _y, int _minX, int _maxX, int _minY, int _maxY, boolean _pos, TGComponent _father, TDiagramPanel _tdp)  {
         super(_x, _y, _minX, _maxX, _minY, _maxY, _pos, _father, _tdp);
 
         width = 250;
@@ -115,7 +116,7 @@ public class AvatarBDDataType extends TGCScalableWithInternalComponent implement
 
         myImageIcon = IconManager.imgic700;
 
-        myAttributes = new LinkedList<TAttribute>();
+        myAttributes = new LinkedList<TAttribute> ();
 
         actionOnAdd();
     }
@@ -141,27 +142,27 @@ public class AvatarBDDataType extends TGCScalableWithInternalComponent implement
 
             int maxCurrentFontSize = Math.max(0, Math.min(height, maxFontSize));
             int w0, w1, w2;
-            f = f.deriveFont((float) maxCurrentFontSize);
+            f = f.deriveFont((float)maxCurrentFontSize);
             g.setFont(f);
             //System.out.println("max current font size:" + maxCurrentFontSize);
-            while (maxCurrentFontSize > (minFontSize - 1)) {
+            while(maxCurrentFontSize > (minFontSize-1)) {
                 w0 = g.getFontMetrics().stringWidth(value);
                 w1 = g.getFontMetrics().stringWidth(ster);
                 w2 = Math.min(w0, w1);
-                if (w2 < (width - (2 * textX))) {
+                if (w2 < (width - (2*textX))) {
                     break;
                 }
-                maxCurrentFontSize--;
-                f = f.deriveFont((float) maxCurrentFontSize);
+                maxCurrentFontSize --;
+                f = f.deriveFont((float)maxCurrentFontSize);
                 g.setFont(f);
             }
             currentFontSize = maxCurrentFontSize;
 
-            if (currentFontSize < minFontSize) {
+            if(currentFontSize <minFontSize) {
                 displayText = false;
             } else {
                 displayText = true;
-                f = f.deriveFont((float) currentFontSize);
+                f = f.deriveFont((float)currentFontSize);
                 g.setFont(f);
             }
 
@@ -173,27 +174,27 @@ public class AvatarBDDataType extends TGCScalableWithInternalComponent implement
         g.draw3DRect(x, y, width, height, true);
 
         g.setColor(ColorManager.AVATAR_DATATYPE);
-        g.fill3DRect(x + 1, y + 1, width - 1, height - 1, true);
+        g.fill3DRect(x+1, y+1, width-1, height-1, true);
         g.setColor(c);
 
         // Strings
         int w;
         int h = 0;
         if (displayText) {
-            f = f.deriveFont((float) currentFontSize);
+            f = f.deriveFont((float)currentFontSize);
             Font f0 = g.getFont();
             g.setFont(f.deriveFont(Font.BOLD));
 
             w = g.getFontMetrics().stringWidth(ster);
-            h = currentFontSize + (int) (textY1 * tdp.getZoom());
-            if ((w < (2 * textX + width)) && (h < height)) {
-                g.drawString(ster, x + (width - w) / 2, y + h);
+            h =  currentFontSize + (int)(textY1 * tdp.getZoom());
+            if ((w < (2*textX + width)) && (h < height)) {
+                g.drawString(ster, x + (width - w)/2, y +h);
             }
             g.setFont(f0);
-            w = g.getFontMetrics().stringWidth(value);
-            h = 2 * (currentFontSize + (int) (textY1 * tdp.getZoom()));
-            if ((w < (2 * textX + width)) && (h < height)) {
-                g.drawString(value, x + (width - w) / 2, y + h);
+            w  = g.getFontMetrics().stringWidth(value);
+            h = 2* (currentFontSize + (int)(textY1 * tdp.getZoom()));
+            if ((w < (2*textX + width)) && (h < height)) {
+                g.drawString(value, x + (width - w)/2, y + h);
             }
             limitName = y + h;
         } else {
@@ -202,14 +203,14 @@ public class AvatarBDDataType extends TGCScalableWithInternalComponent implement
 
         g.setFont(fold);
 
-        h = h + 2;
+        h = h +2;
         if (h < height) {
-            g.drawLine(x, y + h, x + width, y + h);
+            g.drawLine(x, y+h, x+width, y+h);
         }
 
         // Icon
-        if ((width > 30) && (height > (iconSize + 2 * textX))) {
-            //  iconIsDrawn = true;
+        if ((width>30) && (height > (iconSize + 2*textX))) {
+          //  iconIsDrawn = true;
             g.drawImage(IconManager.img5100, x + width - iconSize - textX, y + textX, null);
         }
 //        else {
@@ -219,21 +220,21 @@ public class AvatarBDDataType extends TGCScalableWithInternalComponent implement
         int cpt = h;
         // Attributes
         if (tdp.areAttributesVisible()) {
-            //  limitAttr = -1;
+          //  limitAttr = -1;
             int index = 0;
             String attr;
 
             TAttribute a;
 
-            int si = Math.min(12, (int) ((float) currentFontSize - 2));
+            int si = Math.min(12, (int)((float)currentFontSize - 2));
 
             f = g.getFont();
-            f = f.deriveFont((float) si);
+            f = f.deriveFont((float)si);
             g.setFont(f);
             int step = si + 2;
 
-            while (index < myAttributes.size()) {
-                cpt += step;
+            while(index < myAttributes.size()) {
+                cpt += step ;
                 if (cpt >= (height - textX)) {
                     break;
                 }
@@ -242,21 +243,21 @@ public class AvatarBDDataType extends TGCScalableWithInternalComponent implement
                 w = g.getFontMetrics().stringWidth(attr);
                 if ((w + (2 * textX) + 1) < width) {
                     g.drawString(attr, x + textX, y + cpt);
-                    //   limitAttr = y + cpt;
+                 //   limitAttr = y + cpt;
                 } else {
                     attr = "...";
                     w = g.getFontMetrics().stringWidth(attr);
                     if ((w + textX + 2) < width) {
                         g.drawString(attr, x + textX + 1, y + cpt);
-                        //     limitAttr = y + cpt;
+                   //     limitAttr = y + cpt;
                     } else {
                         // skip attribute
                         cpt -= step;
                     }
                 }
-                index++;
+                index ++;
             }
-        }
+        } 
 //        else {
 //            limitAttr = -1;
 //        }
@@ -264,6 +265,7 @@ public class AvatarBDDataType extends TGCScalableWithInternalComponent implement
         g.setFont(fold);
 
 
+
         // Icon
         //g.drawImage(IconManager.imgic1100.getImage(), x + 4, y + 4, null);
         //g.drawImage(IconManager.img9, x + width - 20, y + 4, null);
@@ -289,30 +291,30 @@ public class AvatarBDDataType extends TGCScalableWithInternalComponent implement
 
     public boolean editOndoubleClick(JFrame frame, int _x, int _y) {
         // On the name ?
-        if ((((limitName == -1) && (displayText) && (_y <= (y + 2 * currentFontSize)))) || ((displayText) && (_y < limitName))) {
+        if ((((limitName == -1) && (displayText) && (_y <= (y + 2*currentFontSize)))) || ((displayText) && (_y < limitName))) {
             oldValue = value;
 
             //String text = getName() + ": ";
-            String s = (String) JOptionPane.showInputDialog(frame, "Datatype name",
-                    "setting value", JOptionPane.PLAIN_MESSAGE, IconManager.imgic101,
-                    null,
-                    getValue());
+            String s = (String)JOptionPane.showInputDialog(frame, "Datatype name",
+                                                           "setting value", JOptionPane.PLAIN_MESSAGE, IconManager.imgic101,
+                                                           null,
+                                                           getValue());
 
             if ((s != null) && (s.length() > 0) && (!s.equals(oldValue))) {
                 //boolean b;
                 if (!TAttribute.isAValidId(s, false, false)) {
                     JOptionPane.showMessageDialog(frame,
-                            "Could not change the name of the data type: the new name is not a valid name",
-                            "Error",
-                            JOptionPane.INFORMATION_MESSAGE);
+                                                  "Could not change the name of the data type: the new name is not a valid name",
+                                                  "Error",
+                                                  JOptionPane.INFORMATION_MESSAGE);
                     return false;
                 }
 
                 if (!tdp.isAvatarBlockNameUnique(s)) {
                     JOptionPane.showMessageDialog(frame,
-                            "Could not change the name of the data type: the new name is already in use",
-                            "Error",
-                            JOptionPane.INFORMATION_MESSAGE);
+                                                  "Could not change the name of the data type: the new name is already in use",
+                                                  "Error",
+                                                  JOptionPane.INFORMATION_MESSAGE);
                     return false;
                 }
 
@@ -323,9 +325,9 @@ public class AvatarBDDataType extends TGCScalableWithInternalComponent implement
                     return true;
                 } else {
                     JOptionPane.showMessageDialog(frame,
-                            "Could not change the name of the data type: this name is already in use",
-                            "Error",
-                            JOptionPane.INFORMATION_MESSAGE);
+                                                  "Could not change the name of the data type: this name is already in use",
+                                                  "Error",
+                                                  JOptionPane.INFORMATION_MESSAGE);
                     setValue(oldValue);
                 }
             }
@@ -334,11 +336,9 @@ public class AvatarBDDataType extends TGCScalableWithInternalComponent implement
 
         // And so -> attributes!
 
-        JDialogAvatarBlock jdab = new JDialogAvatarBlock(myAttributes, null, null, null, frame,
-                "Setting attributes of " + value, "Attribute", 0,
-                null, false, null);
+        JDialogAvatarBlock jdab = new JDialogAvatarBlock(myAttributes, null, null, null, frame, "Setting attributes of " + value, "Attribute", 0, null, false, null);
         setJDialogOptions(jdab);
-        //  jdab.setSize(650, 575);
+      //  jdab.setSize(650, 575);
         GraphicLib.centerOnParent(jdab, 650, 575);
         jdab.setVisible(true); // blocked until dialog has been closed
         //makeValue();
@@ -370,9 +370,9 @@ public class AvatarBDDataType extends TGCScalableWithInternalComponent implement
         //System.out.println("Loading extra params of " + value);
         //value = "";
         StringBuffer sb = new StringBuffer("<extraparam>\n");
-        for (int i = 0; i < myAttributes.size(); i++) {
+        for(int i=0; i<myAttributes.size(); i++) {
             //System.out.println("Attribute:" + i);
-            a = myAttributes.get(i);
+            a = myAttributes.get (i);
             //System.out.println("Attribute:" + i + " = " + a.getId());
             //value = value + a + "\n";
             sb.append("<Attribute access=\"");
@@ -392,7 +392,7 @@ public class AvatarBDDataType extends TGCScalableWithInternalComponent implement
     }
 
     @Override
-    public void loadExtraParam(NodeList nl, int decX, int decY, int decId) throws MalformedModelingException {
+    public void loadExtraParam(NodeList nl, int decX, int decY, int decId) throws MalformedModelingException{
         try {
             NodeList nli;
             Node n1, n2;
@@ -404,12 +404,12 @@ public class AvatarBDDataType extends TGCScalableWithInternalComponent implement
             //System.out.println("Loading attributes");
             //System.out.println(nl.toString());
 
-            for (int i = 0; i < nl.getLength(); i++) {
+            for(int i=0; i<nl.getLength(); i++) {
                 n1 = nl.item(i);
                 //System.out.println(n1);
                 if (n1.getNodeType() == Node.ELEMENT_NODE) {
                     nli = n1.getChildNodes();
-                    for (int j = 0; j < nli.getLength(); j++) {
+                    for(int j=0; j<nli.getLength(); j++) {
                         n2 = nli.item(j);
                         //System.out.println(n2);
                         if (n2.getNodeType() == Node.ELEMENT_NODE) {
@@ -436,7 +436,7 @@ public class AvatarBDDataType extends TGCScalableWithInternalComponent implement
                                     }
                                     TAttribute ta = new TAttribute(access, id, valueAtt, type, typeOther);
                                     ta.isAvatar = true;
-                                    myAttributes.add(ta);
+                                    myAttributes.add (ta);
                                 }
                             }
                         }
@@ -460,13 +460,12 @@ public class AvatarBDDataType extends TGCScalableWithInternalComponent implement
     public LinkedList<TAttribute> getAttributeList() {
         return myAttributes;
     }
-
-    public void addAttribute(TAttribute ta) {
+    public void addAttribute(TAttribute ta){
         myAttributes.add(ta);
     }
 
     public String toString() {
-        return "Data type: " + getValue();
+	return "Data type: " + getValue();
     }
 
     public int getChildCount() {
@@ -476,15 +475,15 @@ public class AvatarBDDataType extends TGCScalableWithInternalComponent implement
 
     public Object getChild(int index) {
 
-        return this.myAttributes.get(index);
+         return this.myAttributes.get(index);
     }
 
     public int getIndexOfChild(Object child) {
-        if (child instanceof TAttribute) {
-            return this.myAttributes.indexOf(child);
+	if (child instanceof TAttribute) {
+	     return this.myAttributes.indexOf(child);
         }
-
+	
         return -1;
     }
-
+    
 }
diff --git a/src/main/java/ui/avatarbd/AvatarBDFirewall.java b/src/main/java/ui/avatarbd/AvatarBDFirewall.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarbd/AvatarBDLibraryFunction.java b/src/main/java/ui/avatarbd/AvatarBDLibraryFunction.java
index 1fa414916a3eaf0e21f837b2e6dc4ce2d5674d4f..cb67068a67f3ab2a5d1f6f760008f9614efa3f60 100644
--- a/src/main/java/ui/avatarbd/AvatarBDLibraryFunction.java
+++ b/src/main/java/ui/avatarbd/AvatarBDLibraryFunction.java
@@ -1,26 +1,26 @@
 /* Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille
- *
+ * 
  * ludovic.apvrille AT enst.fr
- *
+ * 
  * This software is a computer program whose purpose is to allow the
  * edition of TURTLE analysis, design and deployment diagrams, to
  * allow the generation of RT-LOTOS or Java code from this diagram,
  * and at last to allow the analysis of formal validation traces
  * obtained from external tools, e.g. RTL from LAAS-CNRS and CADP
  * from INRIA Rhone-Alpes.
- *
+ * 
  * This software is governed by the CeCILL  license under French law and
  * abiding by the rules of distribution of free software.  You can  use,
  * modify and/ or redistribute the software under the terms of the CeCILL
  * license as circulated by CEA, CNRS and INRIA at the following URL
  * "http://www.cecill.info".
- *
+ * 
  * As a counterpart to the access to the source code and  rights to copy,
  * modify and redistribute granted by the license, users are provided only
  * with a limited warranty  and the software's author,  the holder of the
  * economic rights,  and the successive licensors  have only  limited
  * liability.
- *
+ * 
  * In this respect, the user's attention is drawn to the risks associated
  * with loading,  using,  modifying and/or developing or reproducing the
  * software by the user in light of its specific status of free software,
@@ -31,12 +31,14 @@
  * requirements in conditions enabling the security of their systems and/or
  * data to be ensured and,  more generally, to use and operate it in the
  * same conditions as regards security.
- *
+ * 
  * The fact that you are presently reading this means that you have had
  * knowledge of the CeCILL license and that you accept its terms.
  */
 
 
+
+
 package ui.avatarbd;
 
 import myutil.GraphicLib;
@@ -58,8 +60,8 @@ import java.util.LinkedList;
 /**
  * This class represent a Library Function block on an avatar block diagram.
  *
- * @author Florian LUGOU
  * @version 1.0 04.08.2016
+ * @author Florian LUGOU
  */
 public class AvatarBDLibraryFunction extends TGCScalableWithoutInternalComponent implements SwallowedTGComponent, AvatarBDStateMachineOwner, Comparable<AvatarBDLibraryFunction> {
 
@@ -91,7 +93,7 @@ public class AvatarBDLibraryFunction extends TGCScalableWithoutInternalComponent
     /**
      * The vertical spacing between lines.
      */
-    private static final int paddingVertical = 3;
+    private static final int paddingVertical   = 3;
 
     /**
      * Used to know where the user double clicked
@@ -107,7 +109,7 @@ public class AvatarBDLibraryFunction extends TGCScalableWithoutInternalComponent
      * Used to know where the user double clicked
      */
     private int limitSignals;
-
+    
     /**
      * Current font size.
      */
@@ -151,17 +153,26 @@ public class AvatarBDLibraryFunction extends TGCScalableWithoutInternalComponent
     /**
      * Standard constructor for a library function block.
      *
-     * @param x      The absolute coordinate of the block along X.
-     * @param y      The absolute coordinate of the block along Y.
-     * @param minX   The minimum authorized coordinate along X.
-     * @param maxX   The maximum authorized coordinate along X.
-     * @param minY   The minimum authorized coordinate along Y.
-     * @param maxY   The maximum authorized coordinate along Y.
-     * @param pos    Indicates whether the position is considered as relative to this father's component.
-     * @param father The father component in the diagram.
-     * @param tdp    The diagram panel.
+     * @param x
+     *      The absolute coordinate of the block along X.
+     * @param y
+     *      The absolute coordinate of the block along Y.
+     * @param minX
+     *      The minimum authorized coordinate along X.
+     * @param maxX
+     *      The maximum authorized coordinate along X.
+     * @param minY
+     *      The minimum authorized coordinate along Y.
+     * @param maxY
+     *      The maximum authorized coordinate along Y.
+     * @param pos
+     *      Indicates whether the position is considered as relative to this father's component.
+     * @param father
+     *      The father component in the diagram.
+     * @param tdp
+     *      The diagram panel.
      */
-    public AvatarBDLibraryFunction(
+    public AvatarBDLibraryFunction (
             int x,
             int y,
             int minX,
@@ -193,16 +204,16 @@ public class AvatarBDLibraryFunction extends TGCScalableWithoutInternalComponent
 
         // Find a new unused name
         int i;
-        for (i = 0; i < 100; i++) {
+        for (i=0; i<100; i++) {
             String tmpName = "LibraryFunction" + i;
-            if (this.tdp.isAvatarBlockNameUnique(tmpName) &&
-                    true) { // TODO: check if no other tab has same name
+            if (this.tdp.isAvatarBlockNameUnique (tmpName) &&
+                true) { // TODO: check if no other tab has same name
                 this.name = tmpName;
                 this.value = tmpName;
                 break;
             }
         }
-        if (i == 100) {
+        if  (i == 100) {
             // TODO: throw exception
         }
 
@@ -212,27 +223,29 @@ public class AvatarBDLibraryFunction extends TGCScalableWithoutInternalComponent
         // TODO: change that
         this.myImageIcon = IconManager.imgic700;
 
-        this.parameters = new LinkedList<TAttribute>();
-        this.attributes = new LinkedList<TAttribute>();
-        this.signals = new LinkedList<AvatarSignal>();
-        this.returnAttributes = new LinkedList<TAttribute>();
-        this.methods = new LinkedList<AvatarMethod>();
+        this.parameters = new LinkedList<TAttribute> ();
+        this.attributes = new LinkedList<TAttribute> ();
+        this.signals    = new LinkedList<AvatarSignal> ();
+        this.returnAttributes = new LinkedList<TAttribute> ();
+        this.methods = new LinkedList<AvatarMethod> ();
 
         // Ask the panel to add a tab for the state machine diagram.
         this.actionOnAdd();
     }
 
-    public TDiagramPanel getDiagramPanel() {
+    public TDiagramPanel getDiagramPanel () {
         return this.tdp;
     }
 
-    public String getFunctionName() {
+    public String getFunctionName () {
         return this.name;
     }
 
-    public String getFullyQualifiedName() {
+    public String getFullyQualifiedName()
+    {
         String result = "";
-        if (this.father != null && (this.father instanceof AvatarBDBlock)) {
+        if (this.father != null && (this.father instanceof AvatarBDBlock))
+        {
             result = ((AvatarBDBlock) this.father).getFullyQualifiedName() + ".";
         }
         result += this.name;
@@ -240,87 +253,88 @@ public class AvatarBDLibraryFunction extends TGCScalableWithoutInternalComponent
         return result;
     }
 
-    public LinkedList<TAttribute> getParameters() {
+    public LinkedList<TAttribute> getParameters () {
         return this.parameters;
     }
 
-    public void resetParameters() {
-        this.parameters = new LinkedList<TAttribute>();
+    public void resetParameters () {
+        this.parameters = new LinkedList<TAttribute> ();
     }
 
-    public void addParameter(TAttribute parameter) {
-        this.parameters.add(parameter);
+    public void addParameter (TAttribute parameter) {
+        this.parameters.add (parameter);
     }
 
-    public LinkedList<AvatarSignal> getSignals() {
+    public LinkedList<AvatarSignal> getSignals () {
         return this.signals;
     }
 
-    public void resetSignals() {
-        this.signals = new LinkedList<AvatarSignal>();
+    public void resetSignals () {
+        this.signals = new LinkedList<AvatarSignal> ();
     }
 
-    public void addSignal(AvatarSignal signal) {
-        this.signals.add(signal);
+    public void addSignal (AvatarSignal signal) {
+        this.signals.add (signal);
     }
 
-    public LinkedList<TAttribute> getAttributes() {
+    public LinkedList<TAttribute> getAttributes () {
         return this.attributes;
     }
 
-    public void resetAttributes() {
-        this.attributes = new LinkedList<TAttribute>();
+    public void resetAttributes () {
+        this.attributes = new LinkedList<TAttribute> ();
     }
 
-    public void addAttribute(TAttribute attribute) {
-        this.attributes.add(attribute);
+    public void addAttribute (TAttribute attribute) {
+        this.attributes.add (attribute);
     }
 
-    public LinkedList<TAttribute> getReturnAttributes() {
+    public LinkedList<TAttribute> getReturnAttributes () {
         return this.returnAttributes;
     }
 
-    public void resetReturnAttributes() {
-        this.returnAttributes = new LinkedList<TAttribute>();
+    public void resetReturnAttributes () {
+        this.returnAttributes = new LinkedList<TAttribute> ();
     }
 
-    public void addReturnAttribute(TAttribute returnAttribute) {
-        this.returnAttributes.add(returnAttribute);
+    public void addReturnAttribute (TAttribute returnAttribute) {
+        this.returnAttributes.add (returnAttribute);
     }
 
-    public LinkedList<AvatarMethod> getMethods() {
+    public LinkedList<AvatarMethod> getMethods () {
         return this.methods;
     }
 
-    public void resetMethods() {
-        this.methods = new LinkedList<AvatarMethod>();
+    public void resetMethods () {
+        this.methods = new LinkedList<AvatarMethod> ();
     }
 
-    public void addMethod(AvatarMethod method) {
-        this.methods.add(method);
+    public void addMethod (AvatarMethod method) {
+        this.methods.add (method);
     }
 
     @Override
-    public void internalDrawing(Graphics graph) {
-        Font font = graph.getFont();
-        this.internalDrawingAux(graph);
-        graph.setFont(font);
+    public void internalDrawing (Graphics graph) {
+        Font font = graph.getFont ();
+        this.internalDrawingAux (graph);
+        graph.setFont (font);
     }
 
     /**
      * Draws the Library Function object.
      *
-     * @param graph The {@link Graphics} object used to draw this component.
+     * @param graph
+     *      The {@link Graphics} object used to draw this component.
      */
-    private void internalDrawingAux(Graphics graph) {
+    private void internalDrawingAux (Graphics graph) {
         // Draw outer rectangle (for border)
-        Color c = graph.getColor();
-        graph.drawRect(this.x, this.y, this.width, this.height);
+        Color c = graph.getColor ();
+        graph.drawRect (this.x, this.y, this.width, this.height);
 
         // Draw inner rectangle
-        graph.setColor(ColorManager.AVATAR_LIBRARYFUNCTION);
-        graph.fillRect(this.x + 1, this.y + 1, this.width - 1, this.height - 1);
-        graph.setColor(c);
+        graph.setColor (ColorManager.AVATAR_LIBRARYFUNCTION);
+        graph.fillRect (this.x+1, this.y+1, this.width-1, this.height-1);
+        graph.setColor (c);
 
         // limits
         this.limitName = -1;
@@ -330,16 +344,16 @@ public class AvatarBDLibraryFunction extends TGCScalableWithoutInternalComponent
         // h retains the coordinate along X where an element was last drawn
         int h = 0;
 
-        int paddingVertical = (int) (AvatarBDLibraryFunction.paddingVertical * this.tdp.getZoom());
-        int paddingHorizontal = (int) (AvatarBDLibraryFunction.paddingHorizontal * this.tdp.getZoom());
+        int paddingVertical = (int) (AvatarBDLibraryFunction.paddingVertical * this.tdp.getZoom ());
+        int paddingHorizontal = (int) (AvatarBDLibraryFunction.paddingHorizontal * this.tdp.getZoom ());
 
         // Draw icon
-        this.iconIsDrawn = this.width > IconManager.iconSize + 2 * paddingHorizontal && height > IconManager.iconSize + 2 * paddingHorizontal;
+        this.iconIsDrawn = this.width > IconManager.iconSize + 2*paddingHorizontal && height > IconManager.iconSize + 2*paddingHorizontal;
         if (this.iconIsDrawn)
-            graph.drawImage(IconManager.img5100, this.x + this.width - IconManager.iconSize - paddingHorizontal, this.y + paddingHorizontal, null);
+            graph.drawImage (IconManager.img5100, this.x + this.width - IconManager.iconSize - paddingHorizontal, this.y + paddingHorizontal, null);
 
 
-        Font font = graph.getFont();
+        Font font = graph.getFont ();
 
         String ster;
         if (!this.isCrypto)
@@ -347,56 +361,56 @@ public class AvatarBDLibraryFunction extends TGCScalableWithoutInternalComponent
         else
             ster = "<<" + stereotypeCrypto + ">>";
 
-        if (this.rescaled && !this.tdp.isScaled()) {
+        if (this.rescaled && !this.tdp.isScaled ()) {
             this.rescaled = false;
             // Must set the font size...
             // Incrementally find the biggest font not greater than max_font size
             // If font is less than min_font, no text is displayed
 
             // This is the maximum font size possible
-            int maxCurrentFontSize = Math.max(0, Math.min(this.height, (int) (AvatarBDLibraryFunction.maxFontSize * this.tdp.getZoom())));
-            font = font.deriveFont((float) maxCurrentFontSize);
+            int maxCurrentFontSize = Math.max (0, Math.min (this.height, (int) (AvatarBDLibraryFunction.maxFontSize*this.tdp.getZoom ())));
+            font = font.deriveFont ((float) maxCurrentFontSize);
 
             // Try to decrease font size until we get below the minimum
-            while (maxCurrentFontSize > (AvatarBDLibraryFunction.minFontSize * this.tdp.getZoom() - 1)) {
+            while (maxCurrentFontSize > (AvatarBDLibraryFunction.minFontSize*this.tdp.getZoom () - 1)) {
                 // Compute width of name of the function
-                int w0 = graph.getFontMetrics(font).stringWidth(this.value);
+                int w0 = graph.getFontMetrics (font).stringWidth (this.value);
                 // Compute width of string stereotype
-                int w1 = graph.getFontMetrics(font).stringWidth(ster);
+                int w1 = graph.getFontMetrics (font).stringWidth (ster);
 
                 // if one of the two width is small enough use this font size
-                if (Math.min(w0, w1) < this.width - (2 * paddingHorizontal))
+                if (Math.min (w0, w1) < this.width - (2*paddingHorizontal))
                     break;
 
                 // Decrease font size
-                maxCurrentFontSize--;
+                maxCurrentFontSize --;
                 // Scale the font
-                font = font.deriveFont((float) maxCurrentFontSize);
+                font = font.deriveFont ((float) maxCurrentFontSize);
             }
 
             // Box is too damn small
-            if (this.currentFontSize < AvatarBDLibraryFunction.minFontSize * this.tdp.getZoom()) {
-                maxCurrentFontSize++;
+            if (this.currentFontSize < AvatarBDLibraryFunction.minFontSize*this.tdp.getZoom ()) {
+                maxCurrentFontSize ++;
                 // Scale the font
-                font = font.deriveFont((float) maxCurrentFontSize);
+                font = font.deriveFont ((float) maxCurrentFontSize);
             }
 
             // Use this font
-            graph.setFont(font);
+            graph.setFont (font);
             this.currentFontSize = maxCurrentFontSize;
         } else
-            font = font.deriveFont(this.currentFontSize);
+            font = font.deriveFont (this.currentFontSize);
 
-        graph.setFont(font.deriveFont(Font.BOLD));
-        h = graph.getFontMetrics().getAscent() + graph.getFontMetrics().getLeading() + paddingVertical;
+        graph.setFont (font.deriveFont (Font.BOLD));
+        h = graph.getFontMetrics ().getAscent () + graph.getFontMetrics ().getLeading () + paddingVertical;
 
-        if (h + graph.getFontMetrics().getDescent() + paddingVertical >= this.height)
+        if (h + graph.getFontMetrics ().getDescent () + paddingVertical >= this.height)
             return;
 
         // Write stereotype if small enough
-        int w = graph.getFontMetrics().stringWidth(ster);
-        if (w + 2 * paddingHorizontal < this.width)
-            graph.drawString(ster, this.x + (this.width - w) / 2, this.y + h);
+        int w = graph.getFontMetrics ().stringWidth (ster);
+        if (w + 2*paddingHorizontal < this.width)
+            graph.drawString (ster, this.x + (this.width - w)/2, this.y + h);
         else {
             // try to draw with "..." instead
             if (!this.isCrypto)
@@ -404,38 +418,38 @@ public class AvatarBDLibraryFunction extends TGCScalableWithoutInternalComponent
             else
                 ster = stereotypeCrypto;
 
-            for (int stringLength = ster.length() - 1; stringLength >= 0; stringLength--) {
-                String abbrev = "<<" + ster.substring(0, stringLength) + "...>>";
-                w = graph.getFontMetrics().stringWidth(abbrev);
-                if (w + 2 * paddingHorizontal < this.width) {
-                    graph.drawString(abbrev, this.x + (this.width - w) / 2, this.y + h);
+            for (int stringLength = ster.length ()-1; stringLength >= 0; stringLength--) {
+                String abbrev = "<<" + ster.substring (0, stringLength) + "...>>";
+                w = graph.getFontMetrics ().stringWidth (abbrev);
+                if (w + 2*paddingHorizontal < this.width) {
+                    graph.drawString (abbrev, this.x + (this.width - w)/2, this.y + h);
                     break;
                 }
             }
         }
 
         // Write value if small enough
-        graph.setFont(font);
-        h += graph.getFontMetrics().getHeight() + paddingVertical;
-        if (h + graph.getFontMetrics().getDescent() + paddingVertical >= this.height)
+        graph.setFont (font);
+        h += graph.getFontMetrics ().getHeight () + paddingVertical;
+        if (h + graph.getFontMetrics ().getDescent () + paddingVertical >= this.height)
             return;
 
-        w = graph.getFontMetrics().stringWidth(this.value);
-        if (w + 2 * paddingHorizontal < this.width)
-            graph.drawString(this.value, this.x + (this.width - w) / 2, this.y + h);
+        w = graph.getFontMetrics ().stringWidth (this.value);
+        if (w + 2*paddingHorizontal < this.width)
+            graph.drawString (this.value, this.x + (this.width - w)/2, this.y + h);
         else {
             // try to draw with "..." instead
-            for (int stringLength = this.value.length() - 1; stringLength >= 0; stringLength--) {
-                String abbrev = this.value.substring(0, stringLength) + "...";
-                w = graph.getFontMetrics().stringWidth(abbrev);
-                if (w + 2 * paddingHorizontal < this.width) {
-                    graph.drawString(abbrev, this.x + (this.width - w) / 2, this.y + h);
+            for (int stringLength = this.value.length ()-1; stringLength >= 0; stringLength--) {
+                String abbrev = this.value.substring (0, stringLength) + "...";
+                w = graph.getFontMetrics ().stringWidth (abbrev);
+                if (w + 2*paddingHorizontal < this.width) {
+                    graph.drawString (abbrev, this.x + (this.width - w)/2, this.y + h);
                     break;
                 }
             }
         }
 
-        h += graph.getFontMetrics().getDescent() + paddingVertical;
+        h += graph.getFontMetrics ().getDescent () + paddingVertical;
 
         // Update lower bound of text
         this.limitName = this.y + h;
@@ -444,21 +458,21 @@ public class AvatarBDLibraryFunction extends TGCScalableWithoutInternalComponent
             return;
 
         // Draw separator
-        graph.drawLine(this.x, this.y + h, this.x + this.width, this.y + h);
+        graph.drawLine (this.x, this.y+h, this.x+this.width, this.y+h);
 
-        if (!this.tdp.areAttributesVisible())
+        if (! this.tdp.areAttributesVisible ())
             return;
 
         // Set font size
         // int attributeFontSize = Math.min (12, this.currentFontSize - 2);
-        int attributeFontSize = this.currentFontSize * 5 / 6;
-        graph.setFont(font.deriveFont((float) attributeFontSize));
-        int step = graph.getFontMetrics().getHeight();
+        int attributeFontSize = this.currentFontSize*5/6;
+        graph.setFont (font.deriveFont ((float) attributeFontSize));
+        int step = graph.getFontMetrics ().getHeight ();
 
         h += paddingVertical;
 
         // Parameters
-        for (TAttribute attr : this.parameters) {
+        for (TAttribute attr: this.parameters) {
             h += step;
             if (h >= this.height - paddingHorizontal) {
                 this.limitParameters = this.y + this.height;
@@ -466,20 +480,20 @@ public class AvatarBDLibraryFunction extends TGCScalableWithoutInternalComponent
             }
 
             // Get the string for this parameter
-            String attrString = attr.toAvatarString();
+            String attrString = attr.toAvatarString ();
 
             // Try to draw it
-            w = graph.getFontMetrics().stringWidth(attrString);
-            if (w + 2 * paddingHorizontal < this.width)
-                graph.drawString(attrString, this.x + paddingHorizontal, this.y + h);
+            w = graph.getFontMetrics ().stringWidth (attrString);
+            if (w + 2*paddingHorizontal < this.width)
+                graph.drawString (attrString, this.x + paddingHorizontal, this.y + h);
             else {
                 // If we can't, try to draw with "..." instead
                 int stringLength;
-                for (stringLength = attrString.length() - 1; stringLength >= 0; stringLength--) {
-                    String abbrev = attrString.substring(0, stringLength) + "...";
-                    w = graph.getFontMetrics().stringWidth(abbrev);
-                    if (w + 2 * paddingHorizontal < this.width) {
-                        graph.drawString(abbrev, this.x + paddingHorizontal, this.y + h);
+                for (stringLength = attrString.length ()-1; stringLength >= 0; stringLength--) {
+                    String abbrev = attrString.substring (0, stringLength) + "...";
+                    w = graph.getFontMetrics ().stringWidth (abbrev);
+                    if (w + 2*paddingHorizontal < this.width) {
+                        graph.drawString (abbrev, this.x + paddingHorizontal, this.y + h);
                         break;
                     }
                 }
@@ -490,7 +504,7 @@ public class AvatarBDLibraryFunction extends TGCScalableWithoutInternalComponent
             }
         }
 
-        h += graph.getFontMetrics().getDescent() + paddingVertical;
+        h += graph.getFontMetrics ().getDescent () + paddingVertical;
 
         // Remember the end of parameters
         this.limitParameters = this.y + h;
@@ -498,29 +512,29 @@ public class AvatarBDLibraryFunction extends TGCScalableWithoutInternalComponent
         if (h + paddingVertical >= this.height)
             return;
 
-        graph.drawLine(this.x, this.y + h, this.x + this.width, this.y + h);
+        graph.drawLine (this.x, this.y+h, this.x+this.width, this.y+h);
         h += paddingVertical;
 
         // Signals
-        for (AvatarSignal signal : this.signals) {
-            h += step;
+        for (AvatarSignal signal: this.signals) {
+            h += step ;
             if (h >= this.height - paddingHorizontal) {
                 this.limitSignals = this.y + this.height;
                 return;
             }
 
-            String signalString = "~ " + signal.toString();
-            w = graph.getFontMetrics().stringWidth(signalString);
-            if (w + 2 * paddingHorizontal < this.width)
-                graph.drawString(signalString, this.x + paddingHorizontal, this.y + h);
+            String signalString = "~ " + signal.toString ();
+            w = graph.getFontMetrics ().stringWidth (signalString);
+            if (w + 2*paddingHorizontal < this.width)
+                graph.drawString (signalString, this.x + paddingHorizontal, this.y + h);
             else {
                 // If we can't, try to draw with "..." instead
                 int stringLength;
-                for (stringLength = signalString.length() - 1; stringLength >= 0; stringLength--) {
-                    String abbrev = signalString.substring(0, stringLength) + "...";
-                    w = graph.getFontMetrics().stringWidth(abbrev);
-                    if (w + 2 * paddingHorizontal < this.width) {
-                        graph.drawString(abbrev, this.x + paddingHorizontal, this.y + h);
+                for (stringLength = signalString.length ()-1; stringLength >= 0; stringLength--) {
+                    String abbrev = signalString.substring (0, stringLength) + "...";
+                    w = graph.getFontMetrics ().stringWidth (abbrev);
+                    if (w + 2*paddingHorizontal < this.width) {
+                        graph.drawString (abbrev, this.x + paddingHorizontal, this.y + h);
                         break;
                     }
                 }
@@ -531,7 +545,7 @@ public class AvatarBDLibraryFunction extends TGCScalableWithoutInternalComponent
             }
         }
 
-        h += graph.getFontMetrics().getDescent() + paddingVertical;
+        h += graph.getFontMetrics ().getDescent () + paddingVertical;
 
         // Remember limit of signals
         this.limitSignals = this.y + h;
@@ -539,29 +553,29 @@ public class AvatarBDLibraryFunction extends TGCScalableWithoutInternalComponent
         if (h + paddingVertical >= this.height)
             return;
 
-        graph.drawLine(this.x, this.y + h, this.x + this.width, this.y + h);
+        graph.drawLine (this.x, this.y+h, this.x+this.width, this.y+h);
         h += paddingVertical;
 
         // Return Attributes
-        for (TAttribute attr : this.returnAttributes) {
+        for (TAttribute attr: this.returnAttributes) {
             h += step;
             if (h >= this.height - paddingHorizontal)
                 return;
 
             // Get the string for this return attribute
-            String attrString = attr.toAvatarString();
+            String attrString = attr.toAvatarString ();
 
-            w = graph.getFontMetrics().stringWidth(attrString);
-            if (w + 2 * paddingHorizontal < this.width)
-                graph.drawString(attrString, this.x + paddingHorizontal, this.y + h);
+            w = graph.getFontMetrics ().stringWidth (attrString);
+            if (w + 2*paddingHorizontal < this.width)
+                graph.drawString (attrString, this.x + paddingHorizontal, this.y + h);
             else {
                 // If we can't, try to draw with "..." instead
                 int stringLength;
-                for (stringLength = attrString.length() - 1; stringLength >= 0; stringLength--) {
-                    String abbrev = attrString.substring(0, stringLength) + "...";
-                    w = graph.getFontMetrics().stringWidth(abbrev);
-                    if (w + 2 * paddingHorizontal < this.width) {
-                        graph.drawString(abbrev, this.x + paddingHorizontal, this.y + h);
+                for (stringLength = attrString.length ()-1; stringLength >= 0; stringLength--) {
+                    String abbrev = attrString.substring (0, stringLength) + "...";
+                    w = graph.getFontMetrics ().stringWidth (abbrev);
+                    if (w + 2*paddingHorizontal < this.width) {
+                        graph.drawString (abbrev, this.x + paddingHorizontal, this.y + h);
                         break;
                     }
                 }
@@ -574,14 +588,14 @@ public class AvatarBDLibraryFunction extends TGCScalableWithoutInternalComponent
     }
 
     @Override
-    public void setName(String s) {
-        this.tdp.changeStateMachineTabName(this.name, s);
+    public void setName (String s) {
+        this.tdp.changeStateMachineTabName (this.name, s);
         this.name = s;
-        this.setValue(s);
+        this.setValue (s);
     }
 
     @Override
-    public TGComponent isOnMe(int x1, int y1) {
+    public TGComponent isOnMe (int x1, int y1) {
 
         if (GraphicLib.isInRectangle(x1, y1, this.x, this.y, this.width, this.height))
             return this;
@@ -591,26 +605,26 @@ public class AvatarBDLibraryFunction extends TGCScalableWithoutInternalComponent
 
     @Override
     public boolean editOndoubleClick(JFrame frame, int _x, int _y) {
-        int paddingHorizontal = (int) (AvatarBDLibraryFunction.paddingHorizontal * this.tdp.getZoom());
+        int paddingHorizontal = (int) (AvatarBDLibraryFunction.paddingHorizontal*this.tdp.getZoom ());
         if (this.iconIsDrawn && GraphicLib.isInRectangle(
-                _x,
-                _y,
-                this.x + this.width - IconManager.iconSize - paddingHorizontal,
-                this.y + paddingHorizontal,
-                IconManager.iconSize,
-                IconManager.iconSize)) {
-            this.tdp.selectTab(this.getValue());
+                    _x,
+                    _y,
+                    this.x + this.width - IconManager.iconSize - paddingHorizontal,
+                    this.y + paddingHorizontal,
+                    IconManager.iconSize,
+                    IconManager.iconSize)) {
+            this.tdp.selectTab (this.getValue ());
             return true;
         }
 
         // Click on the name
         if (_y < limitName) {
-            String s = (String) JOptionPane.showInputDialog(frame, "Library Function Name",
+            String s = (String) JOptionPane.showInputDialog (frame, "Library Function Name",
                     "setting value", JOptionPane.PLAIN_MESSAGE, IconManager.imgic101,
                     null,
                     this.getValue());
 
-            if (s == null || s.isEmpty() || s.equals(this.value))
+            if (s == null || s.isEmpty () || s.equals(this.value))
                 return false;
 
             if (!TAttribute.isAValidId(s, false, false)) {
@@ -621,7 +635,7 @@ public class AvatarBDLibraryFunction extends TGCScalableWithoutInternalComponent
                 return false;
             }
 
-            if (!this.tdp.isAvatarBlockNameUnique(s)) {
+            if (!this.tdp.isAvatarBlockNameUnique (s)) {
                 JOptionPane.showMessageDialog(frame,
                         "Could not change the name of the Library Function: the new name is already used by another element.",
                         "Error",
@@ -630,7 +644,7 @@ public class AvatarBDLibraryFunction extends TGCScalableWithoutInternalComponent
             }
 
             // Update the name of the tab corresponding to the state machine of the library function
-            if (!this.tdp.changeStateMachineTabName(this.value, s)) {
+            if (!this.tdp.changeStateMachineTabName (this.value, s)) {
                 JOptionPane.showMessageDialog(frame,
                         "Could not change the name of the Library Function: this name is already used by another tab.",
                         "Error",
@@ -640,7 +654,7 @@ public class AvatarBDLibraryFunction extends TGCScalableWithoutInternalComponent
 
             this.name = s;
             this.value = s;
-            this.recalculateSize();
+            this.recalculateSize ();
             this.repaint = true;
 
             return true;
@@ -649,28 +663,28 @@ public class AvatarBDLibraryFunction extends TGCScalableWithoutInternalComponent
         // Click on parameters
 
         // Create a new dialog to change parameters, signals, return values, etc.
-        JDialogAvatarLibraryFunction dialog = new JDialogAvatarLibraryFunction(
+        JDialogAvatarLibraryFunction dialog = new JDialogAvatarLibraryFunction (
                 this,
                 frame,
                 "Settings of library function " + value,
                 "Library Function");
-        this.setJDialogOptions(dialog);
-        //   dialog.setSize (650, 575);
-        GraphicLib.centerOnParent(dialog, 650, 575);
+        this.setJDialogOptions (dialog);
+     //   dialog.setSize (650, 575);
+        GraphicLib.centerOnParent (dialog,650, 575);
 
         // Focus on the right input depending on the part that was clicked.
         // FIXME: if nothing is displayed, focus will go on tab 2 instead of tab 0
         if (_y < this.limitParameters)
-            dialog.selectTabIndex(0);
+            dialog.selectTabIndex (0);
         else if (_y < this.limitSignals)
-            dialog.selectTabIndex(1);
+            dialog.selectTabIndex (1);
         else
-            dialog.selectTabIndex(2);
+            dialog.selectTabIndex (2);
 
         // Set visible and block until dialog is closed
-        dialog.setVisible(true);
+        dialog.setVisible (true);
 
-        ((AvatarBDPanel) tdp).updateAllSignalsOnConnectors();
+        ((AvatarBDPanel) tdp).updateAllSignalsOnConnectors ();
 
         // Tag so that it is rescaled
         this.rescaled = true;
@@ -678,7 +692,7 @@ public class AvatarBDLibraryFunction extends TGCScalableWithoutInternalComponent
         return true;
     }
 
-    protected void setJDialogOptions(JDialogAvatarLibraryFunction jdab) {
+    protected void setJDialogOptions (JDialogAvatarLibraryFunction jdab) {
         /*
         jdab.addAccess (TAttribute.getStringAccess (TAttribute.PRIVATE));
         jdab.addType (TAttribute.getStringAvatarType (TAttribute.BOOLEAN), true);
@@ -705,10 +719,10 @@ public class AvatarBDLibraryFunction extends TGCScalableWithoutInternalComponent
      *
      * @return The string for the corresponding XML element.
      */
-    protected String translateExtraParam() {
-        StringBuffer sb = new StringBuffer("<extraparam>\n");
+    protected String translateExtraParam () {
+        StringBuffer sb = new StringBuffer ("<extraparam>\n");
         sb.append("<CryptoLibraryFunction value=\"" + isCrypto + "\" />\n");
-        for (TAttribute attr : this.parameters) {
+        for (TAttribute attr: this.parameters) {
             sb.append("<Parameter access=\"");
             sb.append(attr.getAccess());
             sb.append("\" id=\"");
@@ -722,13 +736,13 @@ public class AvatarBDLibraryFunction extends TGCScalableWithoutInternalComponent
             sb.append("\" />\n");
         }
 
-        for (AvatarSignal signal : this.signals) {
+        for(AvatarSignal signal: this.signals) {
             sb.append("<Signal value=\"");
             sb.append(signal.toString());
             sb.append("\" />\n");
         }
 
-        for (TAttribute attr : this.returnAttributes) {
+        for (TAttribute attr: this.returnAttributes) {
             sb.append("<ReturnAttribute access=\"");
             sb.append(attr.getAccess());
             sb.append("\" id=\"");
@@ -742,7 +756,7 @@ public class AvatarBDLibraryFunction extends TGCScalableWithoutInternalComponent
             sb.append("\" />\n");
         }
 
-        for (TAttribute attr : this.attributes) {
+        for (TAttribute attr: this.attributes) {
             sb.append("<Attribute access=\"");
             sb.append(attr.getAccess());
             sb.append("\" id=\"");
@@ -756,7 +770,7 @@ public class AvatarBDLibraryFunction extends TGCScalableWithoutInternalComponent
             sb.append("\" />\n");
         }
 
-        for (AvatarMethod method : this.methods) {
+        for(AvatarMethod method: this.methods) {
             sb.append("<Method value=\"");
             sb.append(method.toSaveString());
             sb.append("\" />\n");
@@ -769,19 +783,23 @@ public class AvatarBDLibraryFunction extends TGCScalableWithoutInternalComponent
 
     /**
      * Load a Library Function element from a XML description.
-     * <p>
+     *
      * TODO
+     * @param nl
+     *      The {@link NodeList} representing the XML extraparam node
+     * @param decX
+     *      Unused.
+     * @param decY
+     *      Unused.
+     * @param decId
+     *      Unused.
      *
-     * @param nl    The {@link NodeList} representing the XML extraparam node
-     * @param decX  Unused.
-     * @param decY  Unused.
-     * @param decId Unused.
      * @throws MalformedModelingExpresion When the provided XML is corrupted.
      */
     @Override
-    public void loadExtraParam(NodeList nl, int decX, int decY, int decId) throws MalformedModelingException {
+    public void loadExtraParam (NodeList nl, int decX, int decY, int decId) throws MalformedModelingException {
         try {
-            for (int i = 0; i < nl.getLength(); i++) {
+            for(int i=0; i<nl.getLength(); i++) {
                 Node n1 = nl.item(i);
 
                 // Ignore if it's not an element
@@ -790,7 +808,7 @@ public class AvatarBDLibraryFunction extends TGCScalableWithoutInternalComponent
 
                 // Fetch the children nodes
                 NodeList nli = n1.getChildNodes();
-                for (int j = 0; j < nli.getLength(); j++) {
+                for(int j=0; j<nli.getLength(); j++) {
                     Node n2 = nli.item(j);
 
                     // Ignore if it's not an element
@@ -798,93 +816,96 @@ public class AvatarBDLibraryFunction extends TGCScalableWithoutInternalComponent
                         continue;
                     Element elt = (Element) n2;
 
-                    switch (elt.getTagName()) {
+                    switch (elt.getTagName ()) {
                         case "CryptoLibraryFunction":
-                            if (elt.getAttribute("value").equals("true"))
+                            if (elt.getAttribute("value").equals ("true"))
                                 this.isCrypto = true;
                             break;
 
-                        case "Parameter": {
-                            Integer access = Integer.decode(elt.getAttribute("access")).intValue();
-                            Integer type = Integer.decode(elt.getAttribute("type")).intValue();
-                            String typeOther = elt.getAttribute("typeOther");
-                            String id = elt.getAttribute("id");
-                            String valueAtt = elt.getAttribute("value");
-                            if (valueAtt.equals("null"))
-                                valueAtt = "";
-
-                            if (TAttribute.isAValidId(id, false, false) && TAttribute.isAValidInitialValue(type, valueAtt)) {
-                                if (type == TAttribute.NATURAL)
-                                    type = TAttribute.INTEGER;
-
-                                TAttribute ta = new TAttribute(access, id, valueAtt, type, typeOther);
-                                ta.isAvatar = true;
-                                this.parameters.add(ta);
+                        case "Parameter":
+                            {
+                                Integer access = Integer.decode (elt.getAttribute ("access")).intValue ();
+                                Integer type = Integer.decode (elt.getAttribute ("type")).intValue ();
+                                String typeOther = elt.getAttribute ("typeOther");
+                                String id = elt.getAttribute("id");
+                                String valueAtt = elt.getAttribute("value");
+                                if (valueAtt.equals("null"))
+                                    valueAtt = "";
+
+                                if (TAttribute.isAValidId (id, false, false) && TAttribute.isAValidInitialValue (type, valueAtt)) {
+                                    if (type == TAttribute.NATURAL)
+                                        type = TAttribute.INTEGER;
+
+                                    TAttribute ta = new TAttribute(access, id, valueAtt, type, typeOther);
+                                    ta.isAvatar = true;
+                                    this.parameters.add (ta);
+                                }
                             }
-                        }
 
-                        break;
+                            break;
 
                         case "Signal":
                             String signal = elt.getAttribute("value");
 
-                            if (signal.equals("null"))
+                            if (signal.equals ("null"))
                                 break;
 
-                            AvatarSignal as = AvatarSignal.isAValidSignal(signal);
+                            AvatarSignal as = AvatarSignal.isAValidSignal (signal);
                             if (as != null)
-                                this.signals.add(as);
+                                this.signals.add (as);
                             else
                                 TraceManager.addDev("Invalid signal ignored:" + signal);
 
                             break;
 
-                        case "ReturnAttribute": {
-                            Integer access = Integer.decode(elt.getAttribute("access")).intValue();
-                            Integer type = Integer.decode(elt.getAttribute("type")).intValue();
-                            String typeOther = elt.getAttribute("typeOther");
-                            String id = elt.getAttribute("id");
-                            String valueAtt = elt.getAttribute("value");
-                            if (valueAtt.equals("null"))
-                                valueAtt = "";
-
-                            if (TAttribute.isAValidId(id, false, false) && TAttribute.isAValidInitialValue(type, valueAtt)) {
-                                if (type == TAttribute.NATURAL)
-                                    type = TAttribute.INTEGER;
-
-                                TAttribute ta = new TAttribute(access, id, valueAtt, type, typeOther);
-                                ta.isAvatar = true;
-                                this.returnAttributes.add(ta);
+                        case "ReturnAttribute":
+                            {
+                                Integer access = Integer.decode (elt.getAttribute ("access")).intValue ();
+                                Integer type = Integer.decode (elt.getAttribute ("type")).intValue ();
+                                String typeOther = elt.getAttribute ("typeOther");
+                                String id = elt.getAttribute("id");
+                                String valueAtt = elt.getAttribute("value");
+                                if (valueAtt.equals("null"))
+                                    valueAtt = "";
+
+                                if (TAttribute.isAValidId (id, false, false) && TAttribute.isAValidInitialValue (type, valueAtt)) {
+                                    if (type == TAttribute.NATURAL)
+                                        type = TAttribute.INTEGER;
+
+                                    TAttribute ta = new TAttribute(access, id, valueAtt, type, typeOther);
+                                    ta.isAvatar = true;
+                                    this.returnAttributes.add (ta);
+                                }
                             }
-                        }
 
-                        break;
+                            break;
 
-                        case "Attribute": {
-                            Integer access = Integer.decode(elt.getAttribute("access")).intValue();
-                            Integer type = Integer.decode(elt.getAttribute("type")).intValue();
-                            String typeOther = elt.getAttribute("typeOther");
-                            String id = elt.getAttribute("id");
-                            String valueAtt = elt.getAttribute("value");
-                            if (valueAtt.equals("null"))
-                                valueAtt = "";
-
-                            if (TAttribute.isAValidId(id, false, false) && TAttribute.isAValidInitialValue(type, valueAtt)) {
-                                if (type == TAttribute.NATURAL)
-                                    type = TAttribute.INTEGER;
-
-                                TAttribute ta = new TAttribute(access, id, valueAtt, type, typeOther);
-                                ta.isAvatar = true;
-                                this.attributes.add(ta);
+                        case "Attribute":
+                            {
+                                Integer access = Integer.decode (elt.getAttribute ("access")).intValue ();
+                                Integer type = Integer.decode (elt.getAttribute ("type")).intValue ();
+                                String typeOther = elt.getAttribute ("typeOther");
+                                String id = elt.getAttribute("id");
+                                String valueAtt = elt.getAttribute("value");
+                                if (valueAtt.equals("null"))
+                                    valueAtt = "";
+
+                                if (TAttribute.isAValidId (id, false, false) && TAttribute.isAValidInitialValue (type, valueAtt)) {
+                                    if (type == TAttribute.NATURAL)
+                                        type = TAttribute.INTEGER;
+
+                                    TAttribute ta = new TAttribute(access, id, valueAtt, type, typeOther);
+                                    ta.isAvatar = true;
+                                    this.attributes.add (ta);
+                                }
                             }
-                        }
 
-                        break;
+                            break;
 
                         case "Method":
                             String method = elt.getAttribute("value");
 
-                            if (method.equals("null"))
+                            if (method.equals ("null"))
                                 break;
 
                             boolean implementation = false;
@@ -899,7 +920,7 @@ public class AvatarBDLibraryFunction extends TGCScalableWithoutInternalComponent
                             AvatarMethod am = AvatarMethod.isAValidMethod(method);
                             if (am != null) {
                                 am.setImplementationProvided(implementation);
-                                this.methods.add(am);
+                                this.methods.add (am);
                             }
 
                             break;
@@ -922,8 +943,8 @@ public class AvatarBDLibraryFunction extends TGCScalableWithoutInternalComponent
      *
      * @return The panel of the corresponding state machine diagram.
      */
-    public AvatarSMDPanel getAvatarSMDPanel() {
-        return ((AvatarDesignPanel) (this.tdp.tp)).getAvatarSMDPanel(this.value);
+    public AvatarSMDPanel getAvatarSMDPanel () {
+        return ((AvatarDesignPanel) (this.tdp.tp)).getAvatarSMDPanel (this.value);
     }
 
     /**
@@ -932,8 +953,8 @@ public class AvatarBDLibraryFunction extends TGCScalableWithoutInternalComponent
     public void removeCryptoElements() {
         this.isCrypto = false;
 
-        for (String method : AvatarMethod.cryptoMethods)
-            this.removeMethodIfApplicable(method);
+        for (String method: AvatarMethod.cryptoMethods)
+            this.removeMethodIfApplicable (method);
     }
 
     /**
@@ -942,22 +963,23 @@ public class AvatarBDLibraryFunction extends TGCScalableWithoutInternalComponent
     public void addCryptoElements() {
         this.isCrypto = true;
 
-        for (String method : AvatarMethod.cryptoMethods)
-            this.addMethodIfApplicable(method);
+        for (String method: AvatarMethod.cryptoMethods)
+            this.addMethodIfApplicable (method);
     }
 
     /**
      * Removes a method from the list of methods if it exists.
      *
-     * @param methodString The String corresponding to the method to remove.
+     * @param methodString
+     *      The String corresponding to the method to remove.
      */
     private void removeMethodIfApplicable(String methodString) {
-        Iterator<AvatarMethod> iterator = this.methods.iterator();
-        while (iterator.hasNext()) {
-            AvatarMethod am = iterator.next();
+        Iterator<AvatarMethod> iterator = this.methods.iterator ();
+        while (iterator.hasNext ()) {
+            AvatarMethod am = iterator.next ();
             // TODO: replace by a more OO way...
-            if (am.toString().equals(methodString)) {
-                iterator.remove();
+            if (am.toString ().equals (methodString)) {
+                iterator.remove ();
                 break;
             }
         }
@@ -966,45 +988,46 @@ public class AvatarBDLibraryFunction extends TGCScalableWithoutInternalComponent
     /**
      * Adds a method to the list of methods if it doesn't already exist.
      *
-     * @param methodString The String corresponding to the method to add.
+     * @param methodString
+     *      The String corresponding to the method to add.
      */
-    private void addMethodIfApplicable(String methodString) {
-        for (AvatarMethod am : this.methods)
+    private void addMethodIfApplicable (String methodString) {
+        for (AvatarMethod am: this.methods)
             // TODO: replace by a more OO way...
-            if (am.toString().equals(methodString))
-                return;
+            if (am.toString ().equals (methodString))
+                    return;
 
-        AvatarMethod am = AvatarMethod.isAValidMethod(methodString);
+        AvatarMethod am = AvatarMethod.isAValidMethod (methodString);
         if (am != null)
-            this.methods.add(am);
+            this.methods.add (am);
     }
 
     @Override
-    public String getOwnerName() {
-        return this.getFunctionName();
+    public String getOwnerName () {
+        return this.getFunctionName ();
     }
 
     @Override
-    public LinkedList<TAttribute> getAttributeList() {
-        LinkedList<TAttribute> list = new LinkedList<TAttribute>();
-        list.addAll(this.parameters);
-        list.addAll(this.returnAttributes);
-        list.addAll(this.attributes);
+    public LinkedList<TAttribute> getAttributeList () {
+        LinkedList<TAttribute> list = new LinkedList<TAttribute> ();
+        list.addAll (this.parameters);
+        list.addAll (this.returnAttributes);
+        list.addAll (this.attributes);
 
         return list;
     }
 
     @Override
-    public LinkedList<String> getAllTimerList() {
-        LinkedList<String> v = new LinkedList<String>();
+    public LinkedList<String> getAllTimerList () {
+        LinkedList<String> v = new LinkedList<String> ();
 
-        for (TAttribute a : this.parameters)
+        for (TAttribute a: this.parameters)
             if (a.getType() == TAttribute.TIMER)
                 v.add(a.getId());
-        for (TAttribute a : this.returnAttributes)
+        for (TAttribute a: this.returnAttributes)
             if (a.getType() == TAttribute.TIMER)
                 v.add(a.getId());
-        for (TAttribute a : this.attributes)
+        for (TAttribute a: this.attributes)
             if (a.getType() == TAttribute.TIMER)
                 v.add(a.getId());
 
@@ -1012,38 +1035,38 @@ public class AvatarBDLibraryFunction extends TGCScalableWithoutInternalComponent
     }
 
     @Override
-    public TAttribute getAttributeByName(String _name) {
-        for (TAttribute a : this.parameters)
+    public TAttribute getAttributeByName (String _name) {
+        for (TAttribute a: this.parameters)
             if (a.getId().compareTo(_name) == 0)
                 return a;
-        for (TAttribute a : this.returnAttributes)
+        for (TAttribute a: this.returnAttributes)
             if (a.getId().compareTo(_name) == 0)
                 return a;
-        for (TAttribute a : this.attributes)
+        for (TAttribute a: this.attributes)
             if (a.getId().compareTo(_name) == 0)
                 return a;
         return null;
     }
 
     @Override
-    public LinkedList<AvatarSignal> getSignalList() {
-        return new LinkedList<AvatarSignal>(this.signals);
+    public LinkedList<AvatarSignal> getSignalList () {
+        return new LinkedList<AvatarSignal> (this.signals);
     }
 
     @Override
-    public LinkedList<AvatarSignal> getAllSignalList() {
-        return this.getSignalList();
+    public LinkedList<AvatarSignal> getAllSignalList () {
+        return this.getSignalList ();
     }
 
     @Override
-    public AvatarSignal getSignalNameBySignalDef(String _id) {
+    public AvatarSignal getSignalNameBySignalDef (String _id) {
         int index0 = _id.indexOf('(');
         if (index0 > -1)
             _id = _id.substring(0, index0);
 
         _id = _id.trim();
-        for (AvatarSignal as : this.signals)
-            if (as.getId().equals(_id))
+        for (AvatarSignal as: this.signals)
+            if (as.getId().equals (_id))
                 return as;
 
         return null;
@@ -1055,23 +1078,23 @@ public class AvatarBDLibraryFunction extends TGCScalableWithoutInternalComponent
             // Too large to fit in the father? -> resize it!
             this.resizeToFatherSize();
 
-            this.setCdRectangle(0, this.father.getWidth() - this.getWidth(), 0, this.father.getHeight() - this.getHeight());
-            this.setMoveCd(this.x, this.y);
+            this.setCdRectangle (0, this.father.getWidth() - this.getWidth(), 0, this.father.getHeight() - this.getHeight());
+            this.setMoveCd (this.x, this.y);
         }
     }
 
     @Override
-    public LinkedList<AvatarMethod> getMethodList() {
-        return new LinkedList<AvatarMethod>(this.methods);
+    public LinkedList<AvatarMethod> getMethodList () {
+        return new LinkedList<AvatarMethod> (this.methods);
     }
 
     @Override
-    public LinkedList<AvatarMethod> getAllMethodList() {
-        return this.getMethodList();
+    public LinkedList<AvatarMethod> getAllMethodList () {
+        return this.getMethodList ();
     }
 
     @Override
-    public int compareTo(AvatarBDLibraryFunction f) {
-        return this.name.compareTo(f.getFunctionName());
+    public int compareTo (AvatarBDLibraryFunction f) {
+        return this.name.compareTo (f.getFunctionName ());
     }
 }
diff --git a/src/main/java/ui/avatarbd/AvatarBDPragma.java b/src/main/java/ui/avatarbd/AvatarBDPragma.java
old mode 100755
new mode 100644
index a0c6e121dd37f2c4b57edec19b9bb516c4f98940..dc9666557e223d2ecd276fda949489e7b371ccda
--- a/src/main/java/ui/avatarbd/AvatarBDPragma.java
+++ b/src/main/java/ui/avatarbd/AvatarBDPragma.java
@@ -1,26 +1,26 @@
 /* Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille
- *
+ * 
  * ludovic.apvrille AT enst.fr
- *
+ * 
  * This software is a computer program whose purpose is to allow the
  * edition of TURTLE analysis, design and deployment diagrams, to
  * allow the generation of RT-LOTOS or Java code from this diagram,
  * and at last to allow the analysis of formal validation traces
  * obtained from external tools, e.g. RTL from LAAS-CNRS and CADP
  * from INRIA Rhone-Alpes.
- *
+ * 
  * This software is governed by the CeCILL  license under French law and
  * abiding by the rules of distribution of free software.  You can  use,
  * modify and/ or redistribute the software under the terms of the CeCILL
  * license as circulated by CEA, CNRS and INRIA at the following URL
  * "http://www.cecill.info".
- *
+ * 
  * As a counterpart to the access to the source code and  rights to copy,
  * modify and redistribute granted by the license, users are provided only
  * with a limited warranty  and the software's author,  the holder of the
  * economic rights,  and the successive licensors  have only  limited
  * liability.
- *
+ * 
  * In this respect, the user's attention is drawn to the risks associated
  * with loading,  using,  modifying and/or developing or reproducing the
  * software by the user in light of its specific status of free software,
@@ -31,7 +31,7 @@
  * requirements in conditions enabling the security of their systems and/or
  * data to be ensured and,  more generally, to use and operate it in the
  * same conditions as regards security.
- *
+ * 
  * The fact that you are presently reading this means that you have had
  * knowledge of the CeCILL license and that you accept its terms.
  */
@@ -229,7 +229,7 @@ public class AvatarBDPragma extends TGCScalableWithoutInternalComponent {
         int i = 1;
         Font heading = new Font("heading", Font.BOLD, this.tdp.getFontSize() * 7 / 6);
         g.setFont(heading);
-        g.drawString("Security features", x + textX, y + textY + currentFontSize);
+        g.drawString("Model Pragmas", x + textX, y + textY + currentFontSize);
         g.setFont(fold);
         for (String s : models) {
             g.drawString(s, x + textX, y + textY + (i + 1) * currentFontSize);
diff --git a/src/main/java/ui/avatarbd/AvatarBDStateMachineOwner.java b/src/main/java/ui/avatarbd/AvatarBDStateMachineOwner.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarbd/AvatarBDToolBar.java b/src/main/java/ui/avatarbd/AvatarBDToolBar.java
index 53de8d401cef89276a7930dc16af1a2c01dfd2e2..4177b34d9d5f3ee05f1a7f51ec440b03cac174e6 100644
--- a/src/main/java/ui/avatarbd/AvatarBDToolBar.java
+++ b/src/main/java/ui/avatarbd/AvatarBDToolBar.java
@@ -1,26 +1,26 @@
 /* Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille
- *
+ * 
  * ludovic.apvrille AT enst.fr
- *
+ * 
  * This software is a computer program whose purpose is to allow the
  * edition of TURTLE analysis, design and deployment diagrams, to
  * allow the generation of RT-LOTOS or Java code from this diagram,
  * and at last to allow the analysis of formal validation traces
  * obtained from external tools, e.g. RTL from LAAS-CNRS and CADP
  * from INRIA Rhone-Alpes.
- *
+ * 
  * This software is governed by the CeCILL  license under French law and
  * abiding by the rules of distribution of free software.  You can  use,
  * modify and/ or redistribute the software under the terms of the CeCILL
  * license as circulated by CEA, CNRS and INRIA at the following URL
  * "http://www.cecill.info".
- *
+ * 
  * As a counterpart to the access to the source code and  rights to copy,
  * modify and redistribute granted by the license, users are provided only
  * with a limited warranty  and the software's author,  the holder of the
  * economic rights,  and the successive licensors  have only  limited
  * liability.
- *
+ * 
  * In this respect, the user's attention is drawn to the risks associated
  * with loading,  using,  modifying and/or developing or reproducing the
  * software by the user in light of its specific status of free software,
@@ -31,12 +31,14 @@
  * requirements in conditions enabling the security of their systems and/or
  * data to be ensured and,  more generally, to use and operate it in the
  * same conditions as regards security.
- *
+ * 
  * The fact that you are presently reading this means that you have had
  * knowledge of the CeCILL license and that you accept its terms.
  */
 
 
+
+
 package ui.avatarbd;
 
 import ui.MainGUI;
@@ -49,13 +51,12 @@ import javax.swing.*;
 //import java.awt.event.*;
 
 /**
- * Class AvatarBDToolBar
- * Implements the toolbar to be used in conjunction with the panel of an AVATAR block diagram
- * Creation: 06/04/2010
- *
- * @author Ludovic APVRILLE
- * @version 1.0 06/04/2010
- * @see AvatarBDPanel
+   * Class AvatarBDToolBar
+   * Implements the toolbar to be used in conjunction with the panel of an AVATAR block diagram
+   * Creation: 06/04/2010
+   * @version 1.0 06/04/2010
+   * @author Ludovic APVRILLE
+   * @see AvatarBDPanel
  */
 public class AvatarBDToolBar extends TToolBar {
 
@@ -109,20 +110,17 @@ public class AvatarBDToolBar extends TToolBar {
         button = this.add(mgui.actions[TGUIAction.UML_NOTE]);
         button.addMouseListener(mgui.mouseHandler);
 
-        button = this.add(mgui.actions[TGUIAction.CONNECTOR_COMMENT]);
+        button = this.add(mgui.actions[TGUIAction.PRAGMA]);
         button.addMouseListener(mgui.mouseHandler);
 
-        this.addSeparator();
-
         button = this.add(mgui.actions[TGUIAction.SAFETY_PRAGMA]);
         button.addMouseListener(mgui.mouseHandler);
 
-        button = this.add(mgui.actions[TGUIAction.PRAGMA]);
-        button.addMouseListener(mgui.mouseHandler);
-
         button = this.add(mgui.actions[TGUIAction.PERFORMANCE_PRAGMA]);
         button.addMouseListener(mgui.mouseHandler);
 
+        button = this.add(mgui.actions[TGUIAction.CONNECTOR_COMMENT]);
+        button.addMouseListener(mgui.mouseHandler);
 
         this.addSeparator();
 
@@ -134,9 +132,9 @@ public class AvatarBDToolBar extends TToolBar {
         button = this.add(mgui.actions[TGUIAction.ABD_CRYPTOBLOCK]);
         button.addMouseListener(mgui.mouseHandler);
         if (MainGUI.experimentalOn) {
-            button = this.add(mgui.actions[TGUIAction.AVATAR_FIREWALL]);
-            button.addMouseListener(mgui.mouseHandler);
-        }
+        	button = this.add(mgui.actions[TGUIAction.AVATAR_FIREWALL]);
+        	button.addMouseListener(mgui.mouseHandler);
+		}
         this.addSeparator();
 
         button = this.add(mgui.actions[TGUIAction.ABD_DATATYPE]);
diff --git a/src/main/java/ui/avatarcd/AvatarCDActorBox.java b/src/main/java/ui/avatarcd/AvatarCDActorBox.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarcd/AvatarCDActorStickman.java b/src/main/java/ui/avatarcd/AvatarCDActorStickman.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarcd/AvatarCDAssociationConnector.java b/src/main/java/ui/avatarcd/AvatarCDAssociationConnector.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatardd/ADDArtifact.java b/src/main/java/ui/avatardd/ADDArtifact.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatardd/ADDBlockArtifact.java b/src/main/java/ui/avatardd/ADDBlockArtifact.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatardd/ADDBridgeNode.java b/src/main/java/ui/avatardd/ADDBridgeNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatardd/ADDBusNode.java b/src/main/java/ui/avatardd/ADDBusNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatardd/ADDCPUNode.java b/src/main/java/ui/avatardd/ADDCPUNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatardd/ADDChannelArtifact.java b/src/main/java/ui/avatardd/ADDChannelArtifact.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatardd/ADDCommunicationNode.java b/src/main/java/ui/avatardd/ADDCommunicationNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatardd/ADDConnectingPoint.java b/src/main/java/ui/avatardd/ADDConnectingPoint.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatardd/ADDConnector.java b/src/main/java/ui/avatardd/ADDConnector.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatardd/ADDCoproMWMRNode.java b/src/main/java/ui/avatardd/ADDCoproMWMRNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatardd/ADDCrossbarNode.java b/src/main/java/ui/avatardd/ADDCrossbarNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatardd/ADDDMANode.java b/src/main/java/ui/avatardd/ADDDMANode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatardd/ADDDiagramPanel.java b/src/main/java/ui/avatardd/ADDDiagramPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatardd/ADDDiagramToolBar.java b/src/main/java/ui/avatardd/ADDDiagramToolBar.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatardd/ADDICUNode.java b/src/main/java/ui/avatardd/ADDICUNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatardd/ADDMemoryNode.java b/src/main/java/ui/avatardd/ADDMemoryNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatardd/ADDNode.java b/src/main/java/ui/avatardd/ADDNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatardd/ADDRAMNode.java b/src/main/java/ui/avatardd/ADDRAMNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatardd/ADDROMNode.java b/src/main/java/ui/avatardd/ADDROMNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatardd/ADDTTYNode.java b/src/main/java/ui/avatardd/ADDTTYNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatardd/ADDTimerNode.java b/src/main/java/ui/avatardd/ADDTimerNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatardd/ADDVgmnNode.java b/src/main/java/ui/avatardd/ADDVgmnNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarinteractivesimulation/AvatarInteractiveSimulationActions.java b/src/main/java/ui/avatarinteractivesimulation/AvatarInteractiveSimulationActions.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarinteractivesimulation/AvatarInteractiveSimulationBar.java b/src/main/java/ui/avatarinteractivesimulation/AvatarInteractiveSimulationBar.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarinteractivesimulation/AvatarInteractiveSimulationFIFOData.java b/src/main/java/ui/avatarinteractivesimulation/AvatarInteractiveSimulationFIFOData.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarinteractivesimulation/AvatarMainCommandsToolBar.java b/src/main/java/ui/avatarinteractivesimulation/AvatarMainCommandsToolBar.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarinteractivesimulation/AvatarSaveCommandsToolBar.java b/src/main/java/ui/avatarinteractivesimulation/AvatarSaveCommandsToolBar.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarinteractivesimulation/BlockTableModel.java b/src/main/java/ui/avatarinteractivesimulation/BlockTableModel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarinteractivesimulation/JFrameAvatarInteractiveSimulation.java b/src/main/java/ui/avatarinteractivesimulation/JFrameAvatarInteractiveSimulation.java
old mode 100755
new mode 100644
index 8b064420be0e53be31327fdd24d8f5da881cd0c0..5cb98aa1e92f7b93fff6bb22ac4ea766adc29392
--- a/src/main/java/ui/avatarinteractivesimulation/JFrameAvatarInteractiveSimulation.java
+++ b/src/main/java/ui/avatarinteractivesimulation/JFrameAvatarInteractiveSimulation.java
@@ -68,17 +68,6 @@ import java.util.HashMap;
 import java.util.Map;
 import java.util.Collections;
 
-
-import java.io.Writer;
-import java.io.OutputStreamWriter;
-import java.io.IOException;
-
-import org.apache.batik.svggen.SVGGraphics2D;
-import org.apache.batik.dom.GenericDOMImplementation;
-
-import org.w3c.dom.Document;
-import org.w3c.dom.DOMImplementation;
-
 /**
  * Class JFrameAvatarInteractiveSimulation
  * Creation: 21/01/2011
@@ -1828,7 +1817,7 @@ public  class JFrameAvatarInteractiveSimulation extends JFrame implements Avatar
         } else {
             // Using model directory
             String path = mgui.getModelFileFullPath();
-            fileName = path.substring(0, path.lastIndexOf(File.separator) + 1) + fileName;
+            fileName = path.substring(0,path.lastIndexOf(File.separator)+1) + fileName;
             TraceManager.addDev("New Filename = " + fileName);
         }
 
@@ -1842,17 +1831,15 @@ public  class JFrameAvatarInteractiveSimulation extends JFrame implements Avatar
 
         if (!ok) {
             JOptionPane.showMessageDialog(this,
-                    "The capture could not be performed: the specified file is not valid",
-                    "Error",
-                    JOptionPane.INFORMATION_MESSAGE);
+                                          "The capture could not be performed: the specified file is not valid",
+                                          "Error",
+                                          JOptionPane.INFORMATION_MESSAGE);
             return;
         }
 
-        newSVGSave("NEW" + fileName);
-
 
 
-      StringBuffer sb = new StringBuffer("<?xml version=\"1.0\" standalone=\"no\"?>\n");
+        StringBuffer sb = new StringBuffer("<?xml version=\"1.0\" standalone=\"no\"?>\n");
         sb.append("<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n");
         sb.append("<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\">\n");
 
@@ -1891,31 +1878,6 @@ public  class JFrameAvatarInteractiveSimulation extends JFrame implements Avatar
 
     }
 
-    // FileName must be valid
-    private void newSVGSave(String fileName) {
-        TraceManager.addDev("New SVG save in " + fileName);
-        // Get a DOMImplementation.
-        DOMImplementation domImpl =
-                GenericDOMImplementation.getDOMImplementation();
-
-        // Create an instance of org.w3c.dom.Document.
-        String svgNS = "http://www.w3.org/2000/svg";
-        Document document = domImpl.createDocument(svgNS, "svg", null);
-
-        // Create an instance of the SVG Generator.
-        SVGGraphics2D svgGenerator = new SVGGraphics2D(document);
-
-        // Ask the test to render into the SVG Graphics2D implementation.
-        /*TestSVGGen test = new TestSVGGen();
-        test.paint(svgGenerator);
-
-        // Finally, stream out SVG to the standard output using
-        // UTF-8 encoding.
-        boolean useCSS = true; // we want to use CSS style attributes
-        Writer out = new OutputStreamWriter(System.out, "UTF-8");
-        svgGenerator.stream(out, useCSS);*/
-    }
-
     public void actSaveSDPNG() {
         //Saving PNG file;
         BufferedImage bi;
diff --git a/src/main/java/ui/avatarinteractivesimulation/MetElementsTableModel.java b/src/main/java/ui/avatarinteractivesimulation/MetElementsTableModel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarinteractivesimulation/TransactionTableModel.java b/src/main/java/ui/avatarinteractivesimulation/TransactionTableModel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarinteractivesimulation/VariableTableModel.java b/src/main/java/ui/avatarinteractivesimulation/VariableTableModel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarmethodology/AvatarMethodologyConnectingPoint.java b/src/main/java/ui/avatarmethodology/AvatarMethodologyConnectingPoint.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarmethodology/AvatarMethodologyConnector.java b/src/main/java/ui/avatarmethodology/AvatarMethodologyConnector.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarmethodology/AvatarMethodologyDiagramName.java b/src/main/java/ui/avatarmethodology/AvatarMethodologyDiagramName.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarmethodology/AvatarMethodologyDiagramPanel.java b/src/main/java/ui/avatarmethodology/AvatarMethodologyDiagramPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarmethodology/AvatarMethodologyDiagramReference.java b/src/main/java/ui/avatarmethodology/AvatarMethodologyDiagramReference.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarmethodology/AvatarMethodologyDiagramToolbar.java b/src/main/java/ui/avatarmethodology/AvatarMethodologyDiagramToolbar.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarmethodology/AvatarMethodologyReferenceToAnalysis.java b/src/main/java/ui/avatarmethodology/AvatarMethodologyReferenceToAnalysis.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarmethodology/AvatarMethodologyReferenceToAssumptions.java b/src/main/java/ui/avatarmethodology/AvatarMethodologyReferenceToAssumptions.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarmethodology/AvatarMethodologyReferenceToDesign.java b/src/main/java/ui/avatarmethodology/AvatarMethodologyReferenceToDesign.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarmethodology/AvatarMethodologyReferenceToProperties.java b/src/main/java/ui/avatarmethodology/AvatarMethodologyReferenceToProperties.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarmethodology/AvatarMethodologyReferenceToPrototype.java b/src/main/java/ui/avatarmethodology/AvatarMethodologyReferenceToPrototype.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarmethodology/AvatarMethodologyReferenceToRequirement.java b/src/main/java/ui/avatarmethodology/AvatarMethodologyReferenceToRequirement.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarpd/AvatarPDProperty.java b/src/main/java/ui/avatarpd/AvatarPDProperty.java
index d1e119387359f57ebe03f15731ce96f6c8b7f809..52df0fac3934bb562bf991bc3812c68853010601 100644
--- a/src/main/java/ui/avatarpd/AvatarPDProperty.java
+++ b/src/main/java/ui/avatarpd/AvatarPDProperty.java
@@ -245,7 +245,7 @@ public class AvatarPDProperty extends TGCScalableWithInternalComponent implement
         String oldValue = value;
         JDialogAvatarProperty jdap = new JDialogAvatarProperty(frame, value, kind, not);
      //   jdap.setSize(300, 280);
-        GraphicLib.centerOnParent(jdap, 400, 280);
+        GraphicLib.centerOnParent(jdap, 300, 280);
         jdap.setVisible(true); // blocked until dialog has been closed
 
         if (jdap.hasBeenCancelled()) {
diff --git a/src/main/java/ui/avatarrd/AvatarRDConnectingPointDerive.java b/src/main/java/ui/avatarrd/AvatarRDConnectingPointDerive.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarrd/AvatarRDConnectingPointSatisfy.java b/src/main/java/ui/avatarrd/AvatarRDConnectingPointSatisfy.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarrd/AvatarRDConnectingPointVerify.java b/src/main/java/ui/avatarrd/AvatarRDConnectingPointVerify.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarrd/AvatarRDCopyConnector.java b/src/main/java/ui/avatarrd/AvatarRDCopyConnector.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarrd/AvatarRDDeriveConnector.java b/src/main/java/ui/avatarrd/AvatarRDDeriveConnector.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarrd/AvatarRDPanel.java b/src/main/java/ui/avatarrd/AvatarRDPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarrd/AvatarRDProperty.java b/src/main/java/ui/avatarrd/AvatarRDProperty.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarrd/AvatarRDRefineConnector.java b/src/main/java/ui/avatarrd/AvatarRDRefineConnector.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarrd/AvatarRDRequirement.java b/src/main/java/ui/avatarrd/AvatarRDRequirement.java
old mode 100755
new mode 100644
index 7fde2f61a84b7a4845fe7e3d57e58ebd1c568b76..baed332ed2d5ef9e315265094cd34ade68c50663
--- a/src/main/java/ui/avatarrd/AvatarRDRequirement.java
+++ b/src/main/java/ui/avatarrd/AvatarRDRequirement.java
@@ -64,8 +64,6 @@ import java.awt.event.ActionListener;
  * @version 1.0 20/04/2010
  */
 public class AvatarRDRequirement extends TGCScalableWithInternalComponent implements WithAttributes, TGAutoAdjust {
-    public static int SIZE_LIMIT = 35;
-
     public String oldValue;
     protected int textX = 5;
     protected int textY = 22;
@@ -422,7 +420,7 @@ public class AvatarRDRequirement extends TGCScalableWithInternalComponent implem
 
         JDialogRequirement jdr = new JDialogRequirement(tdp.getGUI().getFrame(), "Setting attributes of Requirement " + getRequirementName(), id, text, kind, criticality, va, reqType, atn, referenceElements);
         // jdr.setSize(750, 400);
-        GraphicLib.centerOnParent(jdr, 800, 400);
+        GraphicLib.centerOnParent(jdr, 750, 400);
         jdr.setVisible(true);
 
         if (!jdr.isRegularClose()) {
@@ -570,10 +568,6 @@ public class AvatarRDRequirement extends TGCScalableWithInternalComponent implem
         ret += " " + text;
         ret += " criticality=" + criticality;
 
-        if (SIZE_LIMIT > 0) {
-            ret = ret.substring(0, SIZE_LIMIT) + "...";
-        }
-
         return ret;
     }
 
diff --git a/src/main/java/ui/avatarrd/AvatarRDSatisfyConnector.java b/src/main/java/ui/avatarrd/AvatarRDSatisfyConnector.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarrd/AvatarRDToolBar.java b/src/main/java/ui/avatarrd/AvatarRDToolBar.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarrd/AvatarRDVerifyConnector.java b/src/main/java/ui/avatarrd/AvatarRDVerifyConnector.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarsmd/AvatarSMDChoice.java b/src/main/java/ui/avatarsmd/AvatarSMDChoice.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarsmd/AvatarSMDPanel.java b/src/main/java/ui/avatarsmd/AvatarSMDPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarsmd/AvatarSMDParallel.java b/src/main/java/ui/avatarsmd/AvatarSMDParallel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarsmd/AvatarSMDRandom.java b/src/main/java/ui/avatarsmd/AvatarSMDRandom.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarsmd/AvatarSMDToolBar.java b/src/main/java/ui/avatarsmd/AvatarSMDToolBar.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/avatarsmd/AvatarSMDTransitionInfo.java b/src/main/java/ui/avatarsmd/AvatarSMDTransitionInfo.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/cd/TCDActivityDiagramBox.java b/src/main/java/ui/cd/TCDActivityDiagramBox.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/cd/TCDAttributeBox.java b/src/main/java/ui/cd/TCDAttributeBox.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/cd/TCDAttributeBoxNoConnection.java b/src/main/java/ui/cd/TCDAttributeBoxNoConnection.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/cd/TCDAttributeGateBox.java b/src/main/java/ui/cd/TCDAttributeGateBox.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/cd/TCDCompositionOperator.java b/src/main/java/ui/cd/TCDCompositionOperator.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/cd/TCDCompositionOperatorWithSynchro.java b/src/main/java/ui/cd/TCDCompositionOperatorWithSynchro.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/cd/TCDInvocationOperator.java b/src/main/java/ui/cd/TCDInvocationOperator.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/cd/TCDOperationBox.java b/src/main/java/ui/cd/TCDOperationBox.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/cd/TCDOperationBoxNoConnection.java b/src/main/java/ui/cd/TCDOperationBoxNoConnection.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/cd/TCDParallelOperator.java b/src/main/java/ui/cd/TCDParallelOperator.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/cd/TCDPreemptionOperator.java b/src/main/java/ui/cd/TCDPreemptionOperator.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/cd/TCDReducedAttributeBox.java b/src/main/java/ui/cd/TCDReducedAttributeBox.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/cd/TCDReducedAttributeGateBox.java b/src/main/java/ui/cd/TCDReducedAttributeGateBox.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/cd/TCDSequenceOperator.java b/src/main/java/ui/cd/TCDSequenceOperator.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/cd/TCDSynchroGateList.java b/src/main/java/ui/cd/TCDSynchroGateList.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/cd/TCDSynchroOperator.java b/src/main/java/ui/cd/TCDSynchroOperator.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/cd/TCDTClass.java b/src/main/java/ui/cd/TCDTClass.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/cd/TCDTData.java b/src/main/java/ui/cd/TCDTData.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/cd/TCDTObject.java b/src/main/java/ui/cd/TCDTObject.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/cd/TCDWatchdogGateList.java b/src/main/java/ui/cd/TCDWatchdogGateList.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/cd/TCDWatchdogOperator.java b/src/main/java/ui/cd/TCDWatchdogOperator.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/cd/TClassDiagramPanel.java b/src/main/java/ui/cd/TClassDiagramPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/cd/TClassDiagramToolBar.java b/src/main/java/ui/cd/TClassDiagramToolBar.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/cd/TGCReducedAttributeBox.java b/src/main/java/ui/cd/TGCReducedAttributeBox.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/cd/TGConnectingPointAssociation.java b/src/main/java/ui/cd/TGConnectingPointAssociation.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/cd/TGConnectingPointCompositionOperator.java b/src/main/java/ui/cd/TGConnectingPointCompositionOperator.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/cd/TGConnectingPointTClasses.java b/src/main/java/ui/cd/TGConnectingPointTClasses.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/cd/TGConnectorAssociation.java b/src/main/java/ui/cd/TGConnectorAssociation.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/cd/TGConnectorAssociationWithNavigation.java b/src/main/java/ui/cd/TGConnectorAssociationWithNavigation.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/dd/TDDArtifact.java b/src/main/java/ui/dd/TDDArtifact.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/dd/TDDNode.java b/src/main/java/ui/dd/TDDNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/dd/TDeploymentDiagramPanel.java b/src/main/java/ui/dd/TDeploymentDiagramPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/dd/TDeploymentDiagramToolBar.java b/src/main/java/ui/dd/TDeploymentDiagramToolBar.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/dd/TGConnectingPointDD.java b/src/main/java/ui/dd/TGConnectingPointDD.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/dd/TGConnectorLinkNode.java b/src/main/java/ui/dd/TGConnectorLinkNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/diplodocusmethodology/DiplodocusMethodologyConnectingPoint.java b/src/main/java/ui/diplodocusmethodology/DiplodocusMethodologyConnectingPoint.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/diplodocusmethodology/DiplodocusMethodologyConnector.java b/src/main/java/ui/diplodocusmethodology/DiplodocusMethodologyConnector.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/diplodocusmethodology/DiplodocusMethodologyDiagramName.java b/src/main/java/ui/diplodocusmethodology/DiplodocusMethodologyDiagramName.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/diplodocusmethodology/DiplodocusMethodologyDiagramPanel.java b/src/main/java/ui/diplodocusmethodology/DiplodocusMethodologyDiagramPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/diplodocusmethodology/DiplodocusMethodologyDiagramReference.java b/src/main/java/ui/diplodocusmethodology/DiplodocusMethodologyDiagramReference.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/diplodocusmethodology/DiplodocusMethodologyDiagramReferenceToApplication.java b/src/main/java/ui/diplodocusmethodology/DiplodocusMethodologyDiagramReferenceToApplication.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/diplodocusmethodology/DiplodocusMethodologyDiagramReferenceToArchitecture.java b/src/main/java/ui/diplodocusmethodology/DiplodocusMethodologyDiagramReferenceToArchitecture.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/diplodocusmethodology/DiplodocusMethodologyDiagramReferenceToCP.java b/src/main/java/ui/diplodocusmethodology/DiplodocusMethodologyDiagramReferenceToCP.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/diplodocusmethodology/DiplodocusMethodologyDiagramReferenceToMapping.java b/src/main/java/ui/diplodocusmethodology/DiplodocusMethodologyDiagramReferenceToMapping.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/diplodocusmethodology/DiplodocusMethodologyDiagramReferenceToRequirement.java b/src/main/java/ui/diplodocusmethodology/DiplodocusMethodologyDiagramReferenceToRequirement.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/diplodocusmethodology/DiplodocusMethodologyDiagramToolbar.java b/src/main/java/ui/diplodocusmethodology/DiplodocusMethodologyDiagramToolbar.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ebrdd/EBRDDActionState.java b/src/main/java/ui/ebrdd/EBRDDActionState.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ebrdd/EBRDDChoice.java b/src/main/java/ui/ebrdd/EBRDDChoice.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ebrdd/EBRDDForLoop.java b/src/main/java/ui/ebrdd/EBRDDForLoop.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ebrdd/EBRDDStartState.java b/src/main/java/ui/ebrdd/EBRDDStartState.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ebrdd/EBRDDStopState.java b/src/main/java/ui/ebrdd/EBRDDStopState.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ebrdd/EBRDDToolBar.java b/src/main/java/ui/ebrdd/EBRDDToolBar.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ebrdd/TGConnectingPointEBRDD.java b/src/main/java/ui/ebrdd/TGConnectingPointEBRDD.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ebrdd/TGConnectingPointEBRDDERC.java b/src/main/java/ui/ebrdd/TGConnectingPointEBRDDERC.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ebrdd/TGConnectorEBRDD.java b/src/main/java/ui/ebrdd/TGConnectorEBRDD.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ebrdd/TGConnectorEBRDDERC.java b/src/main/java/ui/ebrdd/TGConnectorEBRDDERC.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/file/AUTFileFilter.java b/src/main/java/ui/file/AUTFileFilter.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/file/BCGFileFilter.java b/src/main/java/ui/file/BCGFileFilter.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/file/DTAFileFilter.java b/src/main/java/ui/file/DTAFileFilter.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/file/MSCFilter.java b/src/main/java/ui/file/MSCFilter.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/file/PNGFilter.java b/src/main/java/ui/file/PNGFilter.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/file/RGFileFilter.java b/src/main/java/ui/file/RGFileFilter.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/file/RTLFileFilter.java b/src/main/java/ui/file/RTLFileFilter.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/file/TDotFilter.java b/src/main/java/ui/file/TDotFilter.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/file/TFileFilter.java b/src/main/java/ui/file/TFileFilter.java
old mode 100755
new mode 100644
index c76da383fd1c1090cd14c6a67c7440ef5b729937..2b801a6e6f19d73d942b34f6ef9204703f9914c0
--- a/src/main/java/ui/file/TFileFilter.java
+++ b/src/main/java/ui/file/TFileFilter.java
@@ -37,6 +37,8 @@
  */
 
 
+
+ 
 package ui.file;
 
 import myutil.FileUtils;
@@ -48,12 +50,11 @@ import java.io.File;
 /**
  * Class TFileFilter
  * Creation : 12/12/2003
- *
  * @author Ludovic APVRILLE
  */
 public class TFileFilter extends FileFilter {
 
-    //Accept all directories and  xml files
+//Accept all directories and  xml files
     public boolean accept(File f) {
         if (f.isDirectory()) {
             return true;
@@ -66,13 +67,13 @@ public class TFileFilter extends FileFilter {
 
         return false;
     }
-
+    
     public String getDescription() {
-        return "TTool Files";
+        return "TURTLE Files";
     }
-
+    
     public static String getExtension() {
-        return FileUtils.xml;
+	 	return  FileUtils.xml;  
     }
 
 }
diff --git a/src/main/java/ui/file/TImgFilter.java b/src/main/java/ui/file/TImgFilter.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/file/TLSAFileFilter.java b/src/main/java/ui/file/TLSAFileFilter.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/file/TLibFilter.java b/src/main/java/ui/file/TLibFilter.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/file/TSVGFilter.java b/src/main/java/ui/file/TSVGFilter.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/file/TTIFFilter.java b/src/main/java/ui/file/TTIFFilter.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/het/CAMSBlock.java b/src/main/java/ui/het/CAMSBlock.java
deleted file mode 100755
index 97852637283904d48b72f3e71f9ce9ff1391c7b0..0000000000000000000000000000000000000000
--- a/src/main/java/ui/het/CAMSBlock.java
+++ /dev/null
@@ -1,394 +0,0 @@
-/* Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille
- * 
- * ludovic.apvrille AT enst.fr
- * 
- * This software is a computer program whose purpose is to allow the
- * edition of TURTLE analysis, design and deployment diagrams, to
- * allow the generation of RT-LOTOS or Java code from this diagram,
- * and at last to allow the analysis of formal validation traces
- * obtained from external tools, e.g. RTL from LAAS-CNRS and CADP
- * from INRIA Rhone-Alpes.
- * 
- * This software is governed by the CeCILL  license under French law and
- * abiding by the rules of distribution of free software.  You can  use,
- * modify and/ or redistribute the software under the terms of the CeCILL
- * license as circulated by CEA, CNRS and INRIA at the following URL
- * "http://www.cecill.info".
- * 
- * As a counterpart to the access to the source code and  rights to copy,
- * modify and redistribute granted by the license, users are provided only
- * with a limited warranty  and the software's author,  the holder of the
- * economic rights,  and the successive licensors  have only  limited
- * liability.
- * 
- * In this respect, the user's attention is drawn to the risks associated
- * with loading,  using,  modifying and/or developing or reproducing the
- * software by the user in light of its specific status of free software,
- * that may mean  that it is complicated to manipulate,  and  that  also
- * therefore means  that it is reserved for developers  and  experienced
- * professionals having in-depth computer knowledge. Users are therefore
- * encouraged to load and test the software's suitability as regards their
- * requirements in conditions enabling the security of their systems and/or
- * data to be ensured and,  more generally, to use and operate it in the
- * same conditions as regards security.
- * 
- * The fact that you are presently reading this means that you have had
- * knowledge of the CeCILL license and that you accept its terms.
- */
-
-
-
-
-package ui.het;
-
-import myutil.GraphicLib;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-import ui.*;
-import ui.util.IconManager;
-import ui.window.JDialogCAMSBlocks;
-import heterogeneoustranslator.systemCAMStranslator.*;
-
-import javax.swing.*;
-import java.awt.*;
-import java.util.LinkedList;
-import java.util.Vector;
-
-
-/**
-* Class CAMSBlock
-* Block for SystemC-AMS Diagrams
-* Creation: 27/06/2017
-* @version 1.0 27/06/2017
-* @author Côme DEMARIGNY
- */
-public class CAMSBlock extends TGComponent {
-    private int textY1 = 15;
-    private int textY2 = 30;
-    private int derivationx = 2;
-    private int derivationy = 3;
-    private String stereotype = "block";
-    
-    private int nbOfIn = 0;
-    private int nbOfOut = 0;
-    private int nbOfHybridIn = 0;
-    private int nbOfHybridOut = 0;
-    private int totIn = 0;
-    private int totOut = 0;
-
-    protected int index = 0;
-    
-    private int maxFontSize = 12;
-    private int minFontSize = 4;
-    private int currentFontSize = -1;
-    private boolean displayText = true;
-    private int textX = 7;
-	
-    private int limitName = -1;
-    private int limitAttr = -1;
-    private int limitMethod = -1;
-    
-    public String name;
-    public String Value= "Block0";
-    private JDialogCAMSBlocks dialog;
-
-    // TAttribute, ProcessCode, CAMSSignal
-    protected LinkedList<TAttribute> myAttributes;
-    protected LinkedList<CAMSSignal> mySignals;
-    protected String [] processCode;
-
-    //Simulation Object
-    private CAMSBlocks SBlock;
-    
-    public CAMSBlock (int _x, int _y, int _minX, int _maxX, int _minY, int _maxY, boolean _pos, TGComponent _father, TDiagramPanel _tdp) {
-        super(_x, _y, _minX, _maxX, _minY, _maxY, _pos, _father, _tdp);
-	tdp = _tdp;
-        width = 250;
-        height = 200;
-        minWidth = 150;
-        minHeight = 100;
-        
-	createConnectingPoints();
-        
-        moveable = true;
-        editable = true;
-        removable = true;
-        userResizable = true;
-        
-	getBlockName();
-        
-        myImageIcon = IconManager.imgic700;
-
-	if(this.myAttributes == null){this.myAttributes = new LinkedList<TAttribute>();}
-	if(this.mySignals == null){this.mySignals = new LinkedList<CAMSSignal>();}
-	
-	SBlock= new CAMSBlocks(name, nbOfIn, nbOfOut, nbOfHybridIn, nbOfHybridOut, myAttributes, mySignals, processCode);
-    }
-
-    public void createConnectingPoints(){
-	int i;
-	double h;
-	
-	resetInOut();
-
-	if(this.mySignals!=null){
-	    for(i=0;i<mySignals.size();i++){	
-		if(mySignals.get(i).getInout()==0){
-		    nbOfIn++;
-		} else if(mySignals.get(i).getInout()==1) {
-		    nbOfOut++;
-		} else if(mySignals.get(i).getInout()==2) {
-		    nbOfHybridIn++;
-		} else{
-		    nbOfHybridOut++;
-		}
-	    }
-	}
-
-	nbConnectingPoint = nbOfIn + nbOfOut + nbOfHybridIn + nbOfHybridOut;
-	totIn =  nbOfIn + nbOfHybridIn;
-	totOut = nbOfOut + nbOfHybridOut;
-
-        connectingPoint = new CAMSConnectingPoint[nbConnectingPoint];
-        
-	for (i = 1; i<= totIn; i++){
-	    h = i/(totIn + 1.0);
-	    if((i-1)<nbOfIn){
-		connectingPoint[i-1] = new CAMSConnectingPoint(this, 0, 0, true, false, false, 0.0, h);
-	    } else{
-		connectingPoint[i-1] = new CAMSConnectingPoint(this, 0, 0, true, false, true, 0.0, h);
-	    }
-	}
-	
-	for (i = 1; i<=totOut; i++){
-	    h = i/(totOut + 1.0);
-	    if ((i+totIn-1)<(nbOfOut + totIn)){
-		connectingPoint[i+totIn-1] = new CAMSConnectingPoint(this, 0, 0, false, true, false, 1.0, h);
-	    } else {
-		connectingPoint[i+totIn-1] = new CAMSConnectingPoint(this, 0, 0, false, true, true, 1.0, h);
-	    }
-	}
-	
-        addTGConnectingPointsComment();
-    }
-    
-     public void internalDrawing(Graphics g)  {
-	 Color c = g.getColor();
-	 g.draw3DRect(x, y, width, height, true);
-	 
-	 
-	 // Top lines
-	 g.drawLine(x, y, x + derivationx, y - derivationy);
-	 g.drawLine(x + width, y, x + width + derivationx, y - derivationy);
-	 g.drawLine(x + derivationx, y - derivationy, x + width + derivationx, y - derivationy);
-	 
-	 // Right lines
-	 g.drawLine(x + width, y + height, x + width + derivationx, y - derivationy + height);
-	 g.drawLine(x + derivationx + width, y - derivationy, x + width + derivationx, y - derivationy + height);
-	 
-	 // Filling color
-	 g.setColor(ColorManager.HWA_BOX);
-	 g.fill3DRect(x+1, y+1, width-1, height-1, true);
-	 g.setColor(c);
-	
-	 // Strings
-	 String ster = "<<" + stereotype + ">>";
-	 int w  = g.getFontMetrics().stringWidth(ster);
-	 Font f = g.getFont();
-	 g.setFont(f.deriveFont(Font.BOLD));
-	 g.drawString(ster, x + (width - w)/2, y + textY1);
-	 g.setFont(f);
-	 w  = g.getFontMetrics().stringWidth(name);
-	 g.drawString(name, x + (width - w)/2, y + textY2);
-	 
-
-	 actionOnAdd();
-     }
-    
-    public void addSignal(CAMSSignal sig){
-	mySignals.add(sig);
-    }
-    
-    public TGComponent isOnOnlyMe(int x1, int y1) {
-        return null;
-    }
-
-    public void setState(int _s){
-    }
-
-    public TGComponent isOnMe(int _x, int _y){
-        if (GraphicLib.isInRectangle(_x, _y, x, y, width, height)) {
-            return this;
-        }
-    	return null;
-    }
-    
-    public String getStereotype() {
-        return stereotype;
-        
-    }
-    
-    public boolean editOndoubleClick(JFrame frame) {
-	
-	boolean error = false;
-	String errors = "";
-	int tmp;
-	String tmpName;
-	boolean changeMade=false;
-	
-	if(dialog ==null){
-	dialog = new JDialogCAMSBlocks(this.myAttributes, this.mySignals, null, frame, "Setting Block attributes", "Attributes", this, processCode, true);
-	}
-	setJDialogOptions(dialog);
-	GraphicLib.centerOnParent(dialog, 1050, 700);
-	dialog.setVisible( true ); // blocked until dialog has been closed
-	mySignals = dialog.getSignals();
-	createConnectingPoints();
-	getBlockName();
-	setSimulationBlock();
-	
-	
-        if (error) {
-            JOptionPane.showMessageDialog(frame,
-                                          "Invalid value for the following attributes: " + errors,
-                                          "Error",
-                                          JOptionPane.INFORMATION_MESSAGE);
-            return false;
-        }
-        return true;
-    }
-
-    
-    @Override
-	public void loadExtraParam(NodeList bl, int decX, int decY, int decId) throws MalformedModelingException{
-        try {
-	    
-            NodeList bli;
-            Node b1, b2;
-            Element elt;
-            String sstereotype = null, sblockName = null;
-	    
-            for(int i=0; i<bl.getLength(); i++) {
-                b1 = bl.item(i);
-                //System.out.println(n1);
-                if (b1.getNodeType() == Node.ELEMENT_NODE) {
-                    bli = b1.getChildNodes();
-                    for(int j=0; j<bli.getLength(); j++) {
-                        b2 = bli.item(j);
-                        if (b2.getNodeType() == Node.ELEMENT_NODE) {
-                            elt = (Element) b2;
-                            if (elt.getTagName().equals("info")) {
-                                sstereotype = elt.getAttribute("stereotype");
-                                sblockName = elt.getAttribute("blockName");
-                            }
-                            if (sstereotype != null) {
-                                stereotype = sstereotype;
-                            }
-                            if (sblockName != null){
-                                name = sblockName;
-                            }
-			    
-                            if (elt.getTagName().equals("attributes")) {
-				
-                                nbOfIn = Integer.decode(elt.getAttribute("nbOfIn")).intValue();
-                                nbOfOut =Integer.decode(elt.getAttribute("nbOfOut")).intValue();
-				
-                            }
-                        }
-                    }
-                }
-            }
-        } catch (Exception e) {
-	    System.out.println("load failure");
-            throw new MalformedModelingException();
-        }
-    }
-
-    public void setSimulationBlock(){
-	SBlock.setBlockName(name);
-	SBlock.setNbOfIn(nbOfIn);
-	SBlock.setNbOfOut(nbOfOut);
-	SBlock.setNbOfHybridIn(nbOfHybridIn);
-	SBlock.setNbOfHybridOut(nbOfHybridOut);
-	SBlock.setMyAttributes(myAttributes);
-	SBlock.setMySignals(mySignals);
-	SBlock.setProcessCode(processCode);
-    }
-
-    protected void setJDialogOptions(JDialogCAMSBlocks _jdab) {
-        _jdab.addAccess(TAttribute.getStringAccess(TAttribute.PRIVATE));
-	_jdab.addAccess(TAttribute.getStringAccess(TAttribute.PUBLIC));
-        _jdab.addType(TAttribute.getStringCAMSType(TAttribute.BOOLEAN), true);
-        _jdab.addType(TAttribute.getStringCAMSType(TAttribute.DOUBLE), true);
-        _jdab.enableInitialValue(true);
-        _jdab.enableRTLOTOSKeyword(false);
-        _jdab.enableJavaKeyword(false);
-    }
-    
-    public String getAttributes() {
-        String attr = "";
-        attr += "Nb of in = " + totIn + "\n";
-        attr += "Nb of out = " + totOut + "\n";
-
-        return attr;
-    }
-
-    public int getType() {
-        return TGComponentManager.CAMS_BLOCK;
-    }
-    
-    public boolean hasBlockWithName(){
-	return true;
-    }
-    
-    public void getBlockName() {
-    	if(dialog != null) {
-    	    name = dialog.getBlockName();
-	    if (name.length()==0){
-		name = tdp.findCAMSBlockName("Block");
-		return ;
-	    }
-	    return ;
-	}
-	name = Value;
-    }
-
-    public void resetInOut(){
-	nbOfIn = 0;
-	nbOfOut= 0;
-	nbOfHybridIn = 0;
-	nbOfHybridOut= 0;
-	totIn = 0;
-	totOut= 0;
-    }
-
-    public int getNbOfIn() {
-        return totIn;
-    }
-
-    public int getNbOfOut() {
-        return totOut;
-    }
-
-   public int getNbOfHybridIn() {
-        return nbOfHybridIn;
-    }
-
-    public int getNbOfHybridOut() {
-        return nbOfHybridOut;
-    }
-
-   public int getNbOfNonHybridIn() {
-        return nbOfIn;
-    }
-
-    public int getNbOfNonHybridOut() {
-        return nbOfOut;
-    }
-        
-    public int getDefaultConnector() {
-        return TGComponentManager.CAMS_CONNECTOR;
-    }
-
-}
diff --git a/src/main/java/ui/het/CAMSBlockConnector.java b/src/main/java/ui/het/CAMSBlockConnector.java
deleted file mode 100755
index 36edcd8bc817943e4d5235292b3dd35ee622489c..0000000000000000000000000000000000000000
--- a/src/main/java/ui/het/CAMSBlockConnector.java
+++ /dev/null
@@ -1,302 +0,0 @@
-/* Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille
- * 
- * ludovic.apvrille AT enst.fr
- * 
- * This software is a computer program whose purpose is to allow the
- * edition of TURTLE analysis, design and deployment diagrams, to
- * allow the generation of RT-LOTOS or Java code from this diagram,
- * and at last to allow the analysis of formal validation traces
- * obtained from external tools, e.g. RTL from LAAS-CNRS and CADP
- * from INRIA Rhone-Alpes.
- * 
- * This software is governed by the CeCILL  license under French law and
- * abiding by the rules of distribution of free software.  You can  use,
- * modify and/ or redistribute the software under the terms of the CeCILL
- * license as circulated by CEA, CNRS and INRIA at the following URL
- * "http://www.cecill.info".
- * 
- * As a counterpart to the access to the source code and  rights to copy,
- * modify and redistribute granted by the license, users are provided only
- * with a limited warranty  and the software's author,  the holder of the
- * economic rights,  and the successive licensors  have only  limited
- * liability.
- * 
- * In this respect, the user's attention is drawn to the risks associated
- * with loading,  using,  modifying and/or developing or reproducing the
- * software by the user in light of its specific status of free software,
- * that may mean  that it is complicated to manipulate,  and  that  also
- * therefore means  that it is reserved for developers  and  experienced
- * professionals having in-depth computer knowledge. Users are therefore
- * encouraged to load and test the software's suitability as regards their
- * requirements in conditions enabling the security of their systems and/or
- * data to be ensured and,  more generally, to use and operate it in the
- * same conditions as regards security.
- * 
- * The fact that you are presently reading this means that you have had
- * knowledge of the CeCILL license and that you accept its terms.
- */
-
-
-
-
-package ui.het;
-
-import myutil.GraphicLib;
-import ui.*;
-import ui.util.IconManager;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-
-import java.awt.*;
-import java.awt.geom.Point2D;
-import java.util.Vector;
-
-
-/**
- * Class SystemCAMSConnectingPoint
- * Definition of connecting points on which attribute connectors can be connected
- * Creation: 27/06/2017
- * @version 1.0 27/06/2017
- * @author Côme Demarigny
- */
-public class CAMSBlockConnector extends  TGConnector {
-    
-    public CAMSBlockConnector(int _x, int _y, int _minX, int _minY, int _maxX, int _maxY, boolean _pos, TGComponent _father, TDiagramPanel _tdp, CAMSConnectingPoint _p1, CAMSConnectingPoint _p2, Vector<Point> _listPoint){
-	super(_x, _y,  _minX, _minY, _maxX, _maxY, _pos, _father, _tdp, _p1, _p2, _listPoint);
-        myImageIcon = IconManager.imgic202;
-
-	name = "connector";
-				_p1.setReferenceToConnector( this );
-				_p2.setReferenceToConnector( this );
-
-    }
-     
-    public int getType() {
-        return TGComponentManager.CAMS_CONNECTOR;
-    }
-    
-    protected void drawLastSegment(Graphics g, int x1, int y1, int x2, int y2){
-        if (Point2D.distance(x1, y1, x2, y2) < GraphicLib.longueur * 1.5) {
-            g.drawLine(x1, y1, x2, y2);
-        } else {
-            GraphicLib.arrowWithLine(g, 1, 0, 10, x1, y1, x2, y2, true);
-        }
-    }
-
-    // protected void drawLastSegment(Graphics g, int x1, int y1, int x2, int y2){
-    //     Point p_one;
-    //     boolean isp1;
-    //     if (getIndexOfLastTGCPointOfConnector() == -1) {
-    //         p_one = new Point(p1.getX(), p1.getY());
-    //         isp1 = true;
-    //     } else {
-    //         TGComponent tmpc = tgcomponent[getIndexOfLastTGCPointOfConnector()];
-    //         p_one = new Point(tmpc.getX(), tmpc.getY());
-    //         isp1 = false;
-    //     }
-	
-    //     //g.drawLine(x1, y1, x2, y2);
-    //     Color col = g.getColor();
-    //     int cz = (int)(tdp.getZoom() * c);
-    //     if (isAsynchronous()) {
-    //         g.setColor(Color.WHITE);
-    //     }
-    //     g.fillRect(x2-(cz/2), y2-(cz/2), cz, cz);
-    //     g.fillRect(p1.getX()-(cz/2), p1.getY()-(cz/2), cz, cz);
-    //     g.setColor(col);
-    //     if (isAsynchronous()) {
-    //         g.drawRect(x2-(cz/2), y2-(cz/2), cz, cz);
-    //         g.drawRect(p1.getX()-(cz/2), p1.getY()-(cz/2), cz, cz);
-    //         if (isBlocking()) {
-    //             g.drawLine(x2-(cz/2), y2-(cz/2), x2-(cz/2)+cz, y2-(cz/2)+cz);
-    //             g.drawLine(x2-(cz/2), y2-(cz/2)+cz, x2-(cz/2)+cz, y2-(cz/2));
-    //             g.drawLine(p1.getX()-(cz/2), p1.getY()+(cz/2), p1.getX()+(cz/2), p1.getY()-(cz/2));
-    //             g.drawLine(p1.getX()-(cz/2), p1.getY()-(cz/2), p1.getX()+(cz/2), p1.getY()+(cz/2));
-    //         }
-    //     }
-
-
-    // 	if (!isPrivate() /*&& !isAsynchronous()*/) {
-    // 	    int czz = (int)(cz*1.4);
-    // 	    int x3 = p1.getX();
-    // 	    int y3 = p1.getY();
-
-    // 	    Polygon p1 = new Polygon();
-    // 	    p1.addPoint(x2-(czz/2)+czz, y2-cz);
-    // 	    p1.addPoint(x2+(czz/2)+czz, y2-cz);
-    // 	    p1.addPoint(x2+czz, y2-(2*czz));
-
-    // 	    Polygon p2 = new Polygon();
-    // 	    p2.addPoint(x3-(czz/2)+czz, y3-cz);
-    // 	    p2.addPoint(x3+(czz/2)+czz, y3-cz);
-    // 	    p2.addPoint(x3+czz, y3-(2*czz));
-
-    // 	    // Adding illuminatis sign at the end
-    // 	    g.setColor(Color.WHITE);
-    // 	    g.fillPolygon(p1);
-    // 	    g.fillPolygon(p2);
-
-    // 	    g.setColor(col);
-    // 	    g.drawPolygon(p1);
-    // 	    g.drawPolygon(p2);
-    // 	    g.drawOval(x2+czz-4, y2-cz-7, 8, 6); 
-    // 	    g.drawOval(x3+czz-4, y3-cz-7, 8, 6); 
-    // 	    g.fillOval(x2+czz-2, y2-cz-6, 5, 4); 
-    // 	    g.fillOval(x3+czz-2, y3-cz-6, 5, 4); 	    
-	    
-    // 	}
-
-
-    //     Point p11;
-    //     if (isp1) {
-    //         p11 = GraphicLib.intersectionRectangleSegment(p1.getX()-(cz/2), p1.getY()-(cz/2), cz, cz, x1, y1, x2, y2);
-    //     } else {
-    //         p11 = new Point(p_one.x, p_one.y);
-    //     }
-    //     if (p11 == null) {
-    //         p11 = new Point(p1.getX(), p1.getY());
-    //         //System.out.println("null point");
-    //     }
-    //     Point p22 = GraphicLib.intersectionRectangleSegment(x2-(cz/2), y2-(cz/2), cz, cz, x1, y1, x2, y2);
-    //     if (p22 == null) {
-    //         p22 = new Point(p2.getX(), p2.getY());
-    //         //System.out.println("null point");
-    //     }
-
-    //     g.drawLine(p11.x, p11.y, p22.x, p22.y);
-
-    //     Font f = g.getFont();
-    //     Font fold = f;
-    //     f = f.deriveFont((float)fontSize);
-    //     g.setFont(f);
-    //     int h = - decY;
-    //     int step = fontSize + 1;
-    //     int w;
-    //     String s;
-
-
-    //     if (((g.getColor() == ColorManager.POINTER_ON_ME_0) && (tdp.getAttributeState() == tdp.PARTIAL)) || (tdp.getAttributeState() == tdp.FULL)) {
-    //         // Signals at origin
-    //         if (inSignalsAtOrigin.size() > 0) {
-    //             //g.drawString("in:", p1.getX() + decX, p1.getY() + h);
-    //             for(String iso: inSignalsAtOrigin) {
-    //                 h += step;
-    //                 s = getShortName(iso);
-    //                 if (p1.getX() <= p2.getX()) {
-    //                     g.drawString(s, p1.getX() + decX, p1.getY() + h);
-    //                 } else {
-    //                     w = g.getFontMetrics().stringWidth(s);
-    //                     g.drawString(s, p1.getX() - decX - w, p1.getY() + h);
-    //                 }
-    //             }
-    //         }
-    //         if (outSignalsAtOrigin.size() > 0) {
-    //             //h += step;
-    //             //g.drawString("out:", p1.getX() + decX, p1.getY() + h);
-    //             for(String oso: outSignalsAtOrigin) {
-    //                 h += step;
-    //                 s = getShortName(oso);
-    //                 if (p1.getX() <= p2.getX()) {
-    //                     g.drawString(s, p1.getX() + decX, p1.getY() + h);
-    //                 } else {
-    //                     w = g.getFontMetrics().stringWidth(s);
-    //                     g.drawString(s, p1.getX() - decX - w, p1.getY() + h);
-    //                 }
-    //             }
-    //         }
-    //         // Signals at destination
-    //         h = - decY;
-    //         if (outSignalsAtDestination.size() > 0) {
-    //             //h += step;
-    //             //g.drawString("out:", p2.getX() + decX, p2.getY() + h);
-    //             for(String osd: outSignalsAtDestination) {
-    //                 h += step;
-    //                 s = getShortName(osd);
-    //                 if (p1.getX() > p2.getX()) {
-    //                     g.drawString(s, p2.getX() + decX, p2.getY() + h);
-    //                 } else {
-    //                     w = g.getFontMetrics().stringWidth(s);
-    //                     g.drawString(s, p2.getX() - decX - w, p2.getY() + h);
-    //                 }
-    //             }
-    //         }
-    //         if (inSignalsAtDestination.size() > 0) {
-    //             //g.drawString("in:", p2.getX() + decX, p2.getY() + h);
-    //             for(String isd: inSignalsAtDestination) {
-    //                 h += step;
-    //                 s = getShortName(isd);
-    //                 if (p1.getX() > p2.getX()) {
-    //                     g.drawString(s, p2.getX() + decX, p2.getY() + h);
-    //                 } else {
-    //                     w = g.getFontMetrics().stringWidth(s);
-    //                     g.drawString(s, p2.getX() - decX - w, p2.getY() + h);
-    //                 }
-    //             }
-    //         }
-    //     }
-
-    //     g.setFont(fold);
-
-    //     /*if (value.length() > 0) {
-    //       Font f = g.getFont();
-    //       if (tdp.getZoom() < 1) {
-    //       Font f0 =  f.deriveFont((float)(fontSize*tdp.getZoom()));
-    //       g.setFont(f0);
-    //       }
-    //       g.drawString(value, x2-(cz/2), y2-(cz/2)-1);
-    //       g.setFont(f);
-    //       }*/
-
-    //     // Animation?
-    //     if ((TDiagramPanel.AVATAR_ANIMATE_ON) && (isAsynchronous())){
-    //         //TraceManager.addDev("anim port connector: " + this);
-    //         String messageInformation[] = tdp.getMGUI().hasMessageInformationForAvatarConnector(this);
-    //         if (messageInformation != null) {
-    //             if (messageInformation[0] != null) {
-    //                 g.setColor(Color.BLUE);
-    //                 g.drawString(messageInformation[0], p1.getX() + decX, p1.getY());
-    //             }
-    //             if (messageInformation[1] != null) {
-    //                 g.setColor(Color.BLUE);
-    //                 g.drawString(messageInformation[1], p2.getX() + decX, p2.getY());
-    //             }
-    //             g.setColor(Color.BLACK);
-    //         }
-    //     }
-    // }
-
-    @Override
-    public void loadExtraParam(NodeList nl, int decX, int decY, int decId) throws MalformedModelingException{
-        //System.out.println("*** load extra synchro ***");
-        try {
-
-            NodeList nli;
-            Node n1, n2;
-            Element elt;
-            //int t1id;
-            String tmp = null;
-
-            for(int i=0; i<nl.getLength(); i++) {
-                n1 = nl.item(i);
-                //System.out.println(n1);
-                if (n1.getNodeType() == Node.ELEMENT_NODE) {
-                    nli = n1.getChildNodes();
-
-                    // Issue #17 copy-paste error on j index
-                    for(int j=0; j<nli.getLength(); j++) {
-                        n2 = nli.item(j);
-                        //System.out.println(n2);
-                        if (n2.getNodeType() == Node.ELEMENT_NODE) {
-                            elt = (Element) n2;
-                        }
-                    }
-                }
-            }
-
-        } catch (Exception e) {
-            throw new MalformedModelingException();
-        }
-    }
-    
-} //class
diff --git a/src/main/java/ui/het/CAMSBlockDiagramPanel.java b/src/main/java/ui/het/CAMSBlockDiagramPanel.java
deleted file mode 100755
index b00ae26c6af890492710c3841dc5df1dada4b84c..0000000000000000000000000000000000000000
--- a/src/main/java/ui/het/CAMSBlockDiagramPanel.java
+++ /dev/null
@@ -1,217 +0,0 @@
-/* Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille, Andrea Enrici
- * 
- * ludovic.apvrille AT enst.fr
- * andrea.enrici AT enst.fr
- * 
- * This software is a computer program whose purpose is to allow the
- * edition of TURTLE analysis, design and deployment diagrams, to
- * allow the generation of RT-LOTOS or Java code from this diagram,
- * and at last to allow the analysis of formal validation traces
- * obtained from external tools, e.g. RTL from LAAS-CNRS and CADP
- * from INRIA Rhone-Alpes.
- * 
- * This software is governed by the CeCILL  license under French law and
- * abiding by the rules of distribution of free software.  You can  use,
- * modify and/ or redistribute the software under the terms of the CeCILL
- * license as circulated by CEA, CNRS and INRIA at the following URL
- * "http://www.cecill.info".
- * 
- * As a counterpart to the access to the source code and  rights to copy,
- * modify and redistribute granted by the license, users are provided only
- * with a limited warranty  and the software's author,  the holder of the
- * economic rights,  and the successive licensors  have only  limited
- * liability.
- * 
- * In this respect, the user's attention is drawn to the risks associated
- * with loading,  using,  modifying and/or developing or reproducing the
- * software by the user in light of its specific status of free software,
- * that may mean  that it is complicated to manipulate,  and  that  also
- * therefore means  that it is reserved for developers  and  experienced
- * professionals having in-depth computer knowledge. Users are therefore
- * encouraged to load and test the software's suitability as regards their
- * requirements in conditions enabling the security of their systems and/or
- * data to be ensured and,  more generally, to use and operate it in the
- * same conditions as regards security.
- * 
- * The fact that you are presently reading this means that you have had
- * knowledge of the CeCILL license and that you accept its terms.
- */
-
-
-
-
-package ui.het;
-
-
-import myutil.TraceManager;
-import org.w3c.dom.Element;
-import ui.*;
-
-import java.util.*;
-
-/**
-   * Class CAMSBlockDiagramPanel
-   * Panel for drawing TML Blocks
-   * Creation: 26/06/2017
-   * @version 1.0 26/06/2017
-   * @author Côme DEMARIGNY
- */
-public class CAMSBlockDiagramPanel extends TDiagramPanel implements TDPWithAttributes {
-
-    public  CAMSBlockDiagramPanel(MainGUI mgui, TToolBar _ttb) {
-        super(mgui, _ttb);
-    }
-
-    public void initFromDiplodocus(){
-	TGComponentManager.addComponent(100,100,TGComponentManager.CAMS_BLOCK,this);
-	TGComponentManager.addComponent(600,100,TGComponentManager.CAMS_BLOCK,this);
-    }
-
-    public boolean actionOnDoubleClick(TGComponent tgc) {
-        /*if (tgc instanceof TCDTClass) {
-            TCDTClass t = (TCDTClass)tgc;
-            return mgui.newTClassName(tp, t.oldValue, t.getValue());
-        } else if (tgc instanceof TCDActivityDiagramBox) {
-            if (tgc.getFather() instanceof TCDTClass) {
-                mgui.selectTab(tp, tgc.getFather().getValue());
-            } else if (tgc.getFather() instanceof TCDTObject) {
-                TCDTObject to = (TCDTObject)(tgc.getFather());
-                TCDTClass t = to.getMasterTClass();
-                if (t != null) {
-                    mgui.selectTab(tp, t.getValue());
-                }
-            }
-            return false; // because no change made on any diagram
-	    }*/
-         return false;
-     }
-
-     public boolean actionOnAdd(TGComponent tgc) {
-          return false;
-      }
-
-     public boolean actionOnRemove(TGComponent tgc) {
-         return false;
-     }
-
-    public boolean actionOnValueChanged(TGComponent tgc) {
-        return false;
-    }
-
-	public void setConnectorsToFront() {
-		TGComponent tgc;
-		
-		//System.out.println("list size=" + componentList.size());
-		
-        Iterator iterator = componentList.listIterator();
-        
-		ArrayList<TGComponent> list = new ArrayList<TGComponent>();
-		
-        while(iterator.hasNext()) {
-            tgc = (TGComponent)(iterator.next());
-			if (!(tgc instanceof TGConnector)) {
-				list.add(tgc);
-			}
-		}
-		
-		//System.out.println("Putting to back ...");
-		for(TGComponent tgc1: list) {
-			//System.out.println("Putting to back: " + tgc1);
-			componentList.remove(tgc1);
-			componentList.add(tgc1);
-		}
-	}
-
-    public String getXMLHead() {
-        return "<CAMSBlockDiagramPanel name=\"" + name + "\"" + sizeParam() + displayParam() + zoomParam() +" >";
-    }
-
-    public String getXMLTail() {
-        return "</CAMSBlockDiagramPanel>";
-    }
-
-    public String getXMLSelectedHead() {
-        return "<CAMSBlockDiagramPanelCopy name=\"" + name + "\" xSel=\"" + xSel + "\" ySel=\"" + ySel + "\" widthSel=\"" + widthSel + "\" heightSel=\"" + heightSel + "\" >";
-    }
-
-    public String getXMLSelectedTail() {
-        return "</CAMSBlockDiagramPanelCopy>";
-    }
-
-    public String getXMLCloneHead() {
-        return "<CAMSBlockDiagramPanelCopy name=\"" + name + "\" xSel=\"" + 0 + "\" ySel=\"" + 0 + "\" widthSel=\"" + 0 + "\" heightSel=\"" + 0 + "\" >";
-    }
-
-    public String getXMLCloneTail() {
-        return "</CAMSBlockDiagramPanelCopy>";
-    }
-
-
-
-    public boolean areAttributesVisible() {
-        return attributesVisible;
-    }
-
-
-    public boolean areChannelVisible() {
-        return synchroVisible;
-    }
-
-    public void setAttributesVisible(boolean b) {
-        attributesVisible = b;
-    }
-
-
-    public void setChannelVisible(boolean b) {
-        channelVisible = b;
-    }
-
-    public String displayParam() {
-        String s = "";
-        if (channelsVisible) {
-            s += " channels=\"true\"";
-        } else {
-            s += " channels=\"false\"";
-        }
-        if (eventsVisible) {
-            s += " events=\"true\"";
-        } else {
-            s += " events=\"false\"";
-        }
-        if (requestsVisible) {
-            s += " requests=\"true\"";
-        } else {
-            s += " requests=\"false\"";
-        }
-
-        return s;
-    }
-
-    public boolean areAllVisible() {
-        return channelsVisible && eventsVisible && requestsVisible;
-    }
-
-    public boolean areChannelsVisible() {
-        return channelsVisible;
-    }
-
-    public boolean areEventsVisible() {
-        return eventsVisible;
-    }
-
-    public boolean areRequestsVisible() {
-        return requestsVisible;
-    }
-
-    public void setChannelsVisible(boolean b) {
-        channelsVisible = b;
-    }
-
-    public void setEventsVisible(boolean b) {
-        eventsVisible = b;
-    }
-
-    public void setRequestsVisible(boolean b) {
-        requestsVisible = b;
-    }
-}
diff --git a/src/main/java/ui/het/CAMSBlockDiagramToolBar.java b/src/main/java/ui/het/CAMSBlockDiagramToolBar.java
deleted file mode 100755
index 993669fd52105317a60f42e93a515ea6a5ac23c3..0000000000000000000000000000000000000000
--- a/src/main/java/ui/het/CAMSBlockDiagramToolBar.java
+++ /dev/null
@@ -1,134 +0,0 @@
-/* Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille
- * 
- * ludovic.apvrille AT enst.fr
- * 
- * This software is a computer program whose purpose is to allow the
- * edition of TURTLE analysis, design and deployment diagrams, to
- * allow the generation of RT-LOTOS or Java code from this diagram,
- * and at last to allow the analysis of formal validation traces
- * obtained from external tools, e.g. RTL from LAAS-CNRS and CADP
- * from INRIA Rhone-Alpes.
- * 
- * This software is governed by the CeCILL  license under French law and
- * abiding by the rules of distribution of free software.  You can  use,
- * modify and/ or redistribute the software under the terms of the CeCILL
- * license as circulated by CEA, CNRS and INRIA at the following URL
- * "http://www.cecill.info".
- * 
- * As a counterpart to the access to the source code and  rights to copy,
- * modify and redistribute granted by the license, users are provided only
- * with a limited warranty  and the software's author,  the holder of the
- * economic rights,  and the successive licensors  have only  limited
- * liability.
- * 
- * In this respect, the user's attention is drawn to the risks associated
- * with loading,  using,  modifying and/or developing or reproducing the
- * software by the user in light of its specific status of free software,
- * that may mean  that it is complicated to manipulate,  and  that  also
- * therefore means  that it is reserved for developers  and  experienced
- * professionals having in-depth computer knowledge. Users are therefore
- * encouraged to load and test the software's suitability as regards their
- * requirements in conditions enabling the security of their systems and/or
- * data to be ensured and,  more generally, to use and operate it in the
- * same conditions as regards security.
- * 
- * The fact that you are presently reading this means that you have had
- * knowledge of the CeCILL license and that you accept its terms.
- */
-
-
-
-
-package ui.het;
-
-import ui.MainGUI;
-import ui.TGUIAction;
-import ui.TToolBar;
-
-import javax.swing.*;
-
-/**
- * Class TMLTaskDiagramToolBar
- * Implements the toolbar to be used in conjunction with the panel of a TMLTask diagram
- * Creation: 26/06/2017
- * @version 1.0 26/06/2017
- * @author Côme DEMARIGNY
- * @see TMLBlockDiagramToolbar
- */
-public class CAMSBlockDiagramToolBar extends TToolBar {
-    
-    public CAMSBlockDiagramToolBar(MainGUI _mgui) {
-        super(_mgui);
-        
-    }
-    
-    protected void setActive(boolean b) {
-         mgui.actions[TGUIAction.CAMS_EDIT].setEnabled(b);
-         mgui.actions[TGUIAction.UML_NOTE].setEnabled(b);
-	 mgui.actions[TGUIAction.CAMS_BLOCK].setEnabled(b);
-         mgui.actions[TGUIAction.CAMS_CONNECTOR].setEnabled(b);
-		
-	 mgui.actions[TGUIAction.ACT_ZOOM_MORE].setEnabled(true);
-	 mgui.actions[TGUIAction.ACT_ZOOM_LESS].setEnabled(true);
-	 mgui.actions[TGUIAction.ACT_SHOW_ZOOM].setEnabled(true);
-	 
-	 mgui.actions[TGUIAction.ACT_MODEL_CHECKING].setEnabled(b);
-	 mgui.actions[TGUIAction.ACT_ONECLICK_LOTOS_RG].setEnabled(b);
-	 mgui.actions[TGUIAction.ACT_SIMU_SYSTEMC].setEnabled(b);
-	 
-	 mgui.updateZoomInfo();
-     }
-    
-    protected void setButtons() {
-        JButton button;
-        
-        button = this.add(mgui.actions[TGUIAction.CAMS_EDIT]);
-        button.addMouseListener(mgui.mouseHandler);
-        
-        this.addSeparator();
-        
-        button = this.add(mgui.actions[TGUIAction.UML_NOTE]);
-        button.addMouseListener(mgui.mouseHandler);
-        
-        this.addSeparator();
-
-        button = this.add(mgui.actions[TGUIAction.CAMS_BLOCK]);
-        button.addMouseListener(mgui.mouseHandler);
-        
-        // button = this.add(mgui.actions[TGUIAction.TMLTD_ASSOC]);
-        // button.addMouseListener(mgui.mouseHandler);
-        
-	button = this.add(mgui.actions[TGUIAction.CAMS_CONNECTOR]);
-        button.addMouseListener(mgui.mouseHandler);
-        
-        // this.addSeparator();
-        
-        // button = this.add(mgui.actions[TGUIAction.TMLTD_TASK]);
-        // button.addMouseListener(mgui.mouseHandler);
-       
-        
-        // this.addSeparator();
-        
-        // button = this.add(mgui.actions[TGUIAction.TMLTD_CHANNEL]);
-        // button.addMouseListener(mgui.mouseHandler);
-        
-        // button = this.add(mgui.actions[TGUIAction.TMLTD_EVENT]);
-        // button.addMouseListener(mgui.mouseHandler);
-        
-        // button = this.add(mgui.actions[TGUIAction.TMLTD_REQ]);
-        // button.addMouseListener(mgui.mouseHandler);
-        
-		 
-	 this.addSeparator();
-		
-	// 	button = this.add(mgui.actions[TGUIAction.ACT_TOGGLE_DIPLO_ID]);
-        // button.addMouseListener(mgui.mouseHandler);
-        
-    }
-    
-} // Class
-
-
-
-
-
diff --git a/src/main/java/ui/het/CAMSConnectingPoint.java b/src/main/java/ui/het/CAMSConnectingPoint.java
deleted file mode 100755
index 7839f4d2d9577949633ba47f9f1dfea748b11e29..0000000000000000000000000000000000000000
--- a/src/main/java/ui/het/CAMSConnectingPoint.java
+++ /dev/null
@@ -1,173 +0,0 @@
-/* Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille
- * 
- * ludovic.apvrille AT enst.fr
- * 
- * This software is a computer program whose purpose is to allow the
- * edition of TURTLE analysis, design and deployment diagrams, to
- * allow the generation of RT-LOTOS or Java code from this diagram,
- * and at last to allow the analysis of formal validation traces
- * obtained from external tools, e.g. RTL from LAAS-CNRS and CADP
- * from INRIA Rhone-Alpes.
- * 
- * This software is governed by the CeCILL  license under French law and
- * abiding by the rules of distribution of free software.  You can  use,
- * modify and/ or redistribute the software under the terms of the CeCILL
- * license as circulated by CEA, CNRS and INRIA at the following URL
- * "http://www.cecill.info".
- * 
- * As a counterpart to the access to the source code and  rights to copy,
- * modify and redistribute granted by the license, users are provided only
- * with a limited warranty  and the software's author,  the holder of the
- * economic rights,  and the successive licensors  have only  limited
- * liability.
- * 
- * In this respect, the user's attention is drawn to the risks associated
- * with loading,  using,  modifying and/or developing or reproducing the
- * software by the user in light of its specific status of free software,
- * that may mean  that it is complicated to manipulate,  and  that  also
- * therefore means  that it is reserved for developers  and  experienced
- * professionals having in-depth computer knowledge. Users are therefore
- * encouraged to load and test the software's suitability as regards their
- * requirements in conditions enabling the security of their systems and/or
- * data to be ensured and,  more generally, to use and operate it in the
- * same conditions as regards security.
- * 
- * The fact that you are presently reading this means that you have had
- * knowledge of the CeCILL license and that you accept its terms.
- */
-
-
-
-
-package ui.het;
-
-import myutil.GraphicLib;
-import ui.*;
-import ui.window.JDialogCAMSConnectingPoint;
-
-import java.awt.*;
-import java.awt.event.ActionEvent;
-import java.awt.event.ActionListener;
-import java.awt.geom.Point2D;
-import javax.swing.*;
-import java.util.Vector;
-
-
-/**
- * Class SystemCAMSConnectingPoint
- * Definition of connecting points on which attribute connectors can be connected
- * Creation: 27/06/2017
- * @version 1.0 27/06/2017
- * @author Côme Demarigny
- */
-public class CAMSConnectingPoint extends TGConnectingPointWidthHeight {
-    
-    protected int x, y; // relative cd and center of the point
-    protected int state;
-    protected CDElement container;
-    private boolean free = true;
-    protected boolean editable= true;
-
-    private int id;
-
-    protected TGConnectingPointGroup cpg;
-
-    public String type, rate, ccpName = "Connection";
-
-    protected boolean in;
-    protected boolean out;
-    protected boolean hybrid;
-
-    public JDialogCAMSConnectingPoint dialog;
-
-    protected Color myColor;
-
-    protected static final Color IN = Color.gray;
-    protected static final Color OUT = Color.black;
-    protected static final Color INOUT = Color.red;
-    protected static final Color NO = Color.white;
-
-
-    protected TGConnector referenceToConnector;
-
-    public CAMSConnectingPoint (CDElement _container, int _x, int _y, boolean _in, boolean _out,boolean _hybrid, double _w, double _h) {
-	super(_container, _x, _y, _in, _out, _w, _h);
-	hybrid = _hybrid;
-	
-	//color selection
-	if (_in) {
-	    if (_out) {
-		myColor = INOUT;
-	    } else {
-		myColor = IN;
-	    }
-	} else {
-	    if (_out) {
-		myColor = OUT;
-            } else {
-		myColor = NO;
-	    }
-	}	    
-
-        id = TGComponent.getGeneralId();
-        TGComponent.setGeneralId(id + 1);
-
-    }
-
-    // public CAMSConnectingPoint (CDElement _container, int _x, int _y, boolean _in, boolean _out, double _w, double _h) {
-    // 	super(_container, _x, _y, _in, _out, _w, _h);
-    // 	CAMSConnectingPoint camsco = new CAMSConnectingPoint (_container, _x, _y, _in, _out, false, _w, _h);
-    // }
-      
-    public void draw(Graphics g) {
-        int mx = getX();
-        int my = getY();
-	g.setColor(myColor);
-
-	//taking into account hybrid connectors
-	if(this.hybrid==false){
-	    g.fillRect(mx - width, my - width, width*2, height*2);
-	}else if (this.in==true){
-	    System.out.println("test");
-	    g.setColor(Color.white);
-	    g.fillRect(mx - width, my - width, width*2, height*2);
-	    g.setColor(myColor);
-	    g.fillRect(mx - width, my - width, width, height*2);
-	}else {
-	    g.setColor(Color.white);
-	    g.fillRect(mx - width, my - width, width*2, height*2);
-	    g.setColor(myColor);
-	    g.fillRect(mx - width, my - width, width, height*2);
-	}
-
-	GraphicLib.doubleColorRect(g, mx - width, my - width, width*2, height*2, Color.white, Color.black);
-    }
-    
-    public boolean editOndoubleClick(JFrame frame) {
-	
-	if(dialog == null){
-	    dialog = new JDialogCAMSConnectingPoint(frame, "Setting connector attributes", this);
-	}
-	dialog.setSize(350, 300);
-        GraphicLib.centerOnParent(dialog);
-        dialog.setVisible(true); // blocked until dialog has been closed
-        
-	if (!dialog.isRegularClose()) {
-	    return false;
-	}		
-	return true;
-    }
-
-    public String getccpName() {
-	return ccpName;
-    }
-    
-    public String getPointType() {
-	return type;
-    }
-    
-    public String getRate() {
-	return rate;
-    }       
-    
-} //class
diff --git a/src/main/java/ui/interactivesimulation/BenchmarkCommandsToolBar.java b/src/main/java/ui/interactivesimulation/BenchmarkCommandsToolBar.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/interactivesimulation/BusTableModel.java b/src/main/java/ui/interactivesimulation/BusTableModel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/interactivesimulation/CPUTableModel.java b/src/main/java/ui/interactivesimulation/CPUTableModel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/interactivesimulation/FormalVerificationToolBar.java b/src/main/java/ui/interactivesimulation/FormalVerificationToolBar.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/interactivesimulation/GenericTransaction.java b/src/main/java/ui/interactivesimulation/GenericTransaction.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/interactivesimulation/InteractiveSimulationActions.java b/src/main/java/ui/interactivesimulation/InteractiveSimulationActions.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/interactivesimulation/JFrameInteractiveSimulation.java b/src/main/java/ui/interactivesimulation/JFrameInteractiveSimulation.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/interactivesimulation/JFrameSimulationSDPanel.java b/src/main/java/ui/interactivesimulation/JFrameSimulationSDPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/interactivesimulation/JPanelBreakPoints.java b/src/main/java/ui/interactivesimulation/JPanelBreakPoints.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/interactivesimulation/JPanelSetVariables.java b/src/main/java/ui/interactivesimulation/JPanelSetVariables.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/interactivesimulation/JPanelTransactions.java b/src/main/java/ui/interactivesimulation/JPanelTransactions.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/interactivesimulation/LatencyTableModel.java b/src/main/java/ui/interactivesimulation/LatencyTableModel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/interactivesimulation/MainCommandsToolBar.java b/src/main/java/ui/interactivesimulation/MainCommandsToolBar.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/interactivesimulation/MemTableModel.java b/src/main/java/ui/interactivesimulation/MemTableModel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/interactivesimulation/SaveCommandsToolBar.java b/src/main/java/ui/interactivesimulation/SaveCommandsToolBar.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/interactivesimulation/SimulationTransaction.java b/src/main/java/ui/interactivesimulation/SimulationTransaction.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/interactivesimulation/StateCommandsToolBar.java b/src/main/java/ui/interactivesimulation/StateCommandsToolBar.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/interactivesimulation/TaskTableModel.java b/src/main/java/ui/interactivesimulation/TaskTableModel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/interactivesimulation/TaskVariableTableModel.java b/src/main/java/ui/interactivesimulation/TaskVariableTableModel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/interactivesimulation/TransactionTableModel.java b/src/main/java/ui/interactivesimulation/TransactionTableModel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/iod/IODChoice.java b/src/main/java/ui/iod/IODChoice.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/iod/IODJunction.java b/src/main/java/ui/iod/IODJunction.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/iod/IODParallel.java b/src/main/java/ui/iod/IODParallel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/iod/IODPreemption.java b/src/main/java/ui/iod/IODPreemption.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/iod/IODRefIOD.java b/src/main/java/ui/iod/IODRefIOD.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/iod/IODRefSD.java b/src/main/java/ui/iod/IODRefSD.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/iod/IODSequence.java b/src/main/java/ui/iod/IODSequence.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/iod/IODStartState.java b/src/main/java/ui/iod/IODStartState.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/iod/IODStopState.java b/src/main/java/ui/iod/IODStopState.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/iod/InteractionOverviewDiagramPanel.java b/src/main/java/ui/iod/InteractionOverviewDiagramPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/iod/InteractionOverviewDiagramToolBar.java b/src/main/java/ui/iod/InteractionOverviewDiagramToolBar.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/iod/TGConnectingPointIOD.java b/src/main/java/ui/iod/TGConnectingPointIOD.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/iod/TGConnectorInteraction.java b/src/main/java/ui/iod/TGConnectorInteraction.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ncdd/NCConnectorNode.java b/src/main/java/ui/ncdd/NCConnectorNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ncdd/NCDiagramPanel.java b/src/main/java/ui/ncdd/NCDiagramPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ncdd/NCDiagramToolBar.java b/src/main/java/ui/ncdd/NCDiagramToolBar.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ncdd/NCEqNode.java b/src/main/java/ui/ncdd/NCEqNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ncdd/NCNodeConnectingPoint.java b/src/main/java/ui/ncdd/NCNodeConnectingPoint.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ncdd/NCRoute.java b/src/main/java/ui/ncdd/NCRoute.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ncdd/NCRouteArtifact.java b/src/main/java/ui/ncdd/NCRouteArtifact.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ncdd/NCSwitchNode.java b/src/main/java/ui/ncdd/NCSwitchNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ncdd/NCTrafficArtifact.java b/src/main/java/ui/ncdd/NCTrafficArtifact.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/osad/TOSADActionState.java b/src/main/java/ui/osad/TOSADActionState.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/osad/TOSADChoice.java b/src/main/java/ui/osad/TOSADChoice.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/osad/TOSADConnectingPoint.java b/src/main/java/ui/osad/TOSADConnectingPoint.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/osad/TOSADConnector.java b/src/main/java/ui/osad/TOSADConnector.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/osad/TOSADIntTimeInterval.java b/src/main/java/ui/osad/TOSADIntTimeInterval.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/osad/TOSADJunction.java b/src/main/java/ui/osad/TOSADJunction.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/osad/TOSADStartState.java b/src/main/java/ui/osad/TOSADStartState.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/osad/TOSADStopState.java b/src/main/java/ui/osad/TOSADStopState.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/osad/TOSADTimeInterval.java b/src/main/java/ui/osad/TOSADTimeInterval.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/osad/TURTLEOSActivityDiagramPanel.java b/src/main/java/ui/osad/TURTLEOSActivityDiagramPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/osad/TURTLEOSActivityDiagramToolBar.java b/src/main/java/ui/osad/TURTLEOSActivityDiagramToolBar.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/oscd/TGCTOSAttributeBox.java b/src/main/java/ui/oscd/TGCTOSAttributeBox.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/oscd/TGConnectingPointTOSAssociation.java b/src/main/java/ui/oscd/TGConnectingPointTOSAssociation.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/oscd/TGConnectingPointTOSClasses.java b/src/main/java/ui/oscd/TGConnectingPointTOSClasses.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/oscd/TGConnectingPointTOSCompositionOperator.java b/src/main/java/ui/oscd/TGConnectingPointTOSCompositionOperator.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/oscd/TOSCDActivityDiagramBox.java b/src/main/java/ui/oscd/TOSCDActivityDiagramBox.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/oscd/TOSCDAttributeBox.java b/src/main/java/ui/oscd/TOSCDAttributeBox.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/oscd/TOSCDAttributeGateBox.java b/src/main/java/ui/oscd/TOSCDAttributeGateBox.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/oscd/TOSCDOperationBox.java b/src/main/java/ui/oscd/TOSCDOperationBox.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/oscd/TOSCallInfo.java b/src/main/java/ui/oscd/TOSCallInfo.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/oscd/TOSCallOperator.java b/src/main/java/ui/oscd/TOSCallOperator.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/oscd/TOSClass.java b/src/main/java/ui/oscd/TOSClass.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/oscd/TOSCompositionOperator.java b/src/main/java/ui/oscd/TOSCompositionOperator.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/oscd/TOSConnectorAssociation.java b/src/main/java/ui/oscd/TOSConnectorAssociation.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/oscd/TOSConnectorAssociationWithNavigation.java b/src/main/java/ui/oscd/TOSConnectorAssociationWithNavigation.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/oscd/TOSConnectorCompositionOperator.java b/src/main/java/ui/oscd/TOSConnectorCompositionOperator.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/oscd/TOSEvtInfo.java b/src/main/java/ui/oscd/TOSEvtInfo.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/oscd/TOSEvtOperator.java b/src/main/java/ui/oscd/TOSEvtOperator.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/oscd/TURTLEOSClassDiagramPanel.java b/src/main/java/ui/oscd/TURTLEOSClassDiagramPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/oscd/TURTLEOSClassDiagramToolBar.java b/src/main/java/ui/oscd/TURTLEOSClassDiagramToolBar.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/procsd/ProCSDComponent.java b/src/main/java/ui/procsd/ProCSDComponent.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/procsd/ProactiveCSDPanel.java b/src/main/java/ui/procsd/ProactiveCSDPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/procsd/ProactiveCSDToolBar.java b/src/main/java/ui/procsd/ProactiveCSDToolBar.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/procsd/TGConnectingPointAssociationProCSD.java b/src/main/java/ui/procsd/TGConnectingPointAssociationProCSD.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/prosmd/ProSMDGetMsg.java b/src/main/java/ui/prosmd/ProSMDGetMsg.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/prosmd/ProSMDSendMsg.java b/src/main/java/ui/prosmd/ProSMDSendMsg.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/prosmd/ProSMDStartState.java b/src/main/java/ui/prosmd/ProSMDStartState.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/prosmd/ProSMDStopState.java b/src/main/java/ui/prosmd/ProSMDStopState.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/prosmd/ProactiveSMDPanel.java b/src/main/java/ui/prosmd/ProactiveSMDPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/prosmd/ProactiveSMDToolBar.java b/src/main/java/ui/prosmd/ProactiveSMDToolBar.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/prosmd/TGConnectingPointProSMD.java b/src/main/java/ui/prosmd/TGConnectingPointProSMD.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/prosmd/TGConnectorProSMD.java b/src/main/java/ui/prosmd/TGConnectorProSMD.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/req/EBRDDObserver.java b/src/main/java/ui/req/EBRDDObserver.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/req/Requirement.java b/src/main/java/ui/req/Requirement.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/req/RequirementDiagramPanel.java b/src/main/java/ui/req/RequirementDiagramPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/req/RequirementDiagramToolBar.java b/src/main/java/ui/req/RequirementDiagramToolBar.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/req/RequirementObserver.java b/src/main/java/ui/req/RequirementObserver.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/req/TAttributeObserver.java b/src/main/java/ui/req/TAttributeObserver.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/req/TAttributeRequirement.java b/src/main/java/ui/req/TAttributeRequirement.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/req/TGConnectingPointDerive.java b/src/main/java/ui/req/TGConnectingPointDerive.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/req/TGConnectingPointVerify.java b/src/main/java/ui/req/TGConnectingPointVerify.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/req/TGConnectorComposition.java b/src/main/java/ui/req/TGConnectorComposition.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/req/TGConnectorCopy.java b/src/main/java/ui/req/TGConnectorCopy.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/req/TGConnectorDerive.java b/src/main/java/ui/req/TGConnectorDerive.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/req/TGConnectorVerify.java b/src/main/java/ui/req/TGConnectorVerify.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sd/SDAbsoluteTimeConstraint.java b/src/main/java/ui/sd/SDAbsoluteTimeConstraint.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sd/SDActionState.java b/src/main/java/ui/sd/SDActionState.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sd/SDCoregion.java b/src/main/java/ui/sd/SDCoregion.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sd/SDGuard.java b/src/main/java/ui/sd/SDGuard.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sd/SDInstance.java b/src/main/java/ui/sd/SDInstance.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sd/SDRelativeTimeConstraint.java b/src/main/java/ui/sd/SDRelativeTimeConstraint.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sd/SDTimeInterval.java b/src/main/java/ui/sd/SDTimeInterval.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sd/SDTimerCancellation.java b/src/main/java/ui/sd/SDTimerCancellation.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sd/SDTimerExpiration.java b/src/main/java/ui/sd/SDTimerExpiration.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sd/SDTimerSetting.java b/src/main/java/ui/sd/SDTimerSetting.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sd/SequenceDiagramPanel.java b/src/main/java/ui/sd/SequenceDiagramPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sd/SequenceDiagramToolBar.java b/src/main/java/ui/sd/SequenceDiagramToolBar.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sd/TGConnectingPointMessageSD.java b/src/main/java/ui/sd/TGConnectingPointMessageSD.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sd/TGConnectingPointTimeConstraintSD.java b/src/main/java/ui/sd/TGConnectingPointTimeConstraintSD.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sd/TGConnectorMessageAsyncOrSyncSD.java b/src/main/java/ui/sd/TGConnectorMessageAsyncOrSyncSD.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sd/TGConnectorMessageAsyncSD.java b/src/main/java/ui/sd/TGConnectorMessageAsyncSD.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sd/TGConnectorMessageSD.java b/src/main/java/ui/sd/TGConnectorMessageSD.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sd/TGConnectorMessageSyncSD.java b/src/main/java/ui/sd/TGConnectorMessageSyncSD.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sd/TGConnectorRelativeTimeSD.java b/src/main/java/ui/sd/TGConnectorRelativeTimeSD.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sd2/SDAbsoluteTimeConstraint.java b/src/main/java/ui/sd2/SDAbsoluteTimeConstraint.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sd2/SDActionState.java b/src/main/java/ui/sd2/SDActionState.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sd2/SDCoregion.java b/src/main/java/ui/sd2/SDCoregion.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sd2/SDGuard.java b/src/main/java/ui/sd2/SDGuard.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sd2/SDInstance.java b/src/main/java/ui/sd2/SDInstance.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sd2/SDPortForMessage.java b/src/main/java/ui/sd2/SDPortForMessage.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sd2/SDRelativeTimeConstraint.java b/src/main/java/ui/sd2/SDRelativeTimeConstraint.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sd2/SDTimeInterval.java b/src/main/java/ui/sd2/SDTimeInterval.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sd2/SDTimerCancellation.java b/src/main/java/ui/sd2/SDTimerCancellation.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sd2/SDTimerExpiration.java b/src/main/java/ui/sd2/SDTimerExpiration.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sd2/SDTimerSetting.java b/src/main/java/ui/sd2/SDTimerSetting.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sd2/SequenceDiagramPanel.java b/src/main/java/ui/sd2/SequenceDiagramPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sd2/SequenceDiagramToolBar.java b/src/main/java/ui/sd2/SequenceDiagramToolBar.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sd2/TGConnectingPointMessageSD.java b/src/main/java/ui/sd2/TGConnectingPointMessageSD.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sd2/TGConnectingPointTimeConstraintSD.java b/src/main/java/ui/sd2/TGConnectingPointTimeConstraintSD.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sd2/TGConnectorMessageAsyncSD.java b/src/main/java/ui/sd2/TGConnectorMessageAsyncSD.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sd2/TGConnectorMessageSD.java b/src/main/java/ui/sd2/TGConnectorMessageSD.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sd2/TGConnectorMessageSyncSD.java b/src/main/java/ui/sd2/TGConnectorMessageSyncSD.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sd2/TGConnectorRelativeTimeSD.java b/src/main/java/ui/sd2/TGConnectorRelativeTimeSD.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sysmlsecmethodology/SysmlsecMethodologyConnectingPoint.java b/src/main/java/ui/sysmlsecmethodology/SysmlsecMethodologyConnectingPoint.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sysmlsecmethodology/SysmlsecMethodologyConnector.java b/src/main/java/ui/sysmlsecmethodology/SysmlsecMethodologyConnector.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sysmlsecmethodology/SysmlsecMethodologyDiagramName.java b/src/main/java/ui/sysmlsecmethodology/SysmlsecMethodologyDiagramName.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sysmlsecmethodology/SysmlsecMethodologyDiagramPanel.java b/src/main/java/ui/sysmlsecmethodology/SysmlsecMethodologyDiagramPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sysmlsecmethodology/SysmlsecMethodologyDiagramReference.java b/src/main/java/ui/sysmlsecmethodology/SysmlsecMethodologyDiagramReference.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sysmlsecmethodology/SysmlsecMethodologyDiagramToolbar.java b/src/main/java/ui/sysmlsecmethodology/SysmlsecMethodologyDiagramToolbar.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sysmlsecmethodology/SysmlsecMethodologyReferenceToAnalysis.java b/src/main/java/ui/sysmlsecmethodology/SysmlsecMethodologyReferenceToAnalysis.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sysmlsecmethodology/SysmlsecMethodologyReferenceToApplication.java b/src/main/java/ui/sysmlsecmethodology/SysmlsecMethodologyReferenceToApplication.java
old mode 100755
new mode 100644
index 039b121a3d7f452300ca51c989bb86797885dcbc..458e25bf47bf958e3246c888c372cac2016af043
--- a/src/main/java/ui/sysmlsecmethodology/SysmlsecMethodologyReferenceToApplication.java
+++ b/src/main/java/ui/sysmlsecmethodology/SysmlsecMethodologyReferenceToApplication.java
@@ -83,12 +83,12 @@ public class SysmlsecMethodologyReferenceToApplication extends SysmlsecMethodolo
     }
 
     public void makeValidationInfos(SysmlsecMethodologyDiagramName dn) {
-        dn.setValidationsNumber(4);
+        dn.setValidationsNumber(5);
         dn.setValidationsInfo(0, SysmlsecMethodologyDiagramName.SIM_ANIM_APP_DIPLO);
         dn.setValidationsInfo(1, SysmlsecMethodologyDiagramName.SIM_TRACE_APP_DIPLO);
-        //dn.setValidationsInfo(2, SysmlsecMethodologyDiagramName.LOT_APP_DIPLO);
-        dn.setValidationsInfo(2, SysmlsecMethodologyDiagramName.UPP_APP_DIPLO);
-        dn.setValidationsInfo(3, SysmlsecMethodologyDiagramName.TML_APP_DIPLO);
+        dn.setValidationsInfo(2, SysmlsecMethodologyDiagramName.LOT_APP_DIPLO);
+        dn.setValidationsInfo(3, SysmlsecMethodologyDiagramName.UPP_APP_DIPLO);
+        dn.setValidationsInfo(4, SysmlsecMethodologyDiagramName.TML_APP_DIPLO);
     }
 
     public boolean makeCall(String diagramName, int index) {
@@ -113,7 +113,7 @@ public class SysmlsecMethodologyReferenceToApplication extends SysmlsecMethodolo
                 return true;
             }
             return false;
-        /*case 2:
+        case 2:
             if (tdp.getMGUI().checkModelingSyntax(diagramName, true)) {
                 if (!tdp.getMGUI().generateLOTOS(true)) {
                     TraceManager.addDev("Generate LOTOS: error");
@@ -127,9 +127,9 @@ public class SysmlsecMethodologyReferenceToApplication extends SysmlsecMethodolo
             } else {
                 giveInformation("Syntax error");
                 return false;
-            }*/
+            }
 
-        case 2:
+        case 3:
             if (tdp.getMGUI().checkModelingSyntax(diagramName, true)) {
                 tdp.getMGUI().generateUPPAAL(false);
                 boolean result = tdp.getMGUI().gtm.generateUPPAALFromTML(SpecConfigTTool.UPPAALCodeDirectory, false, 8, false);
@@ -146,7 +146,7 @@ public class SysmlsecMethodologyReferenceToApplication extends SysmlsecMethodolo
 
             }
             break;
-        case 3:
+        case 4:
             if (tdp.getMGUI().checkModelingSyntax(diagramName, true)) {
                 TraceManager.addDev("Generate TML");
                 tmp = tdp.getMGUI().generateTMLTxt();
diff --git a/src/main/java/ui/sysmlsecmethodology/SysmlsecMethodologyReferenceToArchitecture.java b/src/main/java/ui/sysmlsecmethodology/SysmlsecMethodologyReferenceToArchitecture.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sysmlsecmethodology/SysmlsecMethodologyReferenceToAssumptions.java b/src/main/java/ui/sysmlsecmethodology/SysmlsecMethodologyReferenceToAssumptions.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sysmlsecmethodology/SysmlsecMethodologyReferenceToAttack.java b/src/main/java/ui/sysmlsecmethodology/SysmlsecMethodologyReferenceToAttack.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sysmlsecmethodology/SysmlsecMethodologyReferenceToCP.java b/src/main/java/ui/sysmlsecmethodology/SysmlsecMethodologyReferenceToCP.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sysmlsecmethodology/SysmlsecMethodologyReferenceToDesign.java b/src/main/java/ui/sysmlsecmethodology/SysmlsecMethodologyReferenceToDesign.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sysmlsecmethodology/SysmlsecMethodologyReferenceToMapping.java b/src/main/java/ui/sysmlsecmethodology/SysmlsecMethodologyReferenceToMapping.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sysmlsecmethodology/SysmlsecMethodologyReferenceToProperties.java b/src/main/java/ui/sysmlsecmethodology/SysmlsecMethodologyReferenceToProperties.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sysmlsecmethodology/SysmlsecMethodologyReferenceToPrototype.java b/src/main/java/ui/sysmlsecmethodology/SysmlsecMethodologyReferenceToPrototype.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/sysmlsecmethodology/SysmlsecMethodologyReferenceToRequirement.java b/src/main/java/ui/sysmlsecmethodology/SysmlsecMethodologyReferenceToRequirement.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlad/TGConnectingPointTMLAD.java b/src/main/java/ui/tmlad/TGConnectingPointTMLAD.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlad/TGConnectorTMLAD.java b/src/main/java/ui/tmlad/TGConnectorTMLAD.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlad/TMLADActionState.java b/src/main/java/ui/tmlad/TMLADActionState.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlad/TMLADChoice.java b/src/main/java/ui/tmlad/TMLADChoice.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlad/TMLADDecrypt.java b/src/main/java/ui/tmlad/TMLADDecrypt.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlad/TMLADDelay.java b/src/main/java/ui/tmlad/TMLADDelay.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlad/TMLADDelayInterval.java b/src/main/java/ui/tmlad/TMLADDelayInterval.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlad/TMLADEncrypt.java b/src/main/java/ui/tmlad/TMLADEncrypt.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlad/TMLADExecC.java b/src/main/java/ui/tmlad/TMLADExecC.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlad/TMLADExecCInterval.java b/src/main/java/ui/tmlad/TMLADExecCInterval.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlad/TMLADExecI.java b/src/main/java/ui/tmlad/TMLADExecI.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlad/TMLADExecIInterval.java b/src/main/java/ui/tmlad/TMLADExecIInterval.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlad/TMLADForEverLoop.java b/src/main/java/ui/tmlad/TMLADForEverLoop.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlad/TMLADForLoop.java b/src/main/java/ui/tmlad/TMLADForLoop.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlad/TMLADForStaticLoop.java b/src/main/java/ui/tmlad/TMLADForStaticLoop.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlad/TMLADNotifiedEvent.java b/src/main/java/ui/tmlad/TMLADNotifiedEvent.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlad/TMLADRandom.java b/src/main/java/ui/tmlad/TMLADRandom.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlad/TMLADReadChannel.java b/src/main/java/ui/tmlad/TMLADReadChannel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlad/TMLADReadRequestArg.java b/src/main/java/ui/tmlad/TMLADReadRequestArg.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlad/TMLADSelectEvt.java b/src/main/java/ui/tmlad/TMLADSelectEvt.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlad/TMLADSendEvent.java b/src/main/java/ui/tmlad/TMLADSendEvent.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlad/TMLADSendRequest.java b/src/main/java/ui/tmlad/TMLADSendRequest.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlad/TMLADSequence.java b/src/main/java/ui/tmlad/TMLADSequence.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlad/TMLADStartState.java b/src/main/java/ui/tmlad/TMLADStartState.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlad/TMLADStopState.java b/src/main/java/ui/tmlad/TMLADStopState.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlad/TMLADUnorderedSequence.java b/src/main/java/ui/tmlad/TMLADUnorderedSequence.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlad/TMLADWaitEvent.java b/src/main/java/ui/tmlad/TMLADWaitEvent.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlad/TMLADWriteChannel.java b/src/main/java/ui/tmlad/TMLADWriteChannel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlad/TMLActivityDiagramPanel.java b/src/main/java/ui/tmlad/TMLActivityDiagramPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlad/TMLActivityDiagramToolBar.java b/src/main/java/ui/tmlad/TMLActivityDiagramToolBar.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcd/TGConnectingPointTMLAssociation.java b/src/main/java/ui/tmlcd/TGConnectingPointTMLAssociation.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcd/TGConnectingPointTMLCompositionOperator.java b/src/main/java/ui/tmlcd/TGConnectingPointTMLCompositionOperator.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcd/TGConnectingPointTMLTask.java b/src/main/java/ui/tmlcd/TGConnectingPointTMLTask.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcd/TGConnectorTMLAssociationNav.java b/src/main/java/ui/tmlcd/TGConnectorTMLAssociationNav.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcd/TGConnectorTMLCompositionOperator.java b/src/main/java/ui/tmlcd/TGConnectorTMLCompositionOperator.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcd/TMLActivityDiagramBox.java b/src/main/java/ui/tmlcd/TMLActivityDiagramBox.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcd/TMLAttributeBox.java b/src/main/java/ui/tmlcd/TMLAttributeBox.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcd/TMLChannelOperator.java b/src/main/java/ui/tmlcd/TMLChannelOperator.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcd/TMLChannelProperties.java b/src/main/java/ui/tmlcd/TMLChannelProperties.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcd/TMLCompositionOperator.java b/src/main/java/ui/tmlcd/TMLCompositionOperator.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcd/TMLDataFlowType.java b/src/main/java/ui/tmlcd/TMLDataFlowType.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcd/TMLEventOperator.java b/src/main/java/ui/tmlcd/TMLEventOperator.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcd/TMLEventProperties.java b/src/main/java/ui/tmlcd/TMLEventProperties.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcd/TMLOperationBox.java b/src/main/java/ui/tmlcd/TMLOperationBox.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcd/TMLRequestOperator.java b/src/main/java/ui/tmlcd/TMLRequestOperator.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcd/TMLRequestProperties.java b/src/main/java/ui/tmlcd/TMLRequestProperties.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcd/TMLTaskDiagramPanel.java b/src/main/java/ui/tmlcd/TMLTaskDiagramPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcd/TMLTaskDiagramToolBar.java b/src/main/java/ui/tmlcd/TMLTaskDiagramToolBar.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcd/TMLTaskOperator.java b/src/main/java/ui/tmlcd/TMLTaskOperator.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcompd/TMLCChannelFacility.java b/src/main/java/ui/tmlcompd/TMLCChannelFacility.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcompd/TMLCChannelOutPort.java b/src/main/java/ui/tmlcompd/TMLCChannelOutPort.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcompd/TMLCCompositeComponent.java b/src/main/java/ui/tmlcompd/TMLCCompositeComponent.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcompd/TMLCCompositePort.java b/src/main/java/ui/tmlcompd/TMLCCompositePort.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcompd/TMLCFork.java b/src/main/java/ui/tmlcompd/TMLCFork.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcompd/TMLCJoin.java b/src/main/java/ui/tmlcompd/TMLCJoin.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcompd/TMLCPath.java b/src/main/java/ui/tmlcompd/TMLCPath.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcompd/TMLCPortConnectingPoint.java b/src/main/java/ui/tmlcompd/TMLCPortConnectingPoint.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcompd/TMLCPortConnector.java b/src/main/java/ui/tmlcompd/TMLCPortConnector.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcompd/TMLCPrimitiveComponent.java b/src/main/java/ui/tmlcompd/TMLCPrimitiveComponent.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcompd/TMLCPrimitivePort.java b/src/main/java/ui/tmlcompd/TMLCPrimitivePort.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcompd/TMLCRecordComponent.java b/src/main/java/ui/tmlcompd/TMLCRecordComponent.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcompd/TMLCReferencePortConnectingPoint.java b/src/main/java/ui/tmlcompd/TMLCReferencePortConnectingPoint.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcompd/TMLCRemoteCompositeComponent.java b/src/main/java/ui/tmlcompd/TMLCRemoteCompositeComponent.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcompd/TMLComponentTaskDiagramPanel.java b/src/main/java/ui/tmlcompd/TMLComponentTaskDiagramPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcompd/TMLComponentTaskDiagramToolBar.java b/src/main/java/ui/tmlcompd/TMLComponentTaskDiagramToolBar.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcp/TGConnectingPointTMLCP.java b/src/main/java/ui/tmlcp/TGConnectingPointTMLCP.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcp/TGConnectorTMLCP.java b/src/main/java/ui/tmlcp/TGConnectorTMLCP.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcp/TMLCPChoice.java b/src/main/java/ui/tmlcp/TMLCPChoice.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcp/TMLCPForLoop.java b/src/main/java/ui/tmlcp/TMLCPForLoop.java
old mode 100755
new mode 100644
index 19808cab1d4f1a358e1ada5eb2b3afc1f33dd577..2f25ac9e780e7f13cd951499db4c6b230d19e3fa
--- a/src/main/java/ui/tmlcp/TMLCPForLoop.java
+++ b/src/main/java/ui/tmlcp/TMLCPForLoop.java
@@ -37,6 +37,8 @@
  */
 
 
+
+
 package ui.tmlcp;
 
 import myutil.GraphicLib;
@@ -55,14 +57,13 @@ import java.awt.geom.Line2D;
  * Class TMLCPForLoop
  * For loop of a TML activity diagram
  * Creation: 03/06/2015
- *
- * @author Ludovic APVRILLE
  * @version 1.0 03/06/2015
+ * @author Ludovic APVRILLE
  */
 public class TMLCPForLoop extends TGCWithoutInternalComponent implements EmbeddedComment, BasicErrorHighlight {
     protected int lineLength = 5;
-    protected int textX = 5;
-    protected int textY = 15;
+    protected int textX =  5;
+    protected int textY =  15;
     protected int arc = 5;
 
     protected String init = "i=0";
@@ -71,7 +72,7 @@ public class TMLCPForLoop extends TGCWithoutInternalComponent implements Embedde
 
     protected int stateOfError = 0; // Not yet checked
 
-    public TMLCPForLoop(int _x, int _y, int _minX, int _maxX, int _minY, int _maxY, boolean _pos, TGComponent _father, TDiagramPanel _tdp) {
+    public TMLCPForLoop(int _x, int _y, int _minX, int _maxX, int _minY, int _maxY, boolean _pos, TGComponent _father, TDiagramPanel _tdp)  {
         super(_x, _y, _minX, _maxX, _minY, _maxY, _pos, _father, _tdp);
 
         width = 30;
@@ -96,38 +97,38 @@ public class TMLCPForLoop extends TGCWithoutInternalComponent implements Embedde
     }
 
     public void internalDrawing(Graphics g) {
-        final int textWidth = g.getFontMetrics().stringWidth(value);
+        final int textWidth  = g.getFontMetrics().stringWidth(value);
         int w1 = Math.max(minWidth, textWidth + 2 * textX);
         if ((w1 != width) & (!tdp.isScaled())) {
-            setCd(x + width / 2 - w1 / 2, y);
+            setCd(x + width/2 - w1/2, y);
             width = w1;
             //updateConnectingPoints();
         }
 
-        if (stateOfError > 0) {
+        if (stateOfError > 0)  {
             Color c = g.getColor();
-            switch (stateOfError) {
-                case ErrorHighlight.OK:
-                    g.setColor(ColorManager.FOR);
-                    break;
-                default:
-                    g.setColor(ColorManager.UNKNOWN_BOX_ACTION);
+            switch(stateOfError) {
+            case ErrorHighlight.OK:
+                g.setColor(ColorManager.FOR);
+                break;
+            default:
+                g.setColor(ColorManager.UNKNOWN_BOX_ACTION);
             }
             g.fillRoundRect(x, y, width, height, arc, arc);
             g.setColor(c);
         }
 
         g.drawRoundRect(x, y, width, height, arc, arc);
-        g.drawLine(x + (width / 2), y, x + (width / 2), y - lineLength);
-        g.drawLine(x + (width / 2), y + height, x + (width / 2), y + lineLength + height);
-        g.drawLine(x + width, y + height / 2, x + width + lineLength, y + height / 2);
+        g.drawLine(x+(width/2), y, x+(width/2), y - lineLength);
+        g.drawLine(x+(width/2), y+height, x+(width/2), y + lineLength + height);
+        g.drawLine(x+width, y+height/2, x+width +lineLength, y+height/2);
 
-        g.drawString(value, x + (width - textWidth) / 2, y + textY);
+        g.drawString(value, x + (width - textWidth) / 2 , y + textY);
     }
 
     public boolean editOndoubleClick(JFrame frame) {
-        String[] labels = new String[3];
-        String[] values = new String[3];
+        String [] labels = new String[3];
+        String [] values = new String[3];
         labels[0] = "Initialisation of variable";
         values[0] = init;
         labels[1] = "Condition to stay in loop";
@@ -137,9 +138,9 @@ public class TMLCPForLoop extends TGCWithoutInternalComponent implements Embedde
 
 
         JDialogMultiString jdms = new JDialogMultiString(frame, "Setting loop's properties", 3, labels, values);
-        //    jdms.setSize(400, 300);
+    //    jdms.setSize(400, 300);
         GraphicLib.centerOnParent(jdms, 400, 300);
-        jdms.setVisible(true); // blocked until dialog has been closed
+        jdms.setVisible( true ); // blocked until dialog has been closed
 
         if (jdms.hasBeenSet()) {
             init = jdms.getString(0);
@@ -159,11 +160,11 @@ public class TMLCPForLoop extends TGCWithoutInternalComponent implements Embedde
             return this;
         }
 
-        if ((int) (Line2D.ptSegDistSq(x + (width / 2), y - lineLength, x + (width / 2), y + lineLength + height, _x, _y)) < distanceSelected) {
+        if ((int)(Line2D.ptSegDistSq(x+(width/2), y-lineLength, x+(width/2), y + lineLength + height, _x, _y)) < distanceSelected) {
             return this;
         }
 
-        if ((int) (Line2D.ptSegDistSq(x + width, y + height / 2, x + width + lineLength, y + height / 2, _x, _y)) < distanceSelected) {
+        if ((int)(Line2D.ptSegDistSq(x+width, y+height/2, x+width +lineLength, y+height/2, _x, _y)) < distanceSelected) {
             return this;
         }
 
@@ -204,7 +205,7 @@ public class TMLCPForLoop extends TGCWithoutInternalComponent implements Embedde
     }
 
     @Override
-    public void loadExtraParam(NodeList nl, int decX, int decY, int decId) throws MalformedModelingException {
+    public void loadExtraParam(NodeList nl, int decX, int decY, int decId) throws MalformedModelingException{
         //System.out.println("*** load extra synchro *** " + getId());
         try {
 
@@ -217,12 +218,12 @@ public class TMLCPForLoop extends TGCWithoutInternalComponent implements Embedde
             //System.out.println("Loading Synchronization gates");
             //System.out.println(nl.toString());
 
-            for (int i = 0; i < nl.getLength(); i++) {
+            for(int i=0; i<nl.getLength(); i++) {
                 n1 = nl.item(i);
                 //System.out.println(n1);
                 if (n1.getNodeType() == Node.ELEMENT_NODE) {
                     nli = n1.getChildNodes();
-                    for (int j = 0; j < nli.getLength(); j++) {
+                    for(int j=0; j<nli.getLength(); j++) {
                         n2 = nli.item(j);
                         //System.out.println(n2);
                         if (n2.getNodeType() == Node.ELEMENT_NODE) {
@@ -250,7 +251,7 @@ public class TMLCPForLoop extends TGCWithoutInternalComponent implements Embedde
     }
 
     public int getDefaultConnector() {
-        return TGComponentManager.CONNECTOR_TMLCP;
+	return TGComponentManager.CONNECTOR_TMLCP;
     }
 
     public void setStateAction(int _stateAction) {
diff --git a/src/main/java/ui/tmlcp/TMLCPFork.java b/src/main/java/ui/tmlcp/TMLCPFork.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcp/TMLCPJoin.java b/src/main/java/ui/tmlcp/TMLCPJoin.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcp/TMLCPJunction.java b/src/main/java/ui/tmlcp/TMLCPJunction.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcp/TMLCPPanel.java b/src/main/java/ui/tmlcp/TMLCPPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcp/TMLCPRefAD.java b/src/main/java/ui/tmlcp/TMLCPRefAD.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcp/TMLCPRefSD.java b/src/main/java/ui/tmlcp/TMLCPRefSD.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcp/TMLCPStartState.java b/src/main/java/ui/tmlcp/TMLCPStartState.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcp/TMLCPStopState.java b/src/main/java/ui/tmlcp/TMLCPStopState.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlcp/TMLCPToolBar.java b/src/main/java/ui/tmlcp/TMLCPToolBar.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmldd/TMLArchiArtifact.java b/src/main/java/ui/tmldd/TMLArchiArtifact.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmldd/TMLArchiBUSNode.java b/src/main/java/ui/tmldd/TMLArchiBUSNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmldd/TMLArchiBridgeNode.java b/src/main/java/ui/tmldd/TMLArchiBridgeNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmldd/TMLArchiCAMSNode.java b/src/main/java/ui/tmldd/TMLArchiCAMSNode.java
deleted file mode 100755
index 2362ba7287abde997f99b69ab3a7cf2b3976bd7c..0000000000000000000000000000000000000000
--- a/src/main/java/ui/tmldd/TMLArchiCAMSNode.java
+++ /dev/null
@@ -1,404 +0,0 @@
-/* Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille
- * 
- * ludovic.apvrille AT enst.fr
- * 
- * This software is a computer program whose purpose is to allow the
- * edition of TURTLE analysis, design and deployment diagrams, to
- * allow the generation of RT-LOTOS or Java code from this diagram,
- * and at last to allow the analysis of formal validation traces
- * obtained from external tools, e.g. RTL from LAAS-CNRS and CADP
- * from INRIA Rhone-Alpes.
- * 
- * This software is governed by the CeCILL  license under French law and
- * abiding by the rules of distribution of free software.  You can  use,
- * modify and/ or redistribute the software under the terms of the CeCILL
- * license as circulated by CEA, CNRS and INRIA at the following URL
- * "http://www.cecill.info".
- * 
- * As a counterpart to the access to the source code and  rights to copy,
- * modify and redistribute granted by the license, users are provided only
- * with a limited warranty  and the software's author,  the holder of the
- * economic rights,  and the successive licensors  have only  limited
- * liability.
- * 
- * In this respect, the user's attention is drawn to the risks associated
- * with loading,  using,  modifying and/or developing or reproducing the
- * software by the user in light of its specific status of free software,
- * that may mean  that it is complicated to manipulate,  and  that  also
- * therefore means  that it is reserved for developers  and  experienced
- * professionals having in-depth computer knowledge. Users are therefore
- * encouraged to load and test the software's suitability as regards their
- * requirements in conditions enabling the security of their systems and/or
- * data to be ensured and,  more generally, to use and operate it in the
- * same conditions as regards security.
- * 
- * The fact that you are presently reading this means that you have had
- * knowledge of the CeCILL license and that you accept its terms.
- */
-
-
-
-
-package ui.tmldd;
-
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-import tmltranslator.HwCPU;
-import ui.*;
-import ui.het.*;
-import ui.util.IconManager;
-
-import javax.swing.*;
-import java.awt.*;
-import java.util.Vector;
-
-/**
-   * Class TMLArchiCAMSNode
-   * System C-AMS Node. To be used in TML architecture diagrams.
-   * Creation: 06/09/2017
-   * @version 1.0 06/09/2017
-   * @author Côme DEMARIGNY
- */
-public class TMLArchiCAMSNode extends TMLArchiNode implements SwallowTGComponent, WithAttributes {
-    private int textY1 = 15;
-    private int textY2 = 30;
-    private int derivationx = 2;
-    private int derivationy = 3;
-    private String stereotype = "CAMS";
-
-    private int byteDataSize = HwCPU.DEFAULT_BYTE_DATA_SIZE;
-    private int execiTime = HwCPU.DEFAULT_EXECI_TIME;
-
-    private CAMSBlockDiagramPanel cbdp;
-
-
-    public TMLArchiCAMSNode(int _x, int _y, int _minX, int _maxX, int _minY, int _maxY, boolean _pos, TGComponent _father, TDiagramPanel _tdp) {
-        super(_x, _y, _minX, _maxX, _minY, _maxY, _pos, _father, _tdp);
-
-        width = 200;
-        height = 200;
-        minWidth = 100;
-        minHeight = 100;
-
-        nbConnectingPoint = 16;
-        connectingPoint = new TGConnectingPoint[16];
-
-        connectingPoint[0] = new TMLArchiConnectingPoint(this, 0, 0, false, true, 0.0, 0.0);
-        connectingPoint[1] = new TMLArchiConnectingPoint(this, 0, 0, false, true, 0.5, 0.0);
-        connectingPoint[2] = new TMLArchiConnectingPoint(this, 0, 0, false, true, 1.0, 0.0);
-        connectingPoint[3] = new TMLArchiConnectingPoint(this, 0, 0, false, true, 0.0, 0.5);
-        connectingPoint[4] = new TMLArchiConnectingPoint(this, 0, 0, false, true, 1.0, 0.5);
-        connectingPoint[5] = new TMLArchiConnectingPoint(this, 0, 0, false, true, 0.0, 1.0);
-        connectingPoint[6] = new TMLArchiConnectingPoint(this, 0, 0, false, true, 0.5, 1.0);
-        connectingPoint[7] = new TMLArchiConnectingPoint(this, 0, 0, false, true, 1.0, 1.0);
-
-        connectingPoint[8] = new TMLArchiConnectingPoint(this, 0, 0, false, true, 0.25, 0.0);
-        connectingPoint[9] = new TMLArchiConnectingPoint(this, 0, 0, false, true, 0.75, 0.0);
-        connectingPoint[10] = new TMLArchiConnectingPoint(this, 0, 0, false, true, 0.0, 0.25);
-        connectingPoint[11] = new TMLArchiConnectingPoint(this, 0, 0, false, true, 1.0, 0.25);
-        connectingPoint[12] = new TMLArchiConnectingPoint(this, 0, 0, false, true, 0.0, 0.75);
-        connectingPoint[13] = new TMLArchiConnectingPoint(this, 0, 0, false, true, 1.0, 0.75);
-        connectingPoint[14] = new TMLArchiConnectingPoint(this, 0, 0, false, true, 0.25, 1.0);
-        connectingPoint[15] = new TMLArchiConnectingPoint(this, 0, 0, false, true, 0.75, 1.0);
-
-        addTGConnectingPointsComment();
-
-        nbInternalTGComponent = 0;
-
-        moveable = true;
-        editable = true;
-        removable = true;
-        userResizable = true;
-
-        name = tdp.findNodeName("CAMS");
-        value = "name";
-
-        myImageIcon = IconManager.imgic700;
-    }
-
-    public void internalDrawing(Graphics g) {
-        Color c = g.getColor();
-        g.draw3DRect(x, y, width, height, true);
-
-
-        // Top lines
-        g.drawLine(x, y, x + derivationx, y - derivationy);
-        g.drawLine(x + width, y, x + width + derivationx, y - derivationy);
-        g.drawLine(x + derivationx, y - derivationy, x + width + derivationx, y - derivationy);
-
-        // Right lines
-        g.drawLine(x + width, y + height, x + width + derivationx, y - derivationy + height);
-        g.drawLine(x + derivationx + width, y - derivationy, x + width + derivationx, y - derivationy + height);
-
-        // Filling color
-        g.setColor(ColorManager.HWA_BOX);
-        g.fill3DRect(x+1, y+1, width-1, height-1, true);
-        g.setColor(c);
-
-        // Strings
-        String ster = "<<" + stereotype + ">>";
-        int w  = g.getFontMetrics().stringWidth(ster);
-        Font f = g.getFont();
-        g.setFont(f.deriveFont(Font.BOLD));
-        g.drawString(ster, x + (width - w)/2, y + textY1);
-        g.setFont(f);
-        w  = g.getFontMetrics().stringWidth(name);
-        g.drawString(name, x + (width - w)/2, y + textY2);
-
-        // Icon
-        g.drawImage(IconManager.imgic1106.getImage(), x + 4, y + 4, null);
-        g.drawImage(IconManager.img9, x + width - 20, y + 4, null);
-    }
-
-    public TGComponent isOnOnlyMe(int x1, int y1) {
-
-        Polygon pol = new Polygon();
-        pol.addPoint(x, y);
-        pol.addPoint(x + derivationx, y - derivationy);
-        pol.addPoint(x + derivationx + width, y - derivationy);
-        pol.addPoint(x + derivationx + width, y + height - derivationy);
-        pol.addPoint(x + width, y + height);
-        pol.addPoint(x, y + height);
-        if (pol.contains(x1, y1)) {
-            return this;
-        }
-
-        return null;
-    }
-
-    public String getStereotype() {
-        return stereotype;
-
-    }
-
-    public String getNodeName() {
-        return name;
-    }
-
-    public boolean editOndoubleClick(JFrame frame) {
-	if ( cbdp == null){
-	    MainGUI  mgui = tdp.getMainGUI();
-	    cbdp = mgui.addSystemCAMSPanel("System C-AMS Deployment of DIPLODOCUS Node", -1, this);
-	    cbdp.setVisible(true);
-	    cbdp.initFromDiplodocus();
-	    
-	}
-	return true;
-    }
-
-    //     boolean error = false;
-    //     String errors = "";
-    //     int tmp;
-    //     String tmpName;
-
-    //     JDialogHwANode dialog = new JDialogHwANode(frame, "Setting HWA attributes", this);
-    //   //  dialog.setSize(500, 450);
-    //     GraphicLib.centerOnParent(dialog, 500, 450);
-    //     dialog.setVisible( true ); // blocked until dialog has been closed
-
-    //     if (!dialog.isRegularClose()) {
-    //         return false;
-    //     }
-
-    //     if (dialog.getNodeName().length() != 0) {
-    //         tmpName = dialog.getNodeName();
-    //         tmpName = tmpName.trim();
-    //         if (!TAttribute.isAValidId(tmpName, false, false)) {
-    //             error = true;
-    //             errors += "Name of the node  ";
-    //         } else {
-    //             name = tmpName;
-    //         }
-    //     }
-
-    //     if (dialog.getByteDataSize().length() != 0) {
-    //         try {
-    //             tmp = byteDataSize;
-    //             byteDataSize = Integer.decode(dialog.getByteDataSize()).intValue();
-    //             if (byteDataSize <= 0) {
-    //                 byteDataSize = tmp;
-    //                 error = true;
-    //                 errors += "Data size  ";
-    //             }
-    //         } catch (Exception e) {
-    //             error = true;
-    //             errors += "Data size  ";
-    //         }
-    //     }
-
-    //     if (dialog.getExeciTime().length() != 0) {
-    //         try {
-    //             tmp = execiTime;
-    //             execiTime = Integer.decode(dialog.getExeciTime()).intValue();
-    //             if (execiTime < 0) {
-    //                 execiTime = tmp;
-    //                 error = true;
-    //                 errors += "execi time  ";
-    //             }
-    //         } catch (Exception e) {
-    //             error = true;
-    //             errors += "execi time  ";
-    //         }
-    //     }
-
-    //     if (dialog.getClockRatio().length() != 0) {
-    //         try {
-    //             tmp = clockRatio;
-    //             clockRatio = Integer.decode(dialog.getClockRatio()).intValue();
-    //             if (clockRatio <= 0) {
-    //                 clockRatio = tmp;
-    //                 error = true;
-    //                 errors += "Clock divider  ";
-    //             }
-    //         } catch (Exception e) {
-    //             error = true;
-    //             errors += "Clock divider  ";
-    //         }
-    //     }
-
-    //     if (error) {
-    //         JOptionPane.showMessageDialog(frame,
-    //                                       "Invalid value for the following attributes: " + errors,
-    //                                       "Error",
-    //                                       JOptionPane.INFORMATION_MESSAGE);
-    //         return false;
-    //     }
-
-    //     return true;
-    // }
-
-
-    public int getType() {
-        return TGComponentManager.TMLARCHI_CAMSNODE;
-    }
-
-    public boolean acceptSwallowedTGComponent(TGComponent tgc) {
-        return (tgc instanceof TMLArchiArtifact) && (nbInternalTGComponent == 0);
-
-    }
-
-    public boolean addSwallowedTGComponent(TGComponent tgc, int x, int y) {
-        if ((tgc instanceof TMLArchiArtifact) && (nbInternalTGComponent == 0)){
-            tgc.setFather(this);
-            tgc.setDrawingZone(true);
-            tgc.resizeWithFather();
-            addInternalComponent(tgc, 0);
-            return true;
-        }
-
-        return false;
-    }
-
-    public void removeSwallowedTGComponent(TGComponent tgc) {
-        removeInternalComponent(tgc);
-    }
-
-
-    public Vector<TMLArchiArtifact> getArtifactList() {
-        Vector<TMLArchiArtifact> v = new Vector<TMLArchiArtifact>();
-        for(int i=0; i<nbInternalTGComponent; i++) {
-            if (tgcomponent[i] instanceof TMLArchiArtifact) {
-                v.add( (TMLArchiArtifact) tgcomponent[i]);
-            }
-        }
-        
-        return v;
-    }
-
-    public void hasBeenResized() {
-        for(int i=0; i<nbInternalTGComponent; i++) {
-            if (tgcomponent[i] instanceof TMLArchiArtifact) {
-                tgcomponent[i].resizeWithFather();
-            }
-        }
-
-    }
-
-    protected String translateExtraParam() {
-        StringBuffer sb = new StringBuffer("<extraparam>\n");
-        sb.append("<info stereotype=\"" + stereotype + "\" nodeName=\"" + name);
-        sb.append("\" />\n");
-        sb.append("<attributes byteDataSize=\"" + byteDataSize + "\" ");
-        sb.append(" execiTime=\"" + execiTime + "\" ");
-        sb.append(" clockRatio=\"" + clockRatio + "\" ");
-        sb.append("/>\n");
-        sb.append("</extraparam>\n");
-        return new String(sb);
-    }
-
-    @Override
-    public void loadExtraParam(NodeList nl, int decX, int decY, int decId) throws MalformedModelingException{
-        //System.out.println("*** load extra synchro ***");
-        try {
-
-            NodeList nli;
-            Node n1, n2;
-            Element elt;
-         //   int t1id;
-            String sstereotype = null, snodeName = null;
-
-            for(int i=0; i<nl.getLength(); i++) {
-                n1 = nl.item(i);
-                //System.out.println(n1);
-                if (n1.getNodeType() == Node.ELEMENT_NODE) {
-                    nli = n1.getChildNodes();
-                    for(int j=0; j<nli.getLength(); j++) {
-                        n2 = nli.item(j);
-                        //System.out.println(n2);
-                        if (n2.getNodeType() == Node.ELEMENT_NODE) {
-                            elt = (Element) n2;
-                            if (elt.getTagName().equals("info")) {
-                                sstereotype = elt.getAttribute("stereotype");
-                                snodeName = elt.getAttribute("nodeName");
-                            }
-                            if (sstereotype != null) {
-                                stereotype = sstereotype;
-                            }
-                            if (snodeName != null){
-                                name = snodeName;
-                            }
-
-                            if (elt.getTagName().equals("attributes")) {
-                                byteDataSize = Integer.decode(elt.getAttribute("byteDataSize")).intValue();
-                                execiTime = Integer.decode(elt.getAttribute("execiTime")).intValue();
-                                if ((elt.getAttribute("clockRatio") != null) &&  (elt.getAttribute("clockRatio").length() > 0)){
-                                    clockRatio = Integer.decode(elt.getAttribute("clockRatio")).intValue();
-                                }
-                            }
-                        }
-                    }
-                }
-            }
-
-        } catch (Exception e) {
-            throw new MalformedModelingException();
-        }
-    }
-
-    public int getDefaultConnector() {
-        return TGComponentManager.CONNECTOR_NODE_TMLARCHI;
-    }
-
-    public int getByteDataSize(){
-        return byteDataSize;
-    }
-
-    public int getExeciTime(){
-        return execiTime;
-    }
-
-
-    public String getAttributes() {
-        String attr = "";
-        attr += "Data size (in byte) = " + byteDataSize + "\n";
-        attr += "Execi execution time (in cycle) = " + execiTime + "\n";
-        attr += "Clock divider = " + clockRatio + "\n";
-        return attr;
-    }
-
-    public int getComponentType()       {
-        return CONTROLLER;
-    }
-
-}
diff --git a/src/main/java/ui/tmldd/TMLArchiCPInterface.java b/src/main/java/ui/tmldd/TMLArchiCPInterface.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmldd/TMLArchiCPNode.java b/src/main/java/ui/tmldd/TMLArchiCPNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmldd/TMLArchiCPUNode.java b/src/main/java/ui/tmldd/TMLArchiCPUNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmldd/TMLArchiChannelInterface.java b/src/main/java/ui/tmldd/TMLArchiChannelInterface.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmldd/TMLArchiCommunicationArtifact.java b/src/main/java/ui/tmldd/TMLArchiCommunicationArtifact.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmldd/TMLArchiCommunicationNode.java b/src/main/java/ui/tmldd/TMLArchiCommunicationNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmldd/TMLArchiConnectingPoint.java b/src/main/java/ui/tmldd/TMLArchiConnectingPoint.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmldd/TMLArchiConnectorNode.java b/src/main/java/ui/tmldd/TMLArchiConnectorNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmldd/TMLArchiCrossbarNode.java b/src/main/java/ui/tmldd/TMLArchiCrossbarNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmldd/TMLArchiDMANode.java b/src/main/java/ui/tmldd/TMLArchiDMANode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmldd/TMLArchiDiagramPanel.java b/src/main/java/ui/tmldd/TMLArchiDiagramPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmldd/TMLArchiDiagramToolBar.java b/src/main/java/ui/tmldd/TMLArchiDiagramToolBar.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmldd/TMLArchiElementInterface.java b/src/main/java/ui/tmldd/TMLArchiElementInterface.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmldd/TMLArchiEventArtifact.java b/src/main/java/ui/tmldd/TMLArchiEventArtifact.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmldd/TMLArchiFPGANode.java b/src/main/java/ui/tmldd/TMLArchiFPGANode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmldd/TMLArchiHWANode.java b/src/main/java/ui/tmldd/TMLArchiHWANode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmldd/TMLArchiKey.java b/src/main/java/ui/tmldd/TMLArchiKey.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmldd/TMLArchiMemoryNode.java b/src/main/java/ui/tmldd/TMLArchiMemoryNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmldd/TMLArchiNode.java b/src/main/java/ui/tmldd/TMLArchiNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmldd/TMLArchiPortInterface.java b/src/main/java/ui/tmldd/TMLArchiPortInterface.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmldd/TMLArchiSecurityInterface.java b/src/main/java/ui/tmldd/TMLArchiSecurityInterface.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmldd/TMLArchiTaskInterface.java b/src/main/java/ui/tmldd/TMLArchiTaskInterface.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmldd/TMLArchiVGMNNode.java b/src/main/java/ui/tmldd/TMLArchiVGMNNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlsd/TGConnectingPointTMLSD.java b/src/main/java/ui/tmlsd/TGConnectingPointTMLSD.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlsd/TGConnectorMessageAsyncTMLSD.java b/src/main/java/ui/tmlsd/TGConnectorMessageAsyncTMLSD.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlsd/TGConnectorMessageTMLSD.java b/src/main/java/ui/tmlsd/TGConnectorMessageTMLSD.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlsd/TMLSDActionState.java b/src/main/java/ui/tmlsd/TMLSDActionState.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlsd/TMLSDControllerInstance.java b/src/main/java/ui/tmlsd/TMLSDControllerInstance.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlsd/TMLSDInstance.java b/src/main/java/ui/tmlsd/TMLSDInstance.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlsd/TMLSDPanel.java b/src/main/java/ui/tmlsd/TMLSDPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlsd/TMLSDStorageInstance.java b/src/main/java/ui/tmlsd/TMLSDStorageInstance.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlsd/TMLSDToolBar.java b/src/main/java/ui/tmlsd/TMLSDToolBar.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tmlsd/TMLSDTransferInstance.java b/src/main/java/ui/tmlsd/TMLSDTransferInstance.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tree/CorrespondanceValidationDataTree.java b/src/main/java/ui/tree/CorrespondanceValidationDataTree.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tree/DiagramTreeModel.java b/src/main/java/ui/tree/DiagramTreeModel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tree/DiagramTreeRenderer.java b/src/main/java/ui/tree/DiagramTreeRenderer.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tree/GraphTree.java b/src/main/java/ui/tree/GraphTree.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tree/InvariantDataTree.java b/src/main/java/ui/tree/InvariantDataTree.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tree/JDiagramTree.java b/src/main/java/ui/tree/JDiagramTree.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tree/SearchTree.java b/src/main/java/ui/tree/SearchTree.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tree/SyntaxAnalysisErrorTree.java b/src/main/java/ui/tree/SyntaxAnalysisErrorTree.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tree/SyntaxAnalysisTree.java b/src/main/java/ui/tree/SyntaxAnalysisTree.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tree/SyntaxAnalysisWarningTree.java b/src/main/java/ui/tree/SyntaxAnalysisWarningTree.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tree/TClassesValidationDataTree.java b/src/main/java/ui/tree/TClassesValidationDataTree.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/tree/ValidationDataTree.java b/src/main/java/ui/tree/ValidationDataTree.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ucd/TGConnectingPointActorUCD.java b/src/main/java/ui/ucd/TGConnectingPointActorUCD.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ucd/TGConnectingPointUCD.java b/src/main/java/ui/ucd/TGConnectingPointUCD.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ucd/TGConnectorExtend.java b/src/main/java/ui/ucd/TGConnectorExtend.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ucd/TGConnectorInclude.java b/src/main/java/ui/ucd/TGConnectorInclude.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ucd/TGConnectorSpecialization.java b/src/main/java/ui/ucd/TGConnectorSpecialization.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ucd/TGConnectorUC.java b/src/main/java/ui/ucd/TGConnectorUC.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ucd/TGConnectorUseCase.java b/src/main/java/ui/ucd/TGConnectorUseCase.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ucd/UCDActor.java b/src/main/java/ui/ucd/UCDActor.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ucd/UCDActorBox.java b/src/main/java/ui/ucd/UCDActorBox.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ucd/UCDBorder.java b/src/main/java/ui/ucd/UCDBorder.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ucd/UCDUseCase.java b/src/main/java/ui/ucd/UCDUseCase.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ucd/UseCaseDiagramPanel.java b/src/main/java/ui/ucd/UseCaseDiagramPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ucd/UseCaseDiagramToolBar.java b/src/main/java/ui/ucd/UseCaseDiagramToolBar.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/util/DefaultText.java b/src/main/java/ui/util/DefaultText.java
old mode 100755
new mode 100644
index 0991782725ed8b3af49c152fbeb5aae63b72acb7..9efc0dc23fb220549c3a0624a9dccae00552dcb7
--- a/src/main/java/ui/util/DefaultText.java
+++ b/src/main/java/ui/util/DefaultText.java
@@ -50,8 +50,8 @@ package ui.util;
  */
 public class DefaultText {
 
-    public static String BUILD = "12632";
-    public static String DATE = "2018/04/26 02:05:54 CET";
+    public static String BUILD = "12665";
+    public static String DATE = "2018/05/15 02:01:37 CET";
 
     public static StringBuffer sbAbout = makeAbout();
 
diff --git a/src/main/java/ui/util/IconManager.java b/src/main/java/ui/util/IconManager.java
old mode 100755
new mode 100644
index 626cd74f099251a542d3bb694667fb11bb0c94e8..13cf51e3fb1e0bb90e6baa2a6a45a3669492097f
--- a/src/main/java/ui/util/IconManager.java
+++ b/src/main/java/ui/util/IconManager.java
@@ -182,6 +182,8 @@ public class IconManager {
     // Image of the help button for the ports (Solange)
     public static ImageIcon imgic2111; //New icon created by Solange
 
+    // SystemC-AMS
+    public static ImageIcon imgic8000, imgic8001, imgic8002, imgic8003, imgic8004, imgic8005;
 
     //private static String icon7 = "turtle_large.gif";
     private static String icon8 = "turtle_16.gif";
@@ -654,8 +656,13 @@ public class IconManager {
     private static String icon7008 = "attacker.gif";
     private static String icon7009 = "uppaal.gif";
 
-    //
-
+    // SystemC-AMS
+    private static String icon8000 = "camstdfport.gif";
+    private static String icon8001 = "camsdeport.gif";
+    private static String icon8002 = "camsconverterportW.gif";
+    private static String icon8003 = "camsconverterportE.gif";
+    private static String icon8004 = "camsconverterportN.gif";
+    private static String icon8005 = "camsconverterportS.gif";
 
     public IconManager() {
 
@@ -1134,6 +1141,13 @@ public class IconManager {
         imgic7007 = getIcon(icon7007);
         imgic7008 = getIcon(icon7008);
         imgic7009 = getIcon(icon7009);
+
+        imgic8000 = getIcon(icon8000);
+        imgic8001 = getIcon(icon8001);
+        imgic8002 = getIcon(icon8002);
+        imgic8003 = getIcon(icon8003);
+        imgic8004 = getIcon(icon8004);
+        imgic8005 = getIcon(icon8005);
     }
 
 } // Class
diff --git a/src/main/java/ui/window/DeadlockItem.java b/src/main/java/ui/window/DeadlockItem.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/DeadlockTableModel.java b/src/main/java/ui/window/DeadlockTableModel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/EquipmentsNCTableModel.java b/src/main/java/ui/window/EquipmentsNCTableModel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/GateSimulationTrace.java b/src/main/java/ui/window/GateSimulationTrace.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/GeneralInfoNCTableModel.java b/src/main/java/ui/window/GeneralInfoNCTableModel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JBirdPanel.java b/src/main/java/ui/window/JBirdPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogADConnector.java b/src/main/java/ui/window/JDialogADConnector.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogADDBusNode.java b/src/main/java/ui/window/JDialogADDBusNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogADDCPUNode.java b/src/main/java/ui/window/JDialogADDCPUNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogADDCoproMWMRNode.java b/src/main/java/ui/window/JDialogADDCoproMWMRNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogADDCrossbarNode.java b/src/main/java/ui/window/JDialogADDCrossbarNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogADDICUNode.java b/src/main/java/ui/window/JDialogADDICUNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogADDMemoryNode.java b/src/main/java/ui/window/JDialogADDMemoryNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogADDTTYNode.java b/src/main/java/ui/window/JDialogADDTTYNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogADDTimerNode.java b/src/main/java/ui/window/JDialogADDTimerNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogADDVgmnNode.java b/src/main/java/ui/window/JDialogADDVgmnNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogArrayGet.java b/src/main/java/ui/window/JDialogArrayGet.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogArraySet.java b/src/main/java/ui/window/JDialogArraySet.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogArtifact.java b/src/main/java/ui/window/JDialogArtifact.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogAssumption.java b/src/main/java/ui/window/JDialogAssumption.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogAttack.java b/src/main/java/ui/window/JDialogAttack.java
old mode 100755
new mode 100644
index bffac7ea29eb633236947f64428650aac7acf0e6..7ea131e33fc64705c5343fb5d40e820bf72ca0cf
--- a/src/main/java/ui/window/JDialogAttack.java
+++ b/src/main/java/ui/window/JDialogAttack.java
@@ -134,7 +134,6 @@ public class JDialogAttack extends JDialogBase implements ActionListener  {
         c0.weighty = 1.0;
         c0.weightx = 1.0;
         c0.gridwidth = GridBagConstraints.REMAINDER; //end row
-        c0.fill = GridBagConstraints.BOTH;
         c.add(panel2, c0);
         
         c0.gridwidth = 1;
diff --git a/src/main/java/ui/window/JDialogAttribute.java b/src/main/java/ui/window/JDialogAttribute.java
old mode 100755
new mode 100644
index e0382e66f0867cdb6ff39a86cf834c013aa7e87c..efa65052dceb3add9d2b6f597ff0aefd0ab4fd60
--- a/src/main/java/ui/window/JDialogAttribute.java
+++ b/src/main/java/ui/window/JDialogAttribute.java
@@ -239,7 +239,6 @@ public class JDialogAttribute extends JDialogBase implements ActionListener, Lis
         c0.gridheight = 10;
         c0.weighty = 1.0;
         c0.weightx = 1.0;
-        c0.fill = GridBagConstraints.BOTH;
         
         c.add(panel1, c0);
         c0.gridwidth = GridBagConstraints.REMAINDER; //end row
diff --git a/src/main/java/ui/window/JDialogAvatarBlock.java b/src/main/java/ui/window/JDialogAvatarBlock.java
old mode 100755
new mode 100644
index c88bf555b3794555328d6fec5dec90d63449b02e..84de5ed00ab9154d7d5183844d9e5e3b3329274f
--- a/src/main/java/ui/window/JDialogAvatarBlock.java
+++ b/src/main/java/ui/window/JDialogAvatarBlock.java
@@ -579,7 +579,7 @@ public class JDialogAvatarBlock extends JDialogBase implements ActionListener, L
         c8.gridheight = 10;
         c8.weighty = 1.0;
         c8.weightx = 1.0;
-        c8.fill = GridBagConstraints.BOTH;
+        c8.fill = GridBagConstraints.HORIZONTAL;
         panelAttr.add(panel1, c8);
         c8.gridwidth = GridBagConstraints.REMAINDER; //end row
         //c.add(tabbedPane, c0);
@@ -597,7 +597,7 @@ public class JDialogAvatarBlock extends JDialogBase implements ActionListener, L
             c9.gridheight = 10;
             c9.weighty = 1.0;
             c9.weightx = 1.0;
-            c9.fill = GridBagConstraints.BOTH;
+            c9.fill = GridBagConstraints.HORIZONTAL;
             panelMethod.add(panel3, c9);
             c9.gridwidth = GridBagConstraints.REMAINDER; //end row
             //c.add(tabbedPane, c0);
@@ -615,7 +615,7 @@ public class JDialogAvatarBlock extends JDialogBase implements ActionListener, L
             c10.gridheight = 10;
             c10.weighty = 1.0;
             c10.weightx = 1.0;
-            c10.fill = GridBagConstraints.BOTH;
+            c10.fill = GridBagConstraints.HORIZONTAL;
             panelSignal.add(panel5, c10);
             c10.gridwidth = GridBagConstraints.REMAINDER; //end row
             //c.add(tabbedPane, c0);
diff --git a/src/main/java/ui/window/JDialogAvatarBlockArtifact.java b/src/main/java/ui/window/JDialogAvatarBlockArtifact.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogAvatarChannelArtifact.java b/src/main/java/ui/window/JDialogAvatarChannelArtifact.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogAvatarLibraryFunction.java b/src/main/java/ui/window/JDialogAvatarLibraryFunction.java
old mode 100755
new mode 100644
index 37a3229131bf380627a2639bcb63248c80514734..ab94df970fae5493f31aef33fb5b20abcbbd2342
--- a/src/main/java/ui/window/JDialogAvatarLibraryFunction.java
+++ b/src/main/java/ui/window/JDialogAvatarLibraryFunction.java
@@ -1,26 +1,26 @@
 /* Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille
- *
+ * 
  * ludovic.apvrille AT enst.fr
- *
+ * 
  * This software is a computer program whose purpose is to allow the
  * edition of TURTLE analysis, design and deployment diagrams, to
  * allow the generation of RT-LOTOS or Java code from this diagram,
  * and at last to allow the analysis of formal validation traces
  * obtained from external tools, e.g. RTL from LAAS-CNRS and CADP
  * from INRIA Rhone-Alpes.
- *
+ * 
  * This software is governed by the CeCILL  license under French law and
  * abiding by the rules of distribution of free software.  You can  use,
  * modify and/ or redistribute the software under the terms of the CeCILL
  * license as circulated by CEA, CNRS and INRIA at the following URL
  * "http://www.cecill.info".
- *
+ * 
  * As a counterpart to the access to the source code and  rights to copy,
  * modify and redistribute granted by the license, users are provided only
  * with a limited warranty  and the software's author,  the holder of the
  * economic rights,  and the successive licensors  have only  limited
  * liability.
- *
+ * 
  * In this respect, the user's attention is drawn to the risks associated
  * with loading,  using,  modifying and/or developing or reproducing the
  * software by the user in light of its specific status of free software,
@@ -31,17 +31,20 @@
  * requirements in conditions enabling the security of their systems and/or
  * data to be ensured and,  more generally, to use and operate it in the
  * same conditions as regards security.
- *
+ * 
  * The fact that you are presently reading this means that you have had
  * knowledge of the CeCILL license and that you accept its terms.
  */
 
 
+
+
 package ui.window;
 
 import myutil.GraphicLib;
 import ui.AvatarMethod;
 import ui.AvatarSignal;
+import ui.util.IconManager;
 import ui.TAttribute;
 import ui.avatarbd.AvatarBDLibraryFunction;
 
@@ -59,9 +62,8 @@ import java.util.LinkedList;
 
 /**
  * Dialog for managing parameters, return values, attributes, methods and signals of Avatar Library Functions
- *
- * @author Florian Lugou
  * @version 1.0 04.11.2016
+ * @author Florian Lugou
  */
 public class JDialogAvatarLibraryFunction extends JDialogBase implements ActionListener, ListSelectionListener {
     private AvatarBDLibraryFunction bdElement;
@@ -76,7 +78,7 @@ public class JDialogAvatarLibraryFunction extends JDialogBase implements ActionL
     private JButton modifyButtons[];
     private JButton upButtons[];
     private JButton downButtons[];
-    private HashMap<Integer, JList<Object>> listAttribute;
+    private HashMap<Integer,JList<Object>> listAttribute;
     private ArrayList<LinkedList<Object>> attributes;
 
     // Parameters Tab
@@ -105,74 +107,64 @@ public class JDialogAvatarLibraryFunction extends JDialogBase implements ActionL
     private JTextField methodText;
 
 
-    public JDialogAvatarLibraryFunction(AvatarBDLibraryFunction bdElement, JFrame frame, String title, String attrib) {
-        super(frame, title, true);
+    public JDialogAvatarLibraryFunction (AvatarBDLibraryFunction bdElement, JFrame frame, String title, String attrib) {
+        super (frame, title, true);
 
         this.bdElement = bdElement;
         this.checkKeyword = true;
         this.checkJavaKeyword = true;
 
-        this.removeButtons = new JButton[5];
-        this.modifyButtons = new JButton[5];
-        this.upButtons = new JButton[5];
-        this.downButtons = new JButton[5];
+        this.removeButtons = new JButton [5];
+        this.modifyButtons = new JButton [5];
+        this.upButtons = new JButton [5];
+        this.downButtons = new JButton [5];
         this.listAttribute = new HashMap<>();
         this.attributes = new ArrayList<>();
 
-        LinkedList<Object> l = new LinkedList<>();
-        for (TAttribute attr : this.bdElement.getParameters())
-            l.add(attr.makeClone());
+        LinkedList<Object> l = new LinkedList<> ();
+        for (TAttribute attr: this.bdElement.getParameters ())
+            l.add (attr.makeClone ());
         this.attributes.add(l);
 
-        l = new LinkedList<>();
-        for (AvatarSignal signal : this.bdElement.getSignals())
-            l.add(signal.makeClone());
+        l = new LinkedList<> ();
+        for (AvatarSignal signal: this.bdElement.getSignals ())
+            l.add (signal.makeClone ());
         this.attributes.add(l);
 
-        l = new LinkedList<>();
-        for (TAttribute attr : this.bdElement.getReturnAttributes())
-            l.add(attr.makeClone());
+        l = new LinkedList<> ();
+        for (TAttribute attr: this.bdElement.getReturnAttributes ())
+            l.add (attr.makeClone ());
         this.attributes.add(l);
 
-        l = new LinkedList<>();
-        for (TAttribute attr : this.bdElement.getAttributes())
-            l.add(attr.makeClone());
+        l = new LinkedList<> ();
+        for (TAttribute attr: this.bdElement.getAttributes ())
+            l.add (attr.makeClone ());
         this.attributes.add(l);
 
-        l = new LinkedList<>();
-        for (AvatarMethod meth : this.bdElement.getMethods())
-            l.add(meth.makeClone());
+        l = new LinkedList<> ();
+        for (AvatarMethod meth: this.bdElement.getMethods ())
+            l.add (meth.makeClone ());
         this.attributes.add(l);
 
-        this.initComponents();
+        this.initComponents ();
 
         this.addAccess(TAttribute.getStringAccess(TAttribute.PRIVATE));
         this.addType(TAttribute.getStringAvatarType(TAttribute.BOOLEAN));
         this.addType(TAttribute.getStringAvatarType(TAttribute.INTEGER));
         this.addType(TAttribute.getStringType(TAttribute.TIMER));
-        for (String s : this.bdElement.getDiagramPanel().getAllDataTypes())
+        for(String s: this.bdElement.getDiagramPanel ().getAllDataTypes())
             this.addType(s);
         /*
         pack();
         */
     }
 
-    private void fillGenericAttributesTab(JPanel tab, int tabIndex, String tabTitle, JComboBox<String> accessBox, JTextField identifierText, JTextField initialValue, JComboBox<String> typeBox) {
+    private void fillGenericAttributesTab (JPanel tab, int tabIndex, String tabTitle, JComboBox<String> accessBox, JTextField identifierText, JTextField initialValue, JComboBox<String> typeBox) {
         // West Panel
-
-        GridBagConstraints c0 = new GridBagConstraints();
-
-
-        c0.gridwidth = 1;
-        c0.gridheight = 1;
-        c0.weighty = 1.0;
-        c0.weightx = 1.0;
-        c0.fill = GridBagConstraints.BOTH;
-
-        JPanel panelWest = new JPanel();
-        tab.add(panelWest, c0);
-        panelWest.setLayout(new GridBagLayout());
-        panelWest.setBorder(new javax.swing.border.TitledBorder("Adding " + tabTitle + "s"));
+        JPanel panelWest = new JPanel ();
+        tab.add(panelWest, BorderLayout.WEST);
+        panelWest.setLayout (new GridBagLayout ());
+        panelWest.setBorder (new javax.swing.border.TitledBorder ("Adding " + tabTitle + "s"));
         panelWest.setPreferredSize(new Dimension(300, 450));
 
         //      first line of west panel (field titles)
@@ -230,27 +222,26 @@ public class JDialogAvatarLibraryFunction extends JDialogBase implements ActionL
         gridConstraints.fill = GridBagConstraints.HORIZONTAL;
         gridConstraints.weightx = 1.0;
         gridConstraints.gridwidth = 3;
-        this.modifyButtons[tabIndex] = new JButton("Modify " + tabTitle);
+        this.modifyButtons[tabIndex] = new JButton ("Modify " + tabTitle);
         this.modifyButtons[tabIndex].addActionListener(this);
-        this.modifyButtons[tabIndex].setEnabled(false);
+        this.modifyButtons[tabIndex].setEnabled (false);
         panelWest.add(this.modifyButtons[tabIndex], gridConstraints);
 
         gridConstraints.gridwidth = GridBagConstraints.REMAINDER; //end row
-        JButton addButton = new JButton("Add " + tabTitle);
+        JButton addButton = new JButton ("Add " + tabTitle);
         addButton.addActionListener(this);
         panelWest.add(addButton, gridConstraints);
 
 
         // East Panel
-        c0.gridwidth = GridBagConstraints.REMAINDER;
-        JPanel panelEast = new JPanel();
-        tab.add(panelEast, c0);
-        panelEast.setLayout(new GridBagLayout());
-        panelEast.setBorder(new javax.swing.border.TitledBorder("Managing " + tabTitle + "s"));
-        panelEast.setPreferredSize(new Dimension(300, 450));
+        JPanel panelEast = new JPanel ();
+        tab.add(panelEast, BorderLayout.EAST);
+        panelEast.setLayout (new GridBagLayout ());
+        panelEast.setBorder (new javax.swing.border.TitledBorder("Managing " + tabTitle + "s"));
+        panelEast.setPreferredSize (new Dimension (300, 450));
 
         //      first line east panel
-        this.listAttribute.put(tabIndex, new JList<>(this.attributes.get(tabIndex).toArray()));
+        this.listAttribute.put(tabIndex, new JList <> (this.attributes.get(tabIndex).toArray ()));
         this.listAttribute.get(tabIndex).setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
         this.listAttribute.get(tabIndex).addListSelectionListener(this);
         JScrollPane scrollPane = new JScrollPane(this.listAttribute.get(tabIndex));
@@ -289,15 +280,14 @@ public class JDialogAvatarLibraryFunction extends JDialogBase implements ActionL
         panelEast.add(this.removeButtons[tabIndex], gridConstraints);
     }
 
-    private JPanel initParametersTab() {
-        GridBagLayout gridbag0 = new GridBagLayout();
-        JPanel panelParameters = new JPanel(gridbag0);
-        this.parametersAccessBox = new JComboBox<String>();
-        this.parametersIdentifierText = new JTextField();
-        this.parametersInitialValue = new JTextField();
-        this.parametersTypeBox = new JComboBox<String>();
+    private JPanel initParametersTab () {
+        JPanel panelParameters = new JPanel(new BorderLayout());
+        this.parametersAccessBox = new JComboBox<String> ();
+        this.parametersIdentifierText = new JTextField ();
+        this.parametersInitialValue = new JTextField ();
+        this.parametersTypeBox = new JComboBox<String> ();
 
-        this.fillGenericAttributesTab(
+        this.fillGenericAttributesTab (
                 panelParameters,
                 0,
                 "Parameter",
@@ -309,21 +299,13 @@ public class JDialogAvatarLibraryFunction extends JDialogBase implements ActionL
         return panelParameters;
     }
 
-    private JPanel initSignalsTab() {
-        GridBagLayout gridbag0 = new GridBagLayout();
-        GridBagConstraints c0 = new GridBagConstraints();
-        JPanel panelSignals = new JPanel(gridbag0);
-
-        c0.gridwidth = 1;
-        c0.gridheight = 1;
-        c0.weighty = 1.0;
-        c0.weightx = 1.0;
-        c0.fill = GridBagConstraints.BOTH;
+    private JPanel initSignalsTab () {
+        JPanel panelSignals = new JPanel(new BorderLayout());
 
         // West Panel
         JPanel panelWest = new JPanel();
-        panelSignals.add(panelWest, c0);
-        panelWest.setLayout(new GridBagLayout());
+        panelSignals.add (panelWest, BorderLayout.WEST);
+        panelWest.setLayout(new GridBagLayout ());
         panelWest.setBorder(new javax.swing.border.TitledBorder("Adding Signals"));
         panelWest.setPreferredSize(new Dimension(300, 250));
 
@@ -343,8 +325,8 @@ public class JDialogAvatarLibraryFunction extends JDialogBase implements ActionL
         //      second line west panel
         gridConstraints.gridwidth = 1;
         gridConstraints.fill = GridBagConstraints.HORIZONTAL;
-        this.signalInOutBox = new JComboBox<String>(new String[]{"in", "out"});
-        panelWest.add(this.signalInOutBox, gridConstraints);
+        this.signalInOutBox = new JComboBox<String> (new String[] {"in", "out"});
+        panelWest.add (this.signalInOutBox, gridConstraints);
 
         this.signalText = new JTextField();
         this.signalText.setColumns(50);
@@ -361,9 +343,9 @@ public class JDialogAvatarLibraryFunction extends JDialogBase implements ActionL
         gridConstraints.gridheight = 1;
         gridConstraints.fill = GridBagConstraints.HORIZONTAL;
         gridConstraints.gridwidth = 1;
-        this.modifyButtons[1] = new JButton("Modify Signal");
+        this.modifyButtons[1] = new JButton ("Modify Signal");
         this.modifyButtons[1].addActionListener(this);
-        this.modifyButtons[1].setEnabled(false);
+        this.modifyButtons[1].setEnabled (false);
         panelWest.add(this.modifyButtons[1], gridConstraints);
 
         gridConstraints.gridwidth = GridBagConstraints.REMAINDER; //end row
@@ -372,15 +354,14 @@ public class JDialogAvatarLibraryFunction extends JDialogBase implements ActionL
         panelWest.add(addSignalButton, gridConstraints);
 
         // East Panel
-        c0.gridwidth = GridBagConstraints.REMAINDER;
         JPanel panelEast = new JPanel();
-        panelSignals.add(panelEast, c0);
-        panelEast.setLayout(new GridBagLayout());
+        panelSignals.add(panelEast, BorderLayout.EAST);
+        panelEast.setLayout(new GridBagLayout ());
         panelEast.setBorder(new javax.swing.border.TitledBorder("Managing Signals"));
         panelEast.setPreferredSize(new Dimension(300, 250));
 
         //      first line east panel
-        this.listAttribute.put(1, new JList<>(this.attributes.get(1).toArray()));
+        this.listAttribute.put(1, new JList<> (this.attributes.get(1).toArray ()));
         this.listAttribute.get(1).setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
         this.listAttribute.get(1).addListSelectionListener(this);
         JScrollPane scrollPane = new JScrollPane(this.listAttribute.get(1));
@@ -402,32 +383,31 @@ public class JDialogAvatarLibraryFunction extends JDialogBase implements ActionL
         //      third line east panel
         gridConstraints.fill = GridBagConstraints.HORIZONTAL;
         this.upButtons[1] = new JButton("Up");
-        this.upButtons[1].setEnabled(false);
+        this.upButtons[1].setEnabled (false);
         this.upButtons[1].addActionListener(this);
         panelEast.add(this.upButtons[1], gridConstraints);
 
         this.downButtons[1] = new JButton("Down");
-        this.downButtons[1].setEnabled(false);
+        this.downButtons[1].setEnabled (false);
         this.downButtons[1].addActionListener(this);
         panelEast.add(this.downButtons[1], gridConstraints);
 
         this.removeButtons[1] = new JButton("Remove Signal");
-        this.removeButtons[1].setEnabled(false);
+        this.removeButtons[1].setEnabled (false);
         this.removeButtons[1].addActionListener(this);
         panelEast.add(this.removeButtons[1], gridConstraints);
 
         return panelSignals;
     }
 
-    private JPanel initReturnAttributesTab() {
-        GridBagLayout gridbag0 = new GridBagLayout();
-        JPanel panelReturnAttributes = new JPanel(gridbag0);
-        this.returnAttributesAccessBox = new JComboBox<String>();
-        this.returnAttributesIdentifierText = new JTextField();
-        this.returnAttributesInitialValue = new JTextField();
-        this.returnAttributesTypeBox = new JComboBox<String>();
+    private JPanel initReturnAttributesTab () {
+        JPanel panelReturnAttributes = new JPanel(new BorderLayout());
+        this.returnAttributesAccessBox = new JComboBox<String> ();
+        this.returnAttributesIdentifierText = new JTextField ();
+        this.returnAttributesInitialValue = new JTextField ();
+        this.returnAttributesTypeBox = new JComboBox<String> ();
 
-        this.fillGenericAttributesTab(
+        this.fillGenericAttributesTab (
                 panelReturnAttributes,
                 2,
                 "Return Value",
@@ -439,15 +419,14 @@ public class JDialogAvatarLibraryFunction extends JDialogBase implements ActionL
         return panelReturnAttributes;
     }
 
-    private JPanel initAttributesTab() {
-        GridBagLayout gridbag0 = new GridBagLayout();
-        JPanel panelAttributes = new JPanel(gridbag0);
-        this.attributesAccessBox = new JComboBox<String>();
-        this.attributesIdentifierText = new JTextField();
-        this.attributesInitialValue = new JTextField();
-        this.attributesTypeBox = new JComboBox<String>();
+    private JPanel initAttributesTab () {
+        JPanel panelAttributes = new JPanel(new BorderLayout());
+        this.attributesAccessBox = new JComboBox<String> ();
+        this.attributesIdentifierText = new JTextField ();
+        this.attributesInitialValue = new JTextField ();
+        this.attributesTypeBox = new JComboBox<String> ();
 
-        this.fillGenericAttributesTab(
+        this.fillGenericAttributesTab (
                 panelAttributes,
                 3,
                 "Local Attribute",
@@ -459,23 +438,15 @@ public class JDialogAvatarLibraryFunction extends JDialogBase implements ActionL
         return panelAttributes;
     }
 
-    private JPanel initMethodsTab() {
-        GridBagLayout gridbag0 = new GridBagLayout();
-        GridBagConstraints c0 = new GridBagConstraints();
-        JPanel panelMethods = new JPanel(gridbag0);
-
-        c0.gridwidth = 1;
-        c0.gridheight = 1;
-        c0.weighty = 1.0;
-        c0.weightx = 1.0;
-        c0.fill = GridBagConstraints.BOTH;
+    private JPanel initMethodsTab () {
+        JPanel panelMethods = new JPanel(new BorderLayout());
 
         // Panel West
         JPanel panelWest = new JPanel();
-        panelMethods.add(panelWest, c0);
-        panelWest.setLayout(new GridBagLayout());
+        panelMethods.add(panelWest, BorderLayout.WEST);
+        panelWest.setLayout(new GridBagLayout ());
         panelWest.setBorder(new javax.swing.border.TitledBorder("Adding Methods"));
-        //panelWest.setPreferredSize(new Dimension(300, 250));
+        panelWest.setPreferredSize(new Dimension(300, 250));
 
         //      first line west panel
         GridBagConstraints gridConstraints = new GridBagConstraints();
@@ -506,9 +477,9 @@ public class JDialogAvatarLibraryFunction extends JDialogBase implements ActionL
         gridConstraints.gridheight = 1;
         gridConstraints.fill = GridBagConstraints.HORIZONTAL;
         gridConstraints.gridwidth = 1;
-        this.modifyButtons[4] = new JButton("Modify Method");
+        this.modifyButtons[4] = new JButton ("Modify Method");
         this.modifyButtons[4].addActionListener(this);
-        this.modifyButtons[4].setEnabled(false);
+        this.modifyButtons[4].setEnabled (false);
         panelWest.add(this.modifyButtons[4], gridConstraints);
 
         gridConstraints.gridwidth = GridBagConstraints.REMAINDER; //end row
@@ -518,15 +489,14 @@ public class JDialogAvatarLibraryFunction extends JDialogBase implements ActionL
 
 
         // Panel East
-        c0.gridwidth = GridBagConstraints.REMAINDER; //end row
         JPanel panelEast = new JPanel();
-        panelMethods.add(panelEast, c0);
-        panelEast.setLayout(new GridBagLayout());
+        panelMethods.add(panelEast, BorderLayout.EAST);
+        panelEast.setLayout(new GridBagLayout ());
         panelEast.setBorder(new javax.swing.border.TitledBorder("Managing Methods"));
-        //panelEast.setPreferredSize(new Dimension(300, 250));
+        panelEast.setPreferredSize(new Dimension(300, 250));
 
         //      first line east panel
-        this.listAttribute.put(4, new JList<>(this.attributes.get(4).toArray()));
+        this.listAttribute.put(4, new JList<> (this.attributes.get(4).toArray ()));
         this.listAttribute.get(4).setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
         this.listAttribute.get(4).addListSelectionListener(this);
         JScrollPane scrollPane = new JScrollPane(this.listAttribute.get(4));
@@ -550,17 +520,17 @@ public class JDialogAvatarLibraryFunction extends JDialogBase implements ActionL
         gridConstraints.gridwidth = GridBagConstraints.REMAINDER; //end row
         gridConstraints.fill = GridBagConstraints.HORIZONTAL;
         this.upButtons[4] = new JButton("Up");
-        this.upButtons[4].setEnabled(false);
+        this.upButtons[4].setEnabled (false);
         this.upButtons[4].addActionListener(this);
         panelEast.add(this.upButtons[4], gridConstraints);
 
         this.downButtons[4] = new JButton("Down");
-        this.downButtons[4].setEnabled(false);
+        this.downButtons[4].setEnabled (false);
         this.downButtons[4].addActionListener(this);
         panelEast.add(this.downButtons[4], gridConstraints);
 
         this.removeButtons[4] = new JButton("Remove Method");
-        this.removeButtons[4].setEnabled(false);
+        this.removeButtons[4].setEnabled (false);
         this.removeButtons[4].addActionListener(this);
         panelEast.add(this.removeButtons[4], gridConstraints);
 
@@ -569,48 +539,43 @@ public class JDialogAvatarLibraryFunction extends JDialogBase implements ActionL
 
     private void initComponents() {
         // Get container
-        Container c = this.getContentPane();
-        c.setLayout(new GridBagLayout());
-        c.setLayout(new BorderLayout());
+        Container c = this.getContentPane ();
+        c.setLayout (new GridBagLayout ());
 
-        this.setFont(new Font("Helvetica", Font.PLAIN, 14));
-        this.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
+        this.setFont (new Font("Helvetica", Font.PLAIN, 14));
+        this.setDefaultCloseOperation (JFrame.DISPOSE_ON_CLOSE);
 
         // Add the tabs panel
         // Issue #41 Ordering of tabbed panes 
         this.tabbedPane = GraphicLib.createTabbedPane();//new JTabbedPane();
 
-        tabbedPane.addTab("Parameters", this.initParametersTab());            // Parameters Tab
-        tabbedPane.addTab("Signals", this.initSignalsTab());                  // Signals Tab
-        tabbedPane.addTab("Return Values", this.initReturnAttributesTab());   // Return Attributes Tab
-        tabbedPane.addTab("Attributes", this.initAttributesTab());            // Attributes Tab
-        tabbedPane.addTab("Methods", this.initMethodsTab());                  // Methods Tab
+        tabbedPane.addTab ("Parameters", this.initParametersTab ());            // Parameters Tab
+        tabbedPane.addTab ("Signals", this.initSignalsTab ());                  // Signals Tab
+        tabbedPane.addTab ("Return Values", this.initReturnAttributesTab ());   // Return Attributes Tab
+        tabbedPane.addTab ("Attributes", this.initAttributesTab ());            // Attributes Tab
+        tabbedPane.addTab ("Methods", this.initMethodsTab ());                  // Methods Tab
 
         GridBagConstraints gridConstraints = new GridBagConstraints();
         gridConstraints.gridwidth = 1;
-        gridConstraints.gridheight = 20;
+        gridConstraints.gridheight = 10;
         gridConstraints.weighty = 1.0;
         gridConstraints.weightx = 1.0;
         gridConstraints.gridwidth = GridBagConstraints.REMAINDER; //end row
-        gridConstraints.fill = GridBagConstraints.BOTH; //end row
-        //c.add(tabbedPane, gridConstraints);
-        c.add(tabbedPane, BorderLayout.CENTER);
+        c.add(tabbedPane, gridConstraints);
 
         // Add Save & Close button
         gridConstraints.gridwidth = 1;
         gridConstraints.gridheight = 1;
         gridConstraints.fill = GridBagConstraints.HORIZONTAL;
-
-        c.add(initBasicButtons(this), BorderLayout.SOUTH);
-
-
+        
+        initButtons(gridConstraints, c, this);
     }
 
-    public void selectTabIndex(int tab) {
+    public void selectTabIndex (int tab) {
         this.tabbedPane.setSelectedIndex(tab);
     }
 
-    private void highlightField(final JTextField textField) {
+    private void highlightField (final JTextField textField) {
         /*
         (new Thread () {
             public void run () {
@@ -631,30 +596,30 @@ public class JDialogAvatarLibraryFunction extends JDialogBase implements ActionL
         */
     }
 
-    public void actionPerformed(ActionEvent evt) {
-        Object source = evt.getSource();
+    public void actionPerformed (ActionEvent evt) {
+        Object source = evt.getSource ();
         if (source == this.closeButton) {
-            this.save();
-            this.dispose();
+            this.save ();
+            this.dispose ();
         } else if (source == this.cancelButton)
-            this.dispose();
+            this.dispose ();
         else if (source instanceof JButton) {
-            String label = ((JButton) source).getText().split(" ", 2)[0];
+            String label = ((JButton) source).getText ().split (" ", 2)[0];
             switch (label) {
                 case "Add":
-                    this.handleAdd();
+                    this.handleAdd ();
                     break;
                 case "Modify":
-                    this.handleModify();
+                    this.handleModify ();
                     break;
                 case "Up":
-                    this.handleUp();
+                    this.handleUp ();
                     break;
                 case "Down":
-                    this.handleDown();
+                    this.handleDown ();
                     break;
                 case "Remove":
-                    this.handleRemove();
+                    this.handleRemove ();
                     break;
                 default:
                     // Should not arrive here
@@ -668,108 +633,108 @@ public class JDialogAvatarLibraryFunction extends JDialogBase implements ActionL
         }
         */
     }
-
-    private void save() {
-        this.bdElement.resetParameters();
-        for (Object o : this.attributes.get(0))
-            this.bdElement.addParameter((TAttribute) o);
-        this.bdElement.resetSignals();
-        for (Object o : this.attributes.get(1))
-            this.bdElement.addSignal((AvatarSignal) o);
-        this.bdElement.resetReturnAttributes();
-        for (Object o : this.attributes.get(2))
-            this.bdElement.addReturnAttribute((TAttribute) o);
-        this.bdElement.resetAttributes();
-        for (Object o : this.attributes.get(3))
-            this.bdElement.addAttribute((TAttribute) o);
-        this.bdElement.resetMethods();
-        for (Object o : this.attributes.get(4))
-            this.bdElement.addMethod((AvatarMethod) o);
+    
+    private void save () {
+        this.bdElement.resetParameters ();
+        for (Object o: this.attributes.get(0))
+            this.bdElement.addParameter ((TAttribute) o);
+        this.bdElement.resetSignals ();
+        for (Object o: this.attributes.get(1))
+            this.bdElement.addSignal ((AvatarSignal) o);
+        this.bdElement.resetReturnAttributes ();
+        for (Object o: this.attributes.get(2))
+            this.bdElement.addReturnAttribute ((TAttribute) o);
+        this.bdElement.resetAttributes ();
+        for (Object o: this.attributes.get(3))
+            this.bdElement.addAttribute ((TAttribute) o);
+        this.bdElement.resetMethods ();
+        for (Object o: this.attributes.get(4))
+            this.bdElement.addMethod ((AvatarMethod) o);
     }
 
-    private void handleAdd() {
-        int selectedTab = this.tabbedPane.getSelectedIndex();
+    private void handleAdd () {
+        int selectedTab = this.tabbedPane.getSelectedIndex ();
         switch (selectedTab) {
             case 0:
-                this.addAttribute(0, this.parametersAccessBox, this.parametersIdentifierText, this.parametersInitialValue, this.parametersTypeBox, false);
+                this.addAttribute (0, this.parametersAccessBox, this.parametersIdentifierText, this.parametersInitialValue, this.parametersTypeBox, false);
                 break;
             case 1:
-                this.addSignal(false);
+                this.addSignal (false);
                 break;
             case 2:
-                this.addAttribute(2, this.returnAttributesAccessBox, this.returnAttributesIdentifierText, this.returnAttributesInitialValue, this.returnAttributesTypeBox, false);
+                this.addAttribute (2, this.returnAttributesAccessBox, this.returnAttributesIdentifierText, this.returnAttributesInitialValue, this.returnAttributesTypeBox, false);
                 break;
             case 3:
-                this.addAttribute(3, this.attributesAccessBox, this.attributesIdentifierText, this.attributesInitialValue, this.attributesTypeBox, false);
+                this.addAttribute (3, this.attributesAccessBox, this.attributesIdentifierText, this.attributesInitialValue, this.attributesTypeBox, false);
                 break;
             case 4:
-                this.addMethod(false);
+                this.addMethod (false);
                 break;
             default:
                 // Should not arrive here
         }
     }
 
-    private void addAttribute(int tabIndex, JComboBox<String> accessBox, JTextField identifierText, JTextField initialValue, JComboBox<String> typeBox, boolean modify) {
-        String identifier = identifierText.getText();
-        if (identifier.isEmpty()) {
+    private void addAttribute (int tabIndex, JComboBox<String> accessBox, JTextField identifierText, JTextField initialValue, JComboBox<String> typeBox, boolean modify) {
+        String identifier = identifierText.getText ();
+        if (identifier.isEmpty ()) {
             // Identifier is empty
-            this.highlightField(identifierText);
-            identifierText.requestFocus();
+            this.highlightField (identifierText);
+            identifierText.requestFocus ();
             return;
         }
 
-        if (!TAttribute.isAValidId(identifier, this.checkKeyword, this.checkJavaKeyword)) {
+        if (!TAttribute.isAValidId (identifier, this.checkKeyword, this.checkJavaKeyword)) {
             // Identifier should not be used
-            JOptionPane.showMessageDialog(this,
-                    "Bad identifier '" + identifier + "': invalid identifier",
-                    "Error",
-                    JOptionPane.ERROR_MESSAGE);
-            identifierText.requestFocus();
+            JOptionPane.showMessageDialog (this,
+                                          "Bad identifier '" + identifier + "': invalid identifier",
+                                          "Error",
+                                          JOptionPane.ERROR_MESSAGE);
+            identifierText.requestFocus ();
             return;
         }
 
-        int accessIndex = TAttribute.getAccess((String) accessBox.getSelectedItem());
+        int accessIndex = TAttribute.getAccess ((String) accessBox.getSelectedItem ());
         if (accessIndex < 0) {
             // Unknown access modifier
-            JOptionPane.showMessageDialog(this,
-                    "Bad access modifier",
-                    "Error",
-                    JOptionPane.ERROR_MESSAGE);
-            accessBox.requestFocus();
+            JOptionPane.showMessageDialog (this,
+                                          "Bad access modifier",
+                                          "Error",
+                                          JOptionPane.ERROR_MESSAGE);
+            accessBox.requestFocus ();
             return;
         }
 
-        int typeIndex = TAttribute.getAvatarType((String) typeBox.getSelectedItem());
+        int typeIndex = TAttribute.getAvatarType ((String) typeBox.getSelectedItem ());
         if (typeIndex < 0) {
             // Unknown type
-            JOptionPane.showMessageDialog(this,
-                    "Bad type",
-                    "Error",
-                    JOptionPane.ERROR_MESSAGE);
-            typeBox.requestFocus();
+            JOptionPane.showMessageDialog (this,
+                                          "Bad type",
+                                          "Error",
+                                          JOptionPane.ERROR_MESSAGE);
+            typeBox.requestFocus ();
             return;
         }
 
-        String value = initialValue.getText().trim();
-        if (typeIndex == TAttribute.ARRAY_NAT && value.isEmpty())
+        String value = initialValue.getText().trim ();
+        if (typeIndex == TAttribute.ARRAY_NAT && value.isEmpty ())
             value = "2";
-        if (!initialValue.isEnabled())
+        if (!initialValue.isEnabled ())
             value = "";
 
         if (!TAttribute.isAValidInitialValue(typeIndex, value)) {
             // Bad initial value
-            JOptionPane.showMessageDialog(this,
-                    "The initial value is not valid",
-                    "Error",
-                    JOptionPane.ERROR_MESSAGE);
-            initialValue.requestFocus();
+            JOptionPane.showMessageDialog (this,
+                                          "The initial value is not valid",
+                                          "Error",
+                                          JOptionPane.ERROR_MESSAGE);
+            initialValue.requestFocus ();
             return;
         }
 
         TAttribute a;
         if (typeIndex == TAttribute.OTHER)
-            a = new TAttribute(accessIndex, identifier, value, (String) typeBox.getSelectedItem());
+            a = new TAttribute(accessIndex, identifier, value, (String) typeBox.getSelectedItem ());
         else
             a = new TAttribute(accessIndex, identifier, value, typeIndex);
         a.isAvatar = true;
@@ -777,44 +742,44 @@ public class JDialogAvatarLibraryFunction extends JDialogBase implements ActionL
         int index;
         Object old = null;
         if (modify) {
-            index = this.listAttribute.get(tabIndex).getSelectedIndex();
-            old = this.attributes.get(tabIndex).remove(index);
+            index = this.listAttribute.get(tabIndex).getSelectedIndex ();
+            old = this.attributes.get(tabIndex).remove (index);
         } else
-            index = this.attributes.get(tabIndex).size();
+            index = this.attributes.get(tabIndex).size ();
 
         //checks whether an attribute with this identifier already belongs to the list
-        if (this.attributes.get(0).contains(a) || this.attributes.get(2).contains(a) || this.attributes.get(3).contains(a)) {
+        if (this.attributes.get(0).contains (a) || this.attributes.get(2).contains (a) || this.attributes.get(3).contains (a)) {
             if (modify)
-                this.attributes.get(tabIndex).add(index, old);
-            JOptionPane.showMessageDialog(this,
-                    "Bad Identifier: another attribute or parameter already has the same name.",
-                    "Error",
-                    JOptionPane.ERROR_MESSAGE);
-            identifierText.requestFocus();
+                this.attributes.get(tabIndex).add (index, old);
+            JOptionPane.showMessageDialog (this,
+                                          "Bad Identifier: another attribute or parameter already has the same name.",
+                                          "Error",
+                                          JOptionPane.ERROR_MESSAGE);
+            identifierText.requestFocus ();
             return;
         }
 
-        this.attributes.get(tabIndex).add(index, a);
-        this.listAttribute.get(tabIndex).setListData(this.attributes.get(tabIndex).toArray());
+        this.attributes.get(tabIndex).add (index, a);
+        this.listAttribute.get(tabIndex).setListData (this.attributes.get(tabIndex).toArray ());
         this.listAttribute.get(tabIndex).setSelectedIndex(index);
-        this.listAttribute.get(tabIndex).requestFocus();
+        this.listAttribute.get(tabIndex).requestFocus ();
     }
 
-    private void addMethod(boolean modify) {
-        String s = this.methodText.getText().trim();
-        if (s.isEmpty()) {
-            this.methodText.requestFocus();
+    private void addMethod (boolean modify) {
+        String s = this.methodText.getText().trim ();
+        if (s.isEmpty ()) {
+            this.methodText.requestFocus ();
             return;
         }
 
         AvatarMethod am = AvatarMethod.isAValidMethod(s);
 
         if (am == null) {
-            JOptionPane.showMessageDialog(this,
-                    "Badly formatted method declaration",
-                    "Error",
-                    JOptionPane.ERROR_MESSAGE);
-            this.methodText.requestFocus();
+            JOptionPane.showMessageDialog (this,
+                                          "Badly formatted method declaration",
+                                          "Error",
+                                          JOptionPane.ERROR_MESSAGE);
+            this.methodText.requestFocus ();
             return;
         }
 
@@ -823,188 +788,188 @@ public class JDialogAvatarLibraryFunction extends JDialogBase implements ActionL
         int index;
         Object old = null;
         if (modify) {
-            index = this.listAttribute.get(4).getSelectedIndex();
-            old = this.attributes.get(4).remove(index);
+            index = this.listAttribute.get(4).getSelectedIndex ();
+            old = this.attributes.get(4).remove (index);
         } else
-            index = this.attributes.get(4).size();
+            index = this.attributes.get(4).size ();
 
         // Checks whether the same method already belongs to the list
-        if (this.attributes.get(4).contains(am)) {
+        if (this.attributes.get(4).contains (am)) {
             if (modify)
-                this.attributes.get(4).add(index, old);
-            JOptionPane.showMessageDialog(this,
-                    "This method already exists",
-                    "Error",
-                    JOptionPane.ERROR_MESSAGE);
-            this.methodText.requestFocus();
+                this.attributes.get(4).add (index, old);
+            JOptionPane.showMessageDialog (this,
+                                          "This method already exists",
+                                          "Error",
+                                          JOptionPane.ERROR_MESSAGE);
+            this.methodText.requestFocus ();
             return;
         }
 
-        this.attributes.get(4).add(index, am);
-        this.listAttribute.get(4).setListData(this.attributes.get(4).toArray());
+        this.attributes.get(4).add (index, am);
+        this.listAttribute.get(4).setListData (this.attributes.get(4).toArray ());
         this.listAttribute.get(4).setSelectedIndex(index);
-        this.listAttribute.get(4).requestFocus();
+        this.listAttribute.get(4).requestFocus ();
     }
 
-    private void addSignal(boolean modify) {
-        String s = this.signalText.getText().trim();
-        if (s.isEmpty()) {
-            this.signalText.requestFocus();
+    private void addSignal (boolean modify) {
+        String s = this.signalText.getText().trim ();
+        if (s.isEmpty ()) {
+            this.signalText.requestFocus ();
             return;
         }
 
-        AvatarSignal as = AvatarSignal.isAValidSignal(this.signalInOutBox.getSelectedIndex(), s);
+        AvatarSignal as = AvatarSignal.isAValidSignal (this.signalInOutBox.getSelectedIndex(), s);
 
         if (as == null) {
-            JOptionPane.showMessageDialog(this,
-                    "Badly formatted signal declaration",
-                    "Error",
-                    JOptionPane.ERROR_MESSAGE);
-            this.signalText.requestFocus();
+            JOptionPane.showMessageDialog (this,
+                                          "Badly formatted signal declaration",
+                                          "Error",
+                                          JOptionPane.ERROR_MESSAGE);
+            this.signalText.requestFocus ();
             return;
         }
 
         int index;
         Object old = null;
         if (modify) {
-            index = this.listAttribute.get(1).getSelectedIndex();
-            old = this.attributes.get(1).remove(index);
+            index = this.listAttribute.get(1).getSelectedIndex ();
+            old = this.attributes.get(1).remove (index);
         } else
-            index = this.attributes.get(1).size();
+            index = this.attributes.get(1).size ();
 
 
         // Checks whether the same signal already belongs to the list
-        if (this.attributes.get(1).contains(as)) {
+        if (this.attributes.get(1).contains (as)) {
             if (modify)
-                this.attributes.get(1).add(index, old);
-            JOptionPane.showMessageDialog(this,
-                    "This signal already exists",
-                    "Error",
-                    JOptionPane.ERROR_MESSAGE);
-            this.signalText.requestFocus();
+                this.attributes.get(1).add (index, old);
+            JOptionPane.showMessageDialog (this,
+                                          "This signal already exists",
+                                          "Error",
+                                          JOptionPane.ERROR_MESSAGE);
+            this.signalText.requestFocus ();
             return;
         }
 
-        this.attributes.get(1).add(index, as);
-        this.listAttribute.get(1).setListData(this.attributes.get(1).toArray());
+        this.attributes.get(1).add (index, as);
+        this.listAttribute.get(1).setListData (this.attributes.get(1).toArray ());
         this.listAttribute.get(1).setSelectedIndex(index);
-        this.listAttribute.get(1).requestFocus();
+        this.listAttribute.get(1).requestFocus ();
     }
 
-    private void handleModify() {
-        int selectedTab = this.tabbedPane.getSelectedIndex();
+    private void handleModify () {
+        int selectedTab = this.tabbedPane.getSelectedIndex ();
         switch (selectedTab) {
             case 0:
-                this.addAttribute(0, this.parametersAccessBox, this.parametersIdentifierText, this.parametersInitialValue, this.parametersTypeBox, true);
+                this.addAttribute (0, this.parametersAccessBox, this.parametersIdentifierText, this.parametersInitialValue, this.parametersTypeBox, true);
                 break;
             case 1:
-                this.addSignal(true);
+                this.addSignal (true);
                 break;
             case 2:
-                this.addAttribute(2, this.returnAttributesAccessBox, this.returnAttributesIdentifierText, this.returnAttributesInitialValue, this.returnAttributesTypeBox, true);
+                this.addAttribute (2, this.returnAttributesAccessBox, this.returnAttributesIdentifierText, this.returnAttributesInitialValue, this.returnAttributesTypeBox, true);
                 break;
             case 3:
-                this.addAttribute(3, this.attributesAccessBox, this.attributesIdentifierText, this.attributesInitialValue, this.attributesTypeBox, true);
+                this.addAttribute (3, this.attributesAccessBox, this.attributesIdentifierText, this.attributesInitialValue, this.attributesTypeBox, true);
                 break;
             case 4:
-                this.addMethod(true);
+                this.addMethod (true);
                 break;
             default:
                 // Should not arrive here
         }
     }
 
-    private void handleUp() {
-        int selectedTab = this.tabbedPane.getSelectedIndex();
+    private void handleUp () {
+        int selectedTab = this.tabbedPane.getSelectedIndex ();
         int i = this.listAttribute.get(selectedTab).getSelectedIndex();
         if (i != -1 && i != 0) {
-            Collections.swap(this.attributes.get(selectedTab), i, i - 1);
-            this.listAttribute.get(selectedTab).setListData(this.attributes.get(selectedTab).toArray());
-            this.listAttribute.get(selectedTab).setSelectedIndex(i - 1);
+            Collections.swap (this.attributes.get(selectedTab), i, i-1);
+            this.listAttribute.get(selectedTab).setListData(this.attributes.get(selectedTab).toArray ());
+            this.listAttribute.get(selectedTab).setSelectedIndex(i-1);
         }
     }
 
-    private void handleDown() {
-        int selectedTab = this.tabbedPane.getSelectedIndex();
+    private void handleDown () {
+        int selectedTab = this.tabbedPane.getSelectedIndex ();
         int i = this.listAttribute.get(selectedTab).getSelectedIndex();
         if (i != -1 && i != this.attributes.get(selectedTab).size() - 1) {
-            Collections.swap(this.attributes.get(selectedTab), i, i + 1);
-            this.listAttribute.get(selectedTab).setListData(this.attributes.get(selectedTab).toArray());
-            this.listAttribute.get(selectedTab).setSelectedIndex(i + 1);
+            Collections.swap (this.attributes.get(selectedTab), i, i+1);
+            this.listAttribute.get(selectedTab).setListData(this.attributes.get(selectedTab).toArray ());
+            this.listAttribute.get(selectedTab).setSelectedIndex(i+1);
         }
     }
 
-    private void handleRemove() {
-        int selectedTab = this.tabbedPane.getSelectedIndex();
+    private void handleRemove () {
+        int selectedTab = this.tabbedPane.getSelectedIndex ();
         switch (selectedTab) {
             case 0:
-                this.removeAttribute(0);
+                this.removeAttribute (0);
                 break;
             case 1:
-                this.removeSignal();
+                this.removeSignal ();
                 break;
             case 2:
-                this.removeAttribute(2);
+                this.removeAttribute (2);
                 break;
             case 3:
-                this.removeAttribute(3);
+                this.removeAttribute (3);
                 break;
             case 4:
-                this.removeMethod();
+                this.removeMethod ();
                 break;
             default:
                 // Should not arrive here
         }
     }
 
-    private void removeAttribute(int tabIndex) {
-        int i = this.listAttribute.get(tabIndex).getSelectedIndex();
+    private void removeAttribute (int tabIndex) {
+        int i = this.listAttribute.get(tabIndex).getSelectedIndex ();
         if (i != -1) {
-            ((TAttribute) this.attributes.get(tabIndex).get(i)).setAccess(-1);
-            this.attributes.get(tabIndex).remove(i);
-            this.listAttribute.get(tabIndex).setListData(this.attributes.get(tabIndex).toArray());
+            ((TAttribute) this.attributes.get(tabIndex).get (i)).setAccess (-1);
+            this.attributes.get(tabIndex).remove (i);
+            this.listAttribute.get(tabIndex).setListData (this.attributes.get(tabIndex).toArray ());
         }
     }
 
-    private void removeSignal() {
-        int i = this.listAttribute.get(1).getSelectedIndex();
+    private void removeSignal () {
+        int i = this.listAttribute.get(1).getSelectedIndex ();
         if (i != -1) {
-            this.attributes.get(1).remove(i);
-            this.listAttribute.get(1).setListData(this.attributes.get(1).toArray());
+            this.attributes.get(1).remove (i);
+            this.listAttribute.get(1).setListData(this.attributes.get(1).toArray ());
         }
     }
 
-    private void removeMethod() {
+    private void removeMethod () {
         int i = this.listAttribute.get(4).getSelectedIndex();
-        if (i != -1) {
-            this.attributes.get(4).remove(i);
-            this.listAttribute.get(4).setListData(this.attributes.get(4).toArray());
+        if (i!= -1) {
+            this.attributes.get(4).remove (i);
+            this.listAttribute.get(4).setListData (this.attributes.get(4).toArray ());
         }
     }
 
-    public void valueChanged(ListSelectionEvent e) {
-        int selectedTab = this.tabbedPane.getSelectedIndex();
-        int i = this.listAttribute.get(selectedTab).getSelectedIndex();
+    public void valueChanged (ListSelectionEvent e) {
+        int selectedTab = this.tabbedPane.getSelectedIndex ();
+        int i = this.listAttribute.get(selectedTab).getSelectedIndex() ;
 
         this.removeButtons[selectedTab].setEnabled(i != -1);
         this.modifyButtons[selectedTab].setEnabled(i != -1);
         this.upButtons[selectedTab].setEnabled(i > 0);
-        this.downButtons[selectedTab].setEnabled(i != -1 && i < this.attributes.get(selectedTab).size() - 1);
+        this.downButtons[selectedTab].setEnabled(i != -1 && i < this.attributes.get(selectedTab).size ()-1);
 
         if (selectedTab == 1) { // Signals
             if (i == -1)
-                this.signalText.setText("");
+                this.signalText.setText ("");
             else {
-                AvatarSignal as = (AvatarSignal) (this.attributes.get(1).get(i));
-                this.signalText.setText(as.toBasicString());
-                this.signalInOutBox.setSelectedIndex(as.getInOut());
+                AvatarSignal as = (AvatarSignal) (this.attributes.get(1).get (i));
+                this.signalText.setText (as.toBasicString());
+                this.signalInOutBox.setSelectedIndex (as.getInOut());
             }
         } else if (selectedTab == 4) { // Methods
             if (i == -1)
-                this.methodText.setText("");
+                this.methodText.setText ("");
             else {
-                AvatarMethod am = (AvatarMethod) (this.attributes.get(4).get(i));
-                this.methodText.setText(am.toString());
+                AvatarMethod am = (AvatarMethod) (this.attributes.get(4).get (i));
+                this.methodText.setText (am.toString());
             }
         } else { // Attributes
             JTextField textField, initialValue;
@@ -1028,39 +993,39 @@ public class JDialogAvatarLibraryFunction extends JDialogBase implements ActionL
             }
 
             if (i == -1) {
-                textField.setText("");
-                initialValue.setText("");
+                textField.setText ("");
+                initialValue.setText ("");
                 accessBox.setSelectedIndex(0);
                 typeBox.setSelectedIndex(0);
             } else {
-                TAttribute a = (TAttribute) (this.attributes.get(selectedTab).get(i));
-                textField.setText(a.getId());
+                TAttribute a = (TAttribute) (this.attributes.get(selectedTab).get (i));
+                textField.setText (a.getId ());
                 initialValue.setText(a.getInitialValue());
-                this.select(accessBox, TAttribute.getStringAccess(a.getAccess()));
+                this.select (accessBox, TAttribute.getStringAccess(a.getAccess()));
                 if (a.getType() == TAttribute.OTHER)
-                    this.select(typeBox, a.getTypeOther());
+                    this.select (typeBox, a.getTypeOther());
                 else
-                    this.select(typeBox, TAttribute.getStringAvatarType(a.getType()));
+                    this.select (typeBox, TAttribute.getStringAvatarType(a.getType()));
             }
         }
     }
 
     public void addAccess(String s) {
-        this.parametersAccessBox.addItem(s);
-        this.attributesAccessBox.addItem(s);
-        this.returnAttributesAccessBox.addItem(s);
+        this.parametersAccessBox.addItem (s);
+        this.attributesAccessBox.addItem (s);
+        this.returnAttributesAccessBox.addItem (s);
     }
 
     public void addType(String s) {
-        this.parametersTypeBox.addItem(s);
-        this.attributesTypeBox.addItem(s);
-        this.returnAttributesTypeBox.addItem(s);
+        this.parametersTypeBox.addItem (s);
+        this.attributesTypeBox.addItem (s);
+        this.returnAttributesTypeBox.addItem (s);
     }
 
-    public void select(JComboBox<String> jcb, String text) {
-        for (int i = 0; i < jcb.getItemCount(); i++) {
+    public void select (JComboBox<String> jcb, String text) {
+        for (int i=0; i < jcb.getItemCount(); i++) {
             String s = jcb.getItemAt(i);
-            if (s.equals(text)) {
+            if (s.equals (text)) {
                 jcb.setSelectedIndex(i);
                 return;
             }
diff --git a/src/main/java/ui/window/JDialogAvatarProperty.java b/src/main/java/ui/window/JDialogAvatarProperty.java
old mode 100755
new mode 100644
index 2fc830f1e9c2c68fd20901e08507d4a6166f0e16..fc1259647fab20b8d2daa3f2ff4156b1b15d54c1
--- a/src/main/java/ui/window/JDialogAvatarProperty.java
+++ b/src/main/java/ui/window/JDialogAvatarProperty.java
@@ -162,7 +162,6 @@ public class JDialogAvatarProperty extends JDialogBase implements ActionListener
         c0.weighty = 1.0;
         c0.weightx = 1.0;
         c0.gridwidth = GridBagConstraints.REMAINDER; //end row
-        c0.fill = GridBagConstraints.BOTH;
 
         c.add(panel1, c0);
 
diff --git a/src/main/java/ui/window/JDialogAvatarPropertyConnector.java b/src/main/java/ui/window/JDialogAvatarPropertyConnector.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogAvatarSignal.java b/src/main/java/ui/window/JDialogAvatarSignal.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogAvatarState.java b/src/main/java/ui/window/JDialogAvatarState.java
old mode 100755
new mode 100644
index 9f5ada18d7b921f709fc8746f518ec4064a62eb0..807e052e7a93997107d18c3a887ce9777364b196
--- a/src/main/java/ui/window/JDialogAvatarState.java
+++ b/src/main/java/ui/window/JDialogAvatarState.java
@@ -201,7 +201,6 @@ public class JDialogAvatarState extends JDialogBase implements ActionListener  {
 		jtp.setPreferredSize( new Dimension( 400, 450 ) );
 		jtp.add("General", panel11);
 		jtp.add("Prototyping", panel2);
-        c0.fill = GridBagConstraints.BOTH;
         c.add(jtp, c0);
         
         c0.gridwidth = 1;
diff --git a/src/main/java/ui/window/JDialogAvatarTimer.java b/src/main/java/ui/window/JDialogAvatarTimer.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogAvatarTransition.java b/src/main/java/ui/window/JDialogAvatarTransition.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogAvatarddExecutableCodeGeneration.java b/src/main/java/ui/window/JDialogAvatarddExecutableCodeGeneration.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogBUSNode.java b/src/main/java/ui/window/JDialogBUSNode.java
old mode 100755
new mode 100644
index 9e543572a95e76a4c460bf6aae411878e6529910..ec0afcf71653ef737f02465eb33c8fd276740094
--- a/src/main/java/ui/window/JDialogBUSNode.java
+++ b/src/main/java/ui/window/JDialogBUSNode.java
@@ -102,7 +102,7 @@ public class JDialogBUSNode extends JDialogBase implements ActionListener  {
 
         JPanel panel2 = new JPanel();
         panel2.setLayout(gridbag2);
-        panel2.setBorder(new javax.swing.border.TitledBorder("Bus attributes"));
+        panel2.setBorder(new javax.swing.border.TitledBorder("BUS attributes"));
         panel2.setPreferredSize(new Dimension(400, 200));
 
         c1.gridwidth = 1;
@@ -110,7 +110,7 @@ public class JDialogBUSNode extends JDialogBase implements ActionListener  {
         c1.weighty = 1.0;
         c1.weightx = 1.0;
         c1.fill = GridBagConstraints.HORIZONTAL;
-        panel2.add(new JLabel("Bus name:"), c2);
+        panel2.add(new JLabel("BUS name:"), c2);
         c1.gridwidth = GridBagConstraints.REMAINDER; //end row
         nodeName = new JTextField(node.getNodeName(), 30);
         nodeName.setEditable(true);
@@ -177,7 +177,6 @@ public class JDialogBUSNode extends JDialogBase implements ActionListener  {
         c0.gridheight = 10;
         c0.weighty = 1.0;
         c0.weightx = 1.0;
-        c0.fill = GridBagConstraints.HORIZONTAL;
         c0.gridwidth = GridBagConstraints.REMAINDER; //end row
         c.add(panel2, c0);
 
diff --git a/src/main/java/ui/window/JDialogBase.java b/src/main/java/ui/window/JDialogBase.java
index b3aacf69d60f5a52ea07162aca16015f7c7329aa..2d39b04d287c20e830c82a10c4b1b33290c03992 100644
--- a/src/main/java/ui/window/JDialogBase.java
+++ b/src/main/java/ui/window/JDialogBase.java
@@ -46,59 +46,20 @@ public class JDialogBase extends JDialog {
 	
 	protected void initButtons(GridBagConstraints c0, Container c,
 			                  ActionListener al) {
-		initMainButtons(c0, c, al, false, "Save and Close", "Cancel");
-	}
-
-	protected void initMainButtons(GridBagConstraints c0, Container c,
-							   ActionListener al, boolean isInverse, String closeButtonStr, String cancelButtonStr) {
 		//Close Button
-		if (isInverse) {
-			closeButton = new JButton(closeButtonStr, IconManager.imgic25);
-			closeButton.addActionListener(al);
-			c.add(closeButton, c0);
-
-			c0.gridwidth = GridBagConstraints.REMAINDER; //end row
-
-			//Cancel Button
-			cancelButton = new JButton(cancelButtonStr, IconManager.imgic27);
-			cancelButton.addActionListener(al);
-			c.add(cancelButton, c0);
-		} else {
-			cancelButton = new JButton(cancelButtonStr, IconManager.imgic27);
-			cancelButton.addActionListener(al);
-			c.add(cancelButton, c0);
-
-			c0.gridwidth = GridBagConstraints.REMAINDER; //end row
-
-			closeButton = new JButton(closeButtonStr, IconManager.imgic25);
-			closeButton.addActionListener(al);
-			c.add(closeButton, c0);
-		}
-
-		//Add closeButton's behaviour on Enter key
-		this.getRootPane().setDefaultButton(closeButton);
-	}
-
-	protected JPanel initBasicButtons(ActionListener al) {
-		JPanel buttonPanel = new JPanel(new GridBagLayout());
-		GridBagConstraints gridConstraints = new GridBagConstraints();
-		gridConstraints.gridwidth = 1;
-		gridConstraints.gridheight = 1;
-		gridConstraints.weighty = 1.0;
-		gridConstraints.weightx = 1.0;
-		gridConstraints.fill = GridBagConstraints.BOTH; //end row
-
-		cancelButton = new JButton("Cancel", IconManager.imgic27);
-		cancelButton.addActionListener(al);
-		buttonPanel.add(cancelButton, gridConstraints);
-
-		gridConstraints.gridwidth = GridBagConstraints.REMAINDER; //end row
-
-		closeButton = new JButton("Save and close", IconManager.imgic25);
-		closeButton.addActionListener(al);
-		buttonPanel.add(closeButton, gridConstraints);
-
-		return buttonPanel;
+        closeButton = new JButton("Save and Close", IconManager.imgic25);
+        closeButton.addActionListener(al);
+        c.add(closeButton, c0);
+        
+        c0.gridwidth = GridBagConstraints.REMAINDER; //end row
+        
+        //Cancel Button
+        cancelButton = new JButton("Cancel", IconManager.imgic27);
+        cancelButton.addActionListener(al);
+        c.add(cancelButton, c0);
+        
+        //Add closeButton's behaviour on Enter key
+        this.getRootPane().setDefaultButton(closeButton);
 	}
 
 
diff --git a/src/main/java/ui/window/JDialogBisimulation.java b/src/main/java/ui/window/JDialogBisimulation.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogBisimulationBisimulator.java b/src/main/java/ui/window/JDialogBisimulationBisimulator.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogBridgeNode.java b/src/main/java/ui/window/JDialogBridgeNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogCAMSBlocks.java b/src/main/java/ui/window/JDialogCAMSBlocks.java
deleted file mode 100755
index d5f72aa864d0efb715221d1e76700c53337cfbd4..0000000000000000000000000000000000000000
--- a/src/main/java/ui/window/JDialogCAMSBlocks.java
+++ /dev/null
@@ -1,846 +0,0 @@
-/* Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille
- * 
- * ludovic.apvrille AT enst.fr
- * 
- * This software is a computer program whose purpose is to allow the
- * edition of TURTLE analysis, design and deployment diagrams, to
- * allow the generation of RT-LOTOS or Java code from this diagram,
- * and at last to allow the analysis of formal validation traces
- * obtained from external tools, e.g. RTL from LAAS-CNRS and CADP
- * from INRIA Rhone-Alpes.
- * 
- * This software is governed by the CeCILL  license under French law and
- * abiding by the rules of distribution of free software.  You can  use,
- * modify and/ or redistribute the software under the terms of the CeCILL
- * license as circulated by CEA, CNRS and INRIA at the following URL
- * "http://www.cecill.info".
- * 
- * As a counterpart to the access to the source code and  rights to copy,
- * modify and redistribute granted by the license, users are provided only
- * with a limited warranty  and the software's author,  the holder of the
- * economic rights,  and the successive licensors  have only  limited
- * liability.
- * 
- * In this respect, the user's attention is drawn to the risks associated
- * with loading,  using,  modifying and/or developing or reproducing the
- * software by the user in light of its specific status of free software,
- * that may mean  that it is complicated to manipulate,  and  that  also
- * therefore means  that it is reserved for developers  and  experienced
- * professionals having in-depth computer knowledge. Users are therefore
- * encouraged to load and test the software's suitability as regards their
- * requirements in conditions enabling the security of their systems and/or
- * data to be ensured and,  more generally, to use and operate it in the
- * same conditions as regards security.
- * 
- * The fact that you are presently reading this means that you have had
- * knowledge of the CeCILL license and that you accept its terms.
- */
-
-
-
-
-package ui.window;
-
-import myutil.Conversion;
-import myutil.GraphicLib;
-import ui.util.IconManager;
-import ui.TGComponent;
-import ui.het.CAMSBlock;
-import heterogeneoustranslator.systemCAMStranslator.CAMSSignal;
-import ui.TAttribute;
-import ui.TDiagramPanel;
-
-import javax.swing.*;
-import javax.swing.event.ListSelectionEvent;
-import javax.swing.event.ListSelectionListener;
-import java.awt.*;
-import java.awt.event.ActionEvent;
-import java.awt.event.ActionListener;
-import java.util.Vector;
-import java.util.LinkedList;
-
-
-/**
-   * Class JDialogCAMSBlocks
-   * Dialog for managing nodes to be validated
-   * Creation: 23/06/2017
-   * @version 0.1 23/06/2017
-   * @author Côme DEMARIGNY
- */
-
-public class JDialogCAMSBlocks extends JDialog implements ActionListener, ListSelectionListener {
-
-    private LinkedList<TAttribute> attributes, attributesPar, forbidden;
-    private LinkedList<Boolean> initValues;
-    private LinkedList<CAMSSignal> signals, signalsPar;
-    private boolean checkKeyword, checkJavaKeyword;
-
-    private boolean cancelled = true;
-    private boolean regularClose;
-
-    protected String [] processCode;
-    protected JTextArea jtaProcessCode;
-    protected boolean hasProcessCode;
-
-    private JPanel panel1, panel2;
-
-    private TDiagramPanel tdp;
-    private Frame frame;
-    private int tab;
-    private String defaultName;
-    private String previousName;
-
-    private String attrib; // "Attributes", "Gates", etc.
-
-    // Panel1
-    private JComboBox<String> accessBox, typeBox;
-    private JTextField identifierText;
-    private JTextField initialValue;
-    private JTextField blockName;
-    private JButton addButton;
-
-    //Panel2
-    private JList<TAttribute> listAttribute;
-    private JTextField nbOfIn, nbOfOut;
-    private CAMSBlock block;
-    private JButton upButton;
-    private JButton downButton;
-    private JButton removeButton;
-
-
-    // Signals
-    private boolean hasSignals = true;
-    private JPanel panel5, panel6;
-    private JComboBox<String> signalInOutBox;
-    private JTextField signalText;
-    private JButton addSignalButton;
-    private JList<CAMSSignal> listSignal;
-    private JButton upSignalButton;
-    private JButton downSignalButton;
-    private JButton removeSignalButton;
-
-    // Main Panel
-    private JButton closeButton;
-    private JButton cancelButton;
-
-    /** Creates new form  */
-    public JDialogCAMSBlocks(LinkedList<TAttribute> _attributes, LinkedList<CAMSSignal> _signals, LinkedList<TAttribute> _forbidden, Frame _frame, String _title, String _attrib, CAMSBlock _block, String []_processCode, boolean _hasProcessCode) {
-        super(_frame, _title, true);
-	frame = _frame;
-	block = _block;
-	attributesPar = _attributes;
-	signalsPar = _signals;
-	processCode = _processCode;
-	attrib = _attrib;
-
-        if (signalsPar == null) {
-            signalsPar = new LinkedList<CAMSSignal> ();
-            hasSignals = false;
-        }
-
-        hasProcessCode = _hasProcessCode;
-        if (processCode == null) {
-            processCode = new String[1];
-            processCode[0] = "";
-        }
-
-
-        forbidden = _forbidden;
-        initValues = new LinkedList<Boolean> ();
-        this.attrib = attrib;
-
-        attributes = new LinkedList<TAttribute> ();
-        signals = new LinkedList<CAMSSignal> ();
-
-        for(TAttribute attr: this.attributesPar)
-            this.attributes.add (attr.makeClone());
-
-        // for(CAMSSignal sig: this.signalsPar)
-        //     this.signals.add (sig.makeClone());
-	pack();
-        initComponents();
-        myInitComponents();
-        pack();
-    }
-
-
-    private void myInitComponents() {
-	removeButton.setEnabled(false);
-        upButton.setEnabled(false);
-        downButton.setEnabled(false);
-    }
-
-    private void initComponents() {
-
-    	// Issue #41 Ordering of tabbed panes 
-        JTabbedPane tabbedPane = GraphicLib.createTabbedPane();//new JTabbedPane();
-        Container c = getContentPane();
-
-        JPanel panelAttr = new JPanel(new BorderLayout());
-        JPanel panelSignal = new JPanel(new BorderLayout());
-        JPanel panelCode;
-        GridBagLayout gridbag0 = new GridBagLayout();
-        GridBagLayout gridbag1 = new GridBagLayout();
-	GridBagLayout gridbag2 = new GridBagLayout();
-        // GridBagLayout gridbag3 = new GridBagLayout();
-       // GridBagLayout gridbag4 = new GridBagLayout();
-        GridBagLayout gridbag5 = new GridBagLayout();
-        GridBagLayout gridbag6 = new GridBagLayout();
-        GridBagLayout gridbag7 = new GridBagLayout();
-        GridBagConstraints c0 = new GridBagConstraints();
-        GridBagConstraints c1 = new GridBagConstraints();
-        GridBagConstraints c2 = new GridBagConstraints();
-        // GridBagConstraints c3 = new GridBagConstraints();
-        // GridBagConstraints c4 = new GridBagConstraints();
-        GridBagConstraints c5 = new GridBagConstraints();
-        GridBagConstraints c6 = new GridBagConstraints();
-        GridBagConstraints c7 = new GridBagConstraints();
-
-        setFont(new Font("Helvetica", Font.PLAIN, 14));
-        c.setLayout(gridbag0);
-
-        setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
-
-        panel1 = new JPanel();
-        panel1.setLayout(gridbag1);
-        panel1.setBorder(new javax.swing.border.TitledBorder("Adding " + attrib));
-        panel1.setPreferredSize(new Dimension(500, 500));
-	panel1.setMinimumSize(new Dimension(500, 500));
-
-        panel2 = new JPanel();
-        panel2.setLayout(gridbag2);
-        panel2.setBorder(new javax.swing.border.TitledBorder("Managing " + attrib));
-        panel2.setPreferredSize(new Dimension(500, 500));
-	panel2.setMinimumSize(new Dimension(500, 500));
-
-        // first line panel1
-        c1.gridwidth = 1;
-        c1.gridheight = 1;
-        c1.weighty = 1.0;
-        c1.weightx = 1.0;
-        c1.gridwidth = GridBagConstraints.REMAINDER; //end row
-        c1.fill = GridBagConstraints.BOTH;
-        c1.gridheight = 3;
-        panel1.add(new JLabel("Block Name: "), c1);
-	blockName = new JTextField();
-	blockName.setColumns(5);
-	blockName.setEditable(true);
-	panel1.add(blockName, c1);
-
-        c1.gridwidth = 1;
-        c1.gridheight = 1;
-        c1.weighty = 1.0;
-        c1.weightx = 1.0;
-	c1.anchor = GridBagConstraints.CENTER;
-        panel1.add(new JLabel("access"), c1);
-        panel1.add(new JLabel("identifier"), c1);
-        if (attrib.equals("Attribute") || attrib.equals("Variable")) {
-            panel1.add(new JLabel(" "), c1);
-            panel1.add(new JLabel("initial value"), c1);
-        }
-        panel1.add(new JLabel(" "), c1);
-        c1.gridwidth = GridBagConstraints.REMAINDER; //end row
-        panel1.add(new JLabel("type"), c1);
-
-        // second line panel1
-        c1.gridwidth = 2;
-        c1.fill = GridBagConstraints.HORIZONTAL;
-        c1.anchor = GridBagConstraints.CENTER;
-        accessBox = new JComboBox<String>();
-        panel1.add(accessBox, c1);
-        identifierText = new JTextField();
-        identifierText.setColumns(15);
-        identifierText.setEditable(true);
-        panel1.add(identifierText, c1);
-
-        initialValue = new JTextField();
-        initialValue.setColumns(5);
-        initialValue.setEditable(true);
-
-        if (attrib.equals("Attribute") || attrib.equals("Variable")) {
-            panel1.add(new JLabel(" = "), c1);
-            panel1.add(initialValue, c1);
-        }
-
-        panel1.add(new JLabel(" : "), c1);
-        c1.gridwidth = GridBagConstraints.REMAINDER; //end row
-        typeBox = new JComboBox<String>();
-        typeBox.addActionListener(this);
-        panel1.add(typeBox, c1);
-
-        // third line panel1
-        c1.gridwidth = GridBagConstraints.REMAINDER; //end row
-        c1.fill = GridBagConstraints.BOTH;
-        c1.gridheight = 3;
-        panel1.add(new JLabel(" "), c1);
-
-        // fourth line panel1
-        c1.gridheight = 1;
-        c1.fill = GridBagConstraints.HORIZONTAL;
-        addButton = new JButton("Add / Modify " + attrib);
-        addButton.addActionListener(this);
-        panel1.add(addButton, c1);
-
-        // 1st line panel2
-        listAttribute = new JList<TAttribute> (this.attributes.toArray (new TAttribute[0]));
-        listAttribute.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
-        listAttribute.addListSelectionListener(this); //fixme
-        JScrollPane scrollPane = new JScrollPane(listAttribute);
-        scrollPane.setSize(500, 500);
-        c2.gridwidth = 2; //end row
-        c2.fill = GridBagConstraints.BOTH;
-        c2.gridheight = 5;
-        c2.weighty = 10.0;
-        c2.weightx = 10.0;
-        panel2.add(scrollPane, c2);
-
-        // 2nd line panel2
-        c2.weighty = 1.0;
-        c2.weightx = 1.0;
-        c2.fill = GridBagConstraints.BOTH;
-        c2.gridheight = 1;
-        panel2.add(new JLabel(""), c2);
-
-        // third line panel2
-        c2.gridwidth = GridBagConstraints.REMAINDER; //end row
-        c2.fill = GridBagConstraints.HORIZONTAL;
-        upButton = new JButton("  Up  ");
-        upButton.addActionListener(this);
-        panel2.add(upButton, c2);
-
-        downButton = new JButton("Down");
-        downButton.addActionListener(this);
-        panel2.add(downButton, c2);
-
-        removeButton = new JButton("Remove " + attrib);
-        removeButton.addActionListener(this);
-        panel2.add(removeButton, c2);
-
-        // Signals
-        panel5 = new JPanel();
-        panel5.setLayout(gridbag5);
-        panel5.setBorder(new javax.swing.border.TitledBorder("Adding signals"));
-        panel5.setPreferredSize(new Dimension(500, 500));
-
-        panel6 = new JPanel();
-        panel6.setLayout(gridbag6);
-        panel6.setBorder(new javax.swing.border.TitledBorder("Managing signals"));
-        panel6.setPreferredSize(new Dimension(500, 500));
-
-        // first line panel5
-        c5.gridwidth = 1;
-        c5.gridheight = 1;
-        c5.weighty = 1.0;
-        c5.weightx = 1.0;
-        c5.gridwidth = GridBagConstraints.REMAINDER; //end row
-        c5.fill = GridBagConstraints.BOTH;
-        c5.gridheight = 3;
-        panel5.add(new JLabel(" "), c5);
-
-        c5.gridwidth = 1;
-        c5.gridheight = 1;
-        c5.weighty = 1.0;
-        c5.weightx = 1.0;
-        c5.anchor = GridBagConstraints.CENTER;
-        c5.gridwidth = GridBagConstraints.REMAINDER; //end row
-        panel5.add(new JLabel("signal:"), c5);
-
-        // second line panel5
-        c5.gridwidth = 1;
-        c5.fill = GridBagConstraints.HORIZONTAL;
-        String[] v = new String[4];
-        v[0] = "in";
-        v[1] = "out";
-	v[2] = "hybrid in";
-	v[3] = "hybrid out";
-        signalInOutBox = new JComboBox<String>(v);
-        panel5.add(signalInOutBox, c5);
-        signalText = new JTextField();
-        signalText.setColumns(50);
-        signalText.setEditable(true);
-        panel5.add(signalText, c5);
-
-        // third line panel5
-        c5.gridwidth = GridBagConstraints.REMAINDER; //end row
-        c5.fill = GridBagConstraints.BOTH;
-        c5.gridheight = 3;
-        panel5.add(new JLabel(" "), c5);
-
-        // fourth line panel5
-        c5.gridheight = 1;
-        c5.fill = GridBagConstraints.HORIZONTAL;
-        addSignalButton = new JButton("Add signal");
-        addSignalButton.addActionListener(this);
-        panel5.add(addSignalButton, c5);
-
-        // 1st line panel6
-        listSignal = new JList<CAMSSignal> (this.signals.toArray (new CAMSSignal[0]));
-        listSignal.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
-        listSignal.addListSelectionListener(this);
-        scrollPane = new JScrollPane(listSignal);
-        scrollPane.setSize(500, 500);
-        c6.gridwidth = GridBagConstraints.REMAINDER; //end row
-        c6.fill = GridBagConstraints.BOTH;
-        c6.gridheight = 5;
-        c6.weighty = 10.0;
-        c6.weightx = 10.0;
-        panel6.add(scrollPane, c6);
-
-        // 2nd line panel4
-        c6.weighty = 1.0;
-        c6.weightx = 1.0;
-        c6.fill = GridBagConstraints.BOTH;
-        c6.gridheight = 1;
-        panel6.add(new JLabel(""), c6);
-
-        // third line panel4
-        c6.gridwidth = GridBagConstraints.REMAINDER; //end row
-        c6.fill = GridBagConstraints.HORIZONTAL;
-        upSignalButton = new JButton("Up");
-        upSignalButton.addActionListener(this);
-        panel6.add(upSignalButton, c6);
-
-        downSignalButton = new JButton("Down");
-        downSignalButton.addActionListener(this);
-        panel6.add(downSignalButton, c6);
-
-        removeSignalButton = new JButton("Remove signal");
-        removeSignalButton.addActionListener(this);
-        panel6.add(removeSignalButton, c6);
-
-        // Prototyping
-        panelCode = new JPanel();
-        panelCode.setLayout(gridbag7);
-
-        panelCode.setBorder(new javax.swing.border.TitledBorder("Process code"));
-        // guard
-        c7.weighty = 1.0;
-        c7.weightx = 1.0;
-        c7.gridwidth = 1;
-        c7.gridheight = 1;
-        c7.fill = GridBagConstraints.BOTH;
-        c7.gridwidth = GridBagConstraints.REMAINDER;
-        c7.gridheight = 1;
-
-
-        panelCode.add(new JLabel("Process code of block:"), c7);
-	//panelCode.add(new JLabel("To implement a method m of block B: \"userImplemented_B_m(...){...}\""), c7);
-        jtaProcessCode = new JTextArea();
-        jtaProcessCode.setEditable(true);
-        jtaProcessCode.setMargin(new Insets(10, 10, 10, 10));
-        jtaProcessCode.setTabSize(3);
-        String files = "";
-        if (processCode != null) {
-            for(int i=0; i<processCode.length; i++) {
-                files += processCode[i] + "\n";
-            }
-        }
-        jtaProcessCode.append(files);
-        jtaProcessCode.setFont(new Font("times", Font.PLAIN, 12));
-        JScrollPane jsp = new JScrollPane(jtaProcessCode, JScrollPane.VERTICAL_SCROLLBAR_ALWAYS, JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);
-        jsp.setPreferredSize(new Dimension(500, 500));
-        panelCode.add(jsp, c7);
-
-
-        // main panel;
-        panelAttr.add(panel1, BorderLayout.WEST);
-        panelAttr.add(panel2, BorderLayout.EAST);
-        tabbedPane.addTab("Attributes", panelAttr);
-
-        if (hasSignals) {
-            panelSignal.add(panel5, BorderLayout.WEST);
-            panelSignal.add(panel6, BorderLayout.EAST);
-            tabbedPane.addTab("Signals", panelSignal);
-        }
-
-        if (hasProcessCode) {
-            tabbedPane.addTab("Process", panelCode);
-        }
-
-        tabbedPane.setSelectedIndex(tab);
-
-        //c.add(panel1, c0);
-        //c.add(panel2, c0);
-
-        c0.gridwidth = 1;
-        c0.gridheight = 10;
-        c0.weighty = 1.0;
-        c0.weightx = 1.0;
-        c0.gridwidth = GridBagConstraints.REMAINDER; //end row
-        c0.fill = GridBagConstraints.HORIZONTAL;
-        c.add(tabbedPane, c0);
-
-        c0.gridwidth = 1;
-        c0.gridheight = 1;
-        c0.fill = GridBagConstraints.HORIZONTAL;
-        
-        closeButton = new JButton("Save and Close", IconManager.imgic25);
-        //closeButton.setPreferredSize(new Dimension(600, 50));
-        closeButton.addActionListener(this);
-        c.add(closeButton, c0);
-        c0.gridwidth = GridBagConstraints.REMAINDER; //end row
-        cancelButton = new JButton("Cancel", IconManager.imgic27);
-        cancelButton.addActionListener(this);
-        c.add(cancelButton, c0);
-    }
-
-    public void actionPerformed(ActionEvent evt)  {
-        if (evt.getSource() == typeBox) {
-            boolean b = initValues.get (typeBox.getSelectedIndex()).booleanValue();
-            initialValue.setEnabled(b);
-            return;
-        }
-
-
-        //String command = evt.getActionCommand();
-
-        // Compare the action command to the known actions.
-        if (evt.getSource() == closeButton)  {
-            closeDialog();
-        } else if (evt.getSource() == addButton) {
-            addAttribute();
-        } else if (evt.getSource() == cancelButton) {
-            cancelDialog();
-        } else if (evt.getSource() == removeButton) {
-            removeAttribute();
-        } else if (evt.getSource() == downButton) {
-            downAttribute();
-        } else if (evt.getSource() == upButton) {
-            upAttribute();
-        } else if (evt.getSource() == downSignalButton) {
-            downSignal();
-        } else if (evt.getSource() == upSignalButton) {
-            upSignal();
-        } else if (evt.getSource() == removeSignalButton) {
-            removeSignal();
-        } else if (evt.getSource() == addSignalButton) {
-            addSignal();
-	}
-    }
-
-    public void addAccess(String s) {
-        accessBox.addItem(s);
-    }
-
-    public void addType(String s) {
-        initValues.add(new Boolean(true));
-        typeBox.addItem(s);
-    }
-
-    public void addType(String s, boolean b) {
-        initValues.add(new Boolean(b));
-        typeBox.addItem(s);
-    }
-
-    public void enableInitialValue(boolean b) {
-        initialValue.setEnabled(b);
-    }
-
-    public void enableRTLOTOSKeyword(boolean b) {
-        checkKeyword = !b;
-    }
-
-    public void enableJavaKeyword(boolean b) {
-        checkJavaKeyword = !b;
-    }
-
-
-
-    public void addAttribute() {
-         Object o1 = accessBox.getSelectedItem();
-         Object o2 = typeBox.getSelectedItem();
-         String s = identifierText.getText();
-         String value = initialValue.getText();
-         TAttribute a;
-
-         if (s.length()>0) {
-             if ((TAttribute.isAValidId(s, checkKeyword, checkJavaKeyword)) && (TAttribute.notIn(s, forbidden))){
-                 int i = TAttribute.getAccess(o1.toString());
-                 int j = TAttribute.getCAMSType(o2.toString());
-		 if ((j == TAttribute.ARRAY_NAT) && (value.length() < 1)) {
-                     value = "2";
-                }
-
-                if ((i != -1) && (j!= -1)) {
-
-                    if ((value.length() < 1) || (initialValue.isEnabled() == false)){
-
-                        value = "";
-                    } else {
-                        if (!TAttribute.isAValidInitialValue(j, value)) {
-                            JOptionPane.showMessageDialog(frame,
-                                                          "The initial value is not valid",
-                                                          "Error",
-                                                          JOptionPane.INFORMATION_MESSAGE);
-                            return;
-                        }
-                    }
-                    if (j == TAttribute.OTHER) {
-                        a = new TAttribute(i, s, value, o2.toString());
-                        a.isCAMS = true;
-                        //System.out.println("New attribute: " + o2.toString());
-                    } else {
-                        a = new TAttribute(i, s, value, j);
-                        a.isCAMS = true;
-                    }
-                    //checks whether the same attribute already belongs to the list
-                    int index = attributes.size();
-                    if (attributes.contains(a)) {
-                        index = attributes.indexOf(a);
-                        a = attributes.get (index);
-                        a.setAccess(i);
-                        if (j == TAttribute.OTHER) {
-                            a.setTypeOther(o2.toString());
-                        }
-                        a.setType(j);
-                        a.setInitialValue(value);
-                    } else {
-                        attributes.add(index, a);
-                    }
-                    listAttribute.setListData(attributes.toArray (new TAttribute[0]));
-                    identifierText.setText("");
-                } else {
-                    JOptionPane.showMessageDialog(frame,
-                                                  "Bad access / type",
-                                                  "Error",
-                                                  JOptionPane.INFORMATION_MESSAGE);
-                    return;
-                }
-            } else {
-                JOptionPane.showMessageDialog(frame,
-                                              "Bad identifier: identifier already in use, or invalid identifier",
-                                              "Error",
-                                              JOptionPane.INFORMATION_MESSAGE);
-                return;
-            }
-        } else {
-            JOptionPane.showMessageDialog(frame,
-                                          "Bad identifier",
-                                          "Error",
-                                          JOptionPane.INFORMATION_MESSAGE);
-            return;
-        }
-    }
-
- 
-    public void addSignal() {
-        String s = signalText.getText();
-        CAMSSignal cs = CAMSSignal.isAValidSignal(s, signalInOutBox.getSelectedIndex());
-        CAMSSignal cstmp;
-	int inout;
-
-        if (cs != null) {
-            // Checks whether the same signal already belongs to the list
-            int index = -1;
-            for(int i=0; i<signals.size(); i++) {
-                cstmp = signals.get(i);
-                // Same id?
-                if (cstmp.equals(cs)) {
-                    index = i;
-                    break;
-                }
-            }  
-	    if(signalInOutBox.getSelectedIndex()==0){
-		inout=0;
-	    }else if(signalInOutBox.getSelectedIndex()==1){
-		inout=1;
-	    }else if(signalInOutBox.getSelectedIndex()==2){
-		inout=2;
-	    }else if(signalInOutBox.getSelectedIndex()==3){
-		inout=3;
-	    }else{
-		inout=-1;
-	    }
-	    cs = new CAMSSignal(s,inout);
-            if (index == -1) {
-                signals.add(cs);
-            } else {
-                signals.remove (index);
-                signals.add (index, cs);
-            }
-            listSignal.setListData(signals.toArray (new CAMSSignal[0]));
-            signalText.setText("");
-
-        } else {
-            JOptionPane.showMessageDialog(frame,
-                                          "Badly formatted signal declaration",
-                                          "Error",
-                                          JOptionPane.INFORMATION_MESSAGE);
-            return;
-        }
-    }
-
-    public void removeAttribute() {
-        int i = listAttribute.getSelectedIndex() ;
-        if (i!= -1) {
-            TAttribute a = attributes.get (i);
-            a.setAccess(-1);
-            attributes.remove (i);
-            listAttribute.setListData(attributes.toArray (new TAttribute[0]));
-        }
-    }
-
-    public void downAttribute() {
-        int i = listAttribute.getSelectedIndex();
-        if ((i!= -1) && (i != attributes.size() - 1)) {
-            TAttribute o = attributes.get (i);
-            attributes.remove (i);
-            attributes.add (i+1, o);
-            listAttribute.setListData(attributes.toArray (new TAttribute[0]));
-            listAttribute.setSelectedIndex(i+1);
-        }
-    }
-
-    public void upAttribute() {
-        int i = listAttribute.getSelectedIndex();
-        if (i > 0) {
-            TAttribute o = attributes.get (i);
-            attributes.remove (i);
-            attributes.add (i-1, o);
-            listAttribute.setListData(attributes.toArray (new TAttribute[0]));
-            listAttribute.setSelectedIndex(i-1);
-        }
-    }
-
-    public void removeSignal() {
-        int i = listSignal.getSelectedIndex() ;
-        if (i!= -1) {
-            signals.remove (i);
-            listSignal.setListData(signals.toArray (new CAMSSignal [0]));
-        }
-    }
-
-    public void upSignal() {
-        int i = listSignal.getSelectedIndex();
-        if (i > 0) {
-            CAMSSignal o = signals.get (i);
-            signals.remove (i);
-            signals.add (i-1, o);
-            listSignal.setListData(signals.toArray (new CAMSSignal [0]));
-            listSignal.setSelectedIndex(i-1);
-        }
-    }
-
-    public void downSignal() {
-        int i = listSignal.getSelectedIndex();
-        if ((i!= -1) && (i != signals.size() - 1)) {
-            CAMSSignal o = signals.get (i);
-            signals.remove(i);
-            signals.add (i+1, o);
-            listSignal.setListData(signals.toArray (new CAMSSignal [0]));
-            listSignal.setSelectedIndex(i+1);
-        }
-    }
-
-
-    public void closeDialog() {
-        cancelled = false;
-        attributesPar.clear ();
-        for(TAttribute attr: this.attributes)
-            attributesPar.add (attr);
-
-        signalsPar.clear ();
-        for(CAMSSignal sig: this.signals)
-            signalsPar.add (sig);
-
-        processCode =  Conversion.wrapText(jtaProcessCode.getText());
-        dispose();
-    }
-
-    public boolean hasBeenCancelled() {
-        return cancelled;
-    }
-
-    public boolean isRegularClose() {
-	return regularClose;
-    }
-
-    public void cancelDialog() {
-        dispose();
-    }
-
-    public void valueChanged(ListSelectionEvent e) {
-        int i = listAttribute.getSelectedIndex() ;
-        if (i == -1) {
-            removeButton.setEnabled(false);
-            upButton.setEnabled(false);
-            downButton.setEnabled(false);
-            identifierText.setText("");
-            //initialValue.setText("");
-        } else {
-            TAttribute a = attributes.get (i);
-            identifierText.setText(a.getId());
-            initialValue.setText(a.getInitialValue());
-            select(accessBox, TAttribute.getStringAccess(a.getAccess()));
-            if (a.getType() == TAttribute.OTHER) {
-                select(typeBox, a.getTypeOther());
-            } else {
-		//select(typeBox, TAttribute.getStringCAMSType(a.getType())); //fixme
-            }
-            removeButton.setEnabled(true);
-            if (i > 0) {
-                upButton.setEnabled(true);
-            } else {
-                upButton.setEnabled(false);
-            }
-            if (i != attributes.size() - 1) {
-                downButton.setEnabled(true);
-            } else {
-                downButton.setEnabled(false);
-            }
-        }
-
-        i = listSignal.getSelectedIndex() ;
-        if (i == -1) {
-            removeSignalButton.setEnabled(false);
-            upSignalButton.setEnabled(false);
-            downSignalButton.setEnabled(false);
-            signalText.setText("");
-            //initialValue.setText("");
-        } else {
-            CAMSSignal as = signals.get (i);
-            //signalText.setText(as.toBasicString()); //fixme
-	    // signalInOutBox.setSelectedIndex(as.getInOut());
-            removeSignalButton.setEnabled(true);
-            if (i > 0) {
-                upSignalButton.setEnabled(true);
-            } else {
-                upSignalButton.setEnabled(false);
-            }
-            if (i != signals.size() - 1) {
-                downSignalButton.setEnabled(true);
-            } else {
-                downSignalButton.setEnabled(false);
-            }
-        }
-    }
-
-    public void select(JComboBox<String> jcb, String text) {
-        String s;
-        for(int i=0; i<jcb.getItemCount(); i++) {
-            s = jcb.getItemAt(i);
-            if (s.equals(text)) {
-                jcb.setSelectedIndex(i);
-                return;
-            }
-        }
-    }
-
-
-    public String getBlockName() {
-	if(blockName.getText() == null || blockName.getText() == "" || blockName.getText() == " ") {
-	    return "Block0";
-	} else {
-	    return blockName.getText();
-	}
-    }
-
-    public LinkedList<CAMSSignal> getSignals(){
-	return signals;
-    }
-
-    public String[] getProcessCode() {
-        return processCode;
-    }
-
-}
diff --git a/src/main/java/ui/window/JDialogCAMSConnectingPoint.java b/src/main/java/ui/window/JDialogCAMSConnectingPoint.java
deleted file mode 100755
index ec5a9c91cf53fc03f3215e5c9da42d149a4ef8e2..0000000000000000000000000000000000000000
--- a/src/main/java/ui/window/JDialogCAMSConnectingPoint.java
+++ /dev/null
@@ -1,201 +0,0 @@
-/* Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille
- * 
- * ludovic.apvrille AT enst.fr
- * 
- * This software is a computer program whose purpose is to allow the
- * edition of TURTLE analysis, design and deployment diagrams, to
- * allow the generation of RT-LOTOS or Java code from this diagram,
- * and at last to allow the analysis of formal validation traces
- * obtained from external tools, e.g. RTL from LAAS-CNRS and CADP
- * from INRIA Rhone-Alpes.
- * 
- * This software is governed by the CeCILL  license under French law and
- * abiding by the rules of distribution of free software.  You can  use,
- * modify and/ or redistribute the software under the terms of the CeCILL
- * license as circulated by CEA, CNRS and INRIA at the following URL
- * "http://www.cecill.info".
- * 
- * As a counterpart to the access to the source code and  rights to copy,
- * modify and redistribute granted by the license, users are provided only
- * with a limited warranty  and the software's author,  the holder of the
- * economic rights,  and the successive licensors  have only  limited
- * liability.
- * 
- * In this respect, the user's attention is drawn to the risks associated
- * with loading,  using,  modifying and/or developing or reproducing the
- * software by the user in light of its specific status of free software,
- * that may mean  that it is complicated to manipulate,  and  that  also
- * therefore means  that it is reserved for developers  and  experienced
- * professionals having in-depth computer knowledge. Users are therefore
- * encouraged to load and test the software's suitability as regards their
- * requirements in conditions enabling the security of their systems and/or
- * data to be ensured and,  more generally, to use and operate it in the
- * same conditions as regards security.
- * 
- * The fact that you are presently reading this means that you have had
- * knowledge of the CeCILL license and that you accept its terms.
- */
-
-
-
-
-package ui.window;
-
-import ui.util.IconManager;
-import ui.het.*;
-
-import javax.swing.*;
-import java.awt.*;
-import java.awt.event.ActionEvent;
-import java.awt.event.ActionListener;
-
-//import javax.swing.event.*;
-//import java.util.*;
-
-
-/**
-* Class JDialogADDCPUNode
-* Dialog for managing attributes of cpu nodes in ADD
-* Creation: 02/07/2014
-* @version 1.0 02/07/2014
-* @author Ludovic APVRILLE
- */
-public class JDialogCAMSConnectingPoint extends JDialogBase implements ActionListener {
-
-    private boolean regularClose;
-    
-    private JPanel panel2;
-    private Frame frame;
-    public CAMSConnectingPoint ccp;
-    
-    protected JComboBox<String> tracemode;
-    private static int  selectedTracemode = 0;
-    
-    
-    // Panel1
-    protected JTextField ccpName;
-    
-    // Panel2
-    protected JTextField type, rate;
-    
-	/** Creates new form  */
-	public JDialogCAMSConnectingPoint(Frame _frame, String _title, CAMSConnectingPoint _ccp) {
-		super(_frame, _title, true);
-		frame = _frame;
-		ccp = _ccp;
-		
-		initComponents();
-		myInitComponents();
-		pack();
-	}
-	
-	private void myInitComponents() {
-	}
-	
-	private void initComponents() {
-		Container c = getContentPane();
-		GridBagLayout gridbag0 = new GridBagLayout();
-		GridBagLayout gridbag1 = new GridBagLayout();
-		GridBagLayout gridbag2 = new GridBagLayout();
-		GridBagConstraints c0 = new GridBagConstraints();
-		//GridBagConstraints c1 = new GridBagConstraints();
-		GridBagConstraints c2 = new GridBagConstraints();
-		
-		setFont(new Font("Helvetica", Font.PLAIN, 14));
-		c.setLayout(gridbag0);
-		
-		setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
-		
-		
-		panel2 = new JPanel();
-		panel2.setLayout(gridbag2);
-		panel2.setBorder(new javax.swing.border.TitledBorder("Connecting Point attributes"));
-		panel2.setPreferredSize(new Dimension(400, 300));
-		
-		c2.gridwidth = 1;
-		c2.gridheight = 1;
-		c2.weighty = 1.0;
-		c2.weightx = 1.0;
-		c2.fill = GridBagConstraints.HORIZONTAL;
-		panel2.add(new JLabel("Connecting Point name:"), c2);
-		c2.gridwidth = GridBagConstraints.REMAINDER; //end row
-		ccpName = new JTextField(ccp.getccpName(), 30);
-		ccpName.setEditable(true);
-		ccpName.setFont(new Font("times", Font.PLAIN, 12));
-		panel2.add(ccpName, c2);
-		
-		c2.gridwidth = 1;
-		c2.gridheight = 1;
-		c2.weighty = 1.0;
-		c2.weightx = 1.0;
-		c2.fill = GridBagConstraints.HORIZONTAL;
-	
-		
-		c2.gridwidth = 1;
-		panel2.add(new JLabel("Type :"), c2);
-		c2.gridwidth = GridBagConstraints.REMAINDER; //end row
-		type = new JTextField(""+ccp.getPointType(), 15);
-		panel2.add(type, c2);
-		
-		c2.gridwidth = 1;
-		panel2.add(new JLabel("Rate:"), c2);
-		c2.gridwidth = GridBagConstraints.REMAINDER; //end row
-		rate = new JTextField(""+ccp.getRate(), 15);
-		panel2.add(rate, c2);
-	       		
-		// main panel;
-		c0.gridheight = 10;
-		c0.weighty = 1.0;
-		c0.weightx = 1.0;
-		c0.gridwidth = GridBagConstraints.REMAINDER; //end row
-		c.add(panel2, c0);
-		
-		c0.gridwidth = 1;
-		c0.gridheight = 1;
-		c0.fill = GridBagConstraints.HORIZONTAL;
-		
-		initButtons(c0, c, this);
-	}
-	
-	public void	actionPerformed(ActionEvent evt)  {
-		
-	    	if (evt.getSource() == tracemode) {
-		    selectedTracemode = tracemode.getSelectedIndex();          
-		}
-		
-		String command = evt.getActionCommand();
-		
-		// Compare the action command to the known actions.
-		if (command.equals("Save and Close"))  {
-			closeDialog();
-		} else if (command.equals("Cancel")) {
-			cancelDialog();
-		}
-	}
-	
-	public void closeDialog() {
-	    regularClose = true;
-	    dispose();
-	}
-	
-	public void cancelDialog() {
-	    dispose();
-	}
-	
-	public boolean isRegularClose() {
-	    return regularClose;
-	}
-	
-	public String getccpName() {
-	    return ccpName.getText();
-	}
-	
-	public String getPointType() {
-	    return type.getText();
-	}
-	
-	public String getRate() {
-	    return rate.getText();
-	}       
-	
-}//class
\ No newline at end of file
diff --git a/src/main/java/ui/window/JDialogCCodeGeneration.java b/src/main/java/ui/window/JDialogCCodeGeneration.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogCPUNode.java b/src/main/java/ui/window/JDialogCPUNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogCancel.java b/src/main/java/ui/window/JDialogCancel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogChannel.java b/src/main/java/ui/window/JDialogChannel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogCode.java b/src/main/java/ui/window/JDialogCode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogCommunicationArtifact.java b/src/main/java/ui/window/JDialogCommunicationArtifact.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogConstraint.java b/src/main/java/ui/window/JDialogConstraint.java
old mode 100755
new mode 100644
index 32408717b1829bd180cd3a2be390542c0af38cab..f4e8428a5dd4f7e4cd7d9b971abafd424cff3522
--- a/src/main/java/ui/window/JDialogConstraint.java
+++ b/src/main/java/ui/window/JDialogConstraint.java
@@ -125,7 +125,6 @@ public class JDialogConstraint extends JDialogBase implements ActionListener  {
         c0.weighty = 1.0;
         c0.weightx = 1.0;
         c0.gridwidth = GridBagConstraints.REMAINDER; //end row
-        c0.fill = GridBagConstraints.BOTH;
         c.add(panel2, c0);
         
         c0.gridwidth = 1;
diff --git a/src/main/java/ui/window/JDialogConstraintText.java b/src/main/java/ui/window/JDialogConstraintText.java
old mode 100755
new mode 100644
index d58e9a9c300d340d70b5116d5ea4b2590552d53f..52def0b2f771bc6aa84e8ea17ca90a07b9c03e7c
--- a/src/main/java/ui/window/JDialogConstraintText.java
+++ b/src/main/java/ui/window/JDialogConstraintText.java
@@ -134,7 +134,6 @@ public class JDialogConstraintText extends JDialogBase implements ActionListener
         c0.weighty = 1.0;
         c0.weightx = 1.0;
         c0.gridwidth = GridBagConstraints.REMAINDER; //end row
-        c0.fill = GridBagConstraints.BOTH;
         c.add(panel2, c0);
 
         c0.gridwidth = 1;
diff --git a/src/main/java/ui/window/JDialogCountermeasure.java b/src/main/java/ui/window/JDialogCountermeasure.java
old mode 100755
new mode 100644
index 2b36507d22b3aaa5fa117b85047eabc47bdf82ee..f03d2c3a214c21cfc24e5e6190048942f2163f3e
--- a/src/main/java/ui/window/JDialogCountermeasure.java
+++ b/src/main/java/ui/window/JDialogCountermeasure.java
@@ -143,7 +143,6 @@ public class JDialogCountermeasure extends JDialogBase implements ActionListener
         c0.weighty = 1.0;
         c0.weightx = 1.0;
         c0.gridwidth = GridBagConstraints.REMAINDER; //end row
-        c0.fill = GridBagConstraints.BOTH;
         c.add(panel2, c0);
 
         c0.gridwidth = 1;
diff --git a/src/main/java/ui/window/JDialogCrossbarNode.java b/src/main/java/ui/window/JDialogCrossbarNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogEventArtifact.java b/src/main/java/ui/window/JDialogEventArtifact.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogFPGANode.java b/src/main/java/ui/window/JDialogFPGANode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogFault.java b/src/main/java/ui/window/JDialogFault.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogFaultCountermeasure.java b/src/main/java/ui/window/JDialogFaultCountermeasure.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogFormalValidation.java b/src/main/java/ui/window/JDialogFormalValidation.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogGenAUT.java b/src/main/java/ui/window/JDialogGenAUT.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogGenAUTS.java b/src/main/java/ui/window/JDialogGenAUTS.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogGraphModification.java b/src/main/java/ui/window/JDialogGraphModification.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogHwANode.java b/src/main/java/ui/window/JDialogHwANode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogJavaGeneration.java b/src/main/java/ui/window/JDialogJavaGeneration.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogJavaSimulation.java b/src/main/java/ui/window/JDialogJavaSimulation.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogLOTOSAnalysis.java b/src/main/java/ui/window/JDialogLOTOSAnalysis.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogLOTOSValidation.java b/src/main/java/ui/window/JDialogLOTOSValidation.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogLinkNCNode.java b/src/main/java/ui/window/JDialogLinkNCNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogLinkNode.java b/src/main/java/ui/window/JDialogLinkNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogManageListOfString.java b/src/main/java/ui/window/JDialogManageListOfString.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogMemoryNode.java b/src/main/java/ui/window/JDialogMemoryNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogModelChecking.java b/src/main/java/ui/window/JDialogModelChecking.java
old mode 100755
new mode 100644
index aa649c5d59a452e017f0a640072dac7d1f3f6c95..aaf1595a5588d71e03c276c4053bb8032ecb2de9
--- a/src/main/java/ui/window/JDialogModelChecking.java
+++ b/src/main/java/ui/window/JDialogModelChecking.java
@@ -37,11 +37,13 @@
  */
 
 
+
+
 package ui.window;
 
+import ui.util.IconManager;
 import ui.TClassInterface;
 import ui.TGComponent;
-import ui.util.IconManager;
 
 import javax.swing.*;
 import javax.swing.event.ListSelectionEvent;
@@ -53,14 +55,13 @@ import java.util.Iterator;
 import java.util.LinkedList;
 
 /**
- * Class JDialogModelChecking
- * Dialog for managing Tclasses to be validated
- * Creation: 13/12/2003
- *
- * @author Ludovic APVRILLE
- * @version 1.0 13/12/2003
+   * Class JDialogModelChecking
+   * Dialog for managing Tclasses to be validated
+   * Creation: 13/12/2003
+   * @version 1.0 13/12/2003
+   * @author Ludovic APVRILLE
  */
-public class JDialogModelChecking extends JDialogBase implements ActionListener, ListSelectionListener {
+public class JDialogModelChecking extends JDialogBase implements ActionListener, ListSelectionListener  {
     public static java.util.List<TClassInterface> validated, ignored;
     private static boolean overideSyntaxChecking = false;
 
@@ -76,9 +77,7 @@ public class JDialogModelChecking extends JDialogBase implements ActionListener,
     private JButton allIgnored;
     protected JCheckBox syntax;
 
-    /**
-     * Creates new form
-     */
+    /** Creates new form  */
     public JDialogModelChecking(Frame f, LinkedList<TClassInterface> _back, java.util.List<TGComponent> componentList, String title) {
         super(f, title, true);
 
@@ -87,7 +86,7 @@ public class JDialogModelChecking extends JDialogBase implements ActionListener,
         if ((validated == null) || (ignored == null)) {
             val = makeNewVal(componentList);
             //System.out.println("Val size: " + val.size() + "component list:" + componentList.size());
-            ign = new LinkedList<TClassInterface>();
+            ign = new LinkedList<TClassInterface> ();
         } else {
             val = validated;
             ign = ignored;
@@ -102,28 +101,28 @@ public class JDialogModelChecking extends JDialogBase implements ActionListener,
     }
 
     private java.util.List<TClassInterface> makeNewVal(java.util.List<TGComponent> list) {
-        java.util.List<TClassInterface> v = new LinkedList<TClassInterface>();
+    	java.util.List<TClassInterface> v = new LinkedList<TClassInterface> ();
 
-        for (TGComponent tgc : list)
+        for (TGComponent tgc: list)
             if (tgc instanceof TClassInterface)
-                v.add((TClassInterface) tgc);
+                v.add ((TClassInterface) tgc);
 
         return v;
     }
 
     private void checkTClasses(java.util.List<TClassInterface> tobeChecked, java.util.List<TGComponent> source) {
-        Iterator<TClassInterface> iter = tobeChecked.iterator();
-        while (iter.hasNext()) {
-            TClassInterface t = iter.next();
+        Iterator<TClassInterface> iter = tobeChecked.iterator ();
+        while (iter.hasNext ()) {
+            TClassInterface t = iter.next ();
             if (!source.contains(t))
-                iter.remove();
+                iter.remove ();
         }
     }
 
     public void addNewTclasses(java.util.List<TClassInterface> added, java.util.List<TGComponent> source, java.util.List<TClassInterface> notSource) {
-        for (TGComponent tgc : source)
+        for (TGComponent tgc: source)
             if ((tgc instanceof TClassInterface) && (!added.contains(tgc)) && (!notSource.contains(tgc)))
-                added.add((TClassInterface) tgc);
+                added.add ((TClassInterface) tgc);
     }
 
     private void myInitComponents() {
@@ -134,39 +133,35 @@ public class JDialogModelChecking extends JDialogBase implements ActionListener,
         Container c = getContentPane();
         GridBagLayout gridbag1 = new GridBagLayout();
         GridBagConstraints c1 = new GridBagConstraints();
-        GridBagLayout gridbag0 = new GridBagLayout();
-        GridBagConstraints c0 = new GridBagConstraints();
         setFont(new Font("Helvetica", Font.PLAIN, 14));
-        //c.setLayout(new BorderLayout());
-        c.setLayout(gridbag0);
-        JPanel mainPanel = new JPanel(new BorderLayout());
+        c.setLayout(new BorderLayout());
         setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
 
         // ignored list
         panel1 = new JPanel();
         panel1.setLayout(new BorderLayout());
         panel1.setBorder(new javax.swing.border.TitledBorder("Ignored"));
-        listIgnored = new JList<TClassInterface>(ign.toArray(new TClassInterface[0]));
+        listIgnored = new JList<TClassInterface> (ign.toArray (new TClassInterface[0]));
         //listIgnored.setPreferredSize(new Dimension(200, 250));
-        listIgnored.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
+        listIgnored.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION );
         listIgnored.addListSelectionListener(this);
         JScrollPane scrollPane1 = new JScrollPane(listIgnored);
         panel1.add(scrollPane1, BorderLayout.CENTER);
         panel1.setPreferredSize(new Dimension(200, 250));
-        mainPanel.add(panel1, BorderLayout.WEST);
+        c.add(panel1, BorderLayout.WEST);
 
         // validated list
         panel2 = new JPanel();
         panel2.setLayout(new BorderLayout());
         panel2.setBorder(new javax.swing.border.TitledBorder("Taken into account"));
-        listValidated = new JList<TClassInterface>(val.toArray(new TClassInterface[0]));
+        listValidated = new JList<TClassInterface> (val.toArray (new TClassInterface[0]));
         //listValidated.setPreferredSize(new Dimension(200, 250));
-        listValidated.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
+        listValidated.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION );
         listValidated.addListSelectionListener(this);
         JScrollPane scrollPane2 = new JScrollPane(listValidated);
         panel2.add(scrollPane2, BorderLayout.CENTER);
         panel2.setPreferredSize(new Dimension(200, 250));
-        mainPanel.add(panel2, BorderLayout.EAST);
+        c.add(panel2, BorderLayout.EAST);
 
         // central buttons
         panel3 = new JPanel();
@@ -204,15 +199,9 @@ public class JDialogModelChecking extends JDialogBase implements ActionListener,
         allIgnored.setActionCommand("allIgnored");
         panel3.add(allIgnored, c1);
 
-        mainPanel.add(panel3, BorderLayout.CENTER);
+        c.add(panel3, BorderLayout.CENTER);
 
         // main panel;
-        c0.gridwidth = 1;
-        c0.gridheight = 10;
-        c0.weighty = 1.0;
-        c0.weightx = 1.0;
-        c0.gridwidth = GridBagConstraints.REMAINDER; //end row
-        c0.fill = GridBagConstraints.BOTH;
         panel6 = new JPanel();
         panel6.setLayout(new BorderLayout());
 
@@ -240,20 +229,19 @@ public class JDialogModelChecking extends JDialogBase implements ActionListener,
         panel6.add(panel5, BorderLayout.NORTH);
         panel6.add(panel4, BorderLayout.SOUTH);
 
-        c.add(mainPanel, c0);
-        c.add(panel6, c0);
+        c.add(panel6, BorderLayout.SOUTH);
 
     }
 
-    public void actionPerformed(ActionEvent evt) {
+    public void actionPerformed(ActionEvent evt)  {
         String command = evt.getActionCommand();
 
         // Compare the action command to the known actions.
-        if (command.equals("Start Syntax Analysis")) {
+        if (command.equals("Start Syntax Analysis"))  {
             closeDialog();
         } else if (command.equals("Cancel")) {
             cancelDialog();
-        } else if (command.equals("addOneIgnored")) {
+	} else if (command.equals("addOneIgnored")) {
             addOneIgnored();
         } else if (command.equals("addOneValidated")) {
             addOneValidated();
@@ -266,48 +254,48 @@ public class JDialogModelChecking extends JDialogBase implements ActionListener,
 
 
     private void addOneIgnored() {
-        for (TClassInterface c : this.listValidated.getSelectedValuesList()) {
-            ign.add(c);
-            val.remove(c);
+        for (TClassInterface c: this.listValidated.getSelectedValuesList ()) {
+            ign.add (c);
+            val.remove (c);
         }
 
-        listIgnored.setListData(ign.toArray(new TClassInterface[0]));
-        listValidated.setListData(val.toArray(new TClassInterface[0]));
+        listIgnored.setListData(ign.toArray (new TClassInterface [0]));
+        listValidated.setListData(val.toArray (new TClassInterface [0]));
         this.setButtons();
     }
 
     private void addOneValidated() {
-        for (TClassInterface c : this.listIgnored.getSelectedValuesList()) {
-            ign.remove(c);
-            val.add(c);
+        for (TClassInterface c: this.listIgnored.getSelectedValuesList ()) {
+            ign.remove (c);
+            val.add (c);
         }
 
-        listIgnored.setListData(ign.toArray(new TClassInterface[0]));
-        listValidated.setListData(val.toArray(new TClassInterface[0]));
+        listIgnored.setListData(ign.toArray (new TClassInterface [0]));
+        listValidated.setListData(val.toArray (new TClassInterface [0]));
         setButtons();
     }
 
     private void allValidated() {
-        val.addAll(ign);
-        ign.clear();
-        listIgnored.setListData(ign.toArray(new TClassInterface[0]));
-        listValidated.setListData(val.toArray(new TClassInterface[0]));
+        val.addAll (ign);
+        ign.clear ();
+        listIgnored.setListData(ign.toArray (new TClassInterface[0]));
+        listValidated.setListData(val.toArray (new TClassInterface[0]));
         this.setButtons();
     }
 
     private void allIgnored() {
         ign.addAll(val);
-        val.clear();
-        listIgnored.setListData(ign.toArray(new TClassInterface[0]));
-        listValidated.setListData(val.toArray(new TClassInterface[0]));
+        val.clear ();
+        listIgnored.setListData(ign.toArray (new TClassInterface[0]));
+        listValidated.setListData(val.toArray (new TClassInterface[0]));
         setButtons();
     }
 
 
     public void closeDialog() {
-        back.clear();
-        for (int i = 0; i < val.size(); i++) {
-            back.add(val.get(i));
+        back.clear ();
+        for(int i=0; i<val.size(); i++) {
+            back.add (val.get (i));
         }
         validated = val;
         ignored = ign;
@@ -337,13 +325,13 @@ public class JDialogModelChecking extends JDialogBase implements ActionListener,
             //listIgnored.clearSelection();
         }
 
-        if (ign.size() == 0) {
+        if (ign.size() ==0) {
             allValidated.setEnabled(false);
         } else {
             allValidated.setEnabled(true);
         }
 
-        if (val.size() == 0) {
+        if (val.size() ==0) {
             allIgnored.setEnabled(false);
             closeButton.setEnabled(false);
         } else {
@@ -358,9 +346,9 @@ public class JDialogModelChecking extends JDialogBase implements ActionListener,
 
     public int nbStart() {
         int cpt = 0;
-        for (TClassInterface t : val)
+        for (TClassInterface t: val)
             if (t.isStart())
-                cpt++;
+                cpt ++;
 
         return cpt;
     }
diff --git a/src/main/java/ui/window/JDialogMultiString.java b/src/main/java/ui/window/JDialogMultiString.java
old mode 100755
new mode 100644
index 102f2ca04785379cbba524979335d39bb13f71e8..5b15a85594fec594c72fac5a5fd62c4de2900458
--- a/src/main/java/ui/window/JDialogMultiString.java
+++ b/src/main/java/ui/window/JDialogMultiString.java
@@ -37,8 +37,12 @@
  */
 
 
+
+
 package ui.window;
 
+import ui.util.IconManager;
+
 import javax.swing.*;
 import java.awt.*;
 import java.awt.event.ActionEvent;
@@ -47,17 +51,16 @@ import java.util.ArrayList;
 import java.util.HashMap;
 
 /**
- * Class JDialogMultiString
- * Dialog for managing several string components
- * Creation: 18/11/2005
- *
- * @author Ludovic APVRILLE
- * @version 1.0 18/11/2005
+   * Class JDialogMultiString
+   * Dialog for managing several string components
+   * Creation: 18/11/2005
+   * @version 1.0 18/11/2005
+   * @author Ludovic APVRILLE
  */
-public class JDialogMultiString extends JDialogBase implements ActionListener {
+public class JDialogMultiString extends JDialogBase implements ActionListener  {
 
-    private String[] labels;
-    private String[] values;
+    private String [] labels;
+    private String [] values;
 
     private int nbString;
 
@@ -66,16 +69,14 @@ public class JDialogMultiString extends JDialogBase implements ActionListener {
     private JPanel panel1;
 
     // Panel1
-    private JTextField[] texts;
+    private JTextField [] texts;
     private JButton inserts[];
     private HashMap<Integer, JComboBox<String>> helps;
 
     private ArrayList<String[]> possibleValues = null;
 
 
-    /**
-     * Creates new form
-     */
+    /** Creates new form  */
     // arrayDelay: [0] -> minDelay ; [1] -> maxDelay
     public JDialogMultiString(Frame f, String title, int _nbString, String[] _labels, String[] _values) {
 
@@ -86,6 +87,7 @@ public class JDialogMultiString extends JDialogBase implements ActionListener {
         values = _values;
 
 
+
         texts = new JTextField[nbString];
 
         initComponents();
@@ -114,8 +116,8 @@ public class JDialogMultiString extends JDialogBase implements ActionListener {
     }
 
     private void initComponents() {
-        inserts = new JButton[labels.length];
-        helps = new HashMap<>();
+	inserts = new JButton[labels.length];
+	helps = new HashMap<>();
 
         Container c = getContentPane();
         GridBagLayout gridbag0 = new GridBagLayout();
@@ -153,24 +155,24 @@ public class JDialogMultiString extends JDialogBase implements ActionListener {
         c1.anchor = GridBagConstraints.CENTER;
 
         // String1
-        for (int i = 0; i < nbString; i++) {
-            c1.gridwidth = 1;
+        for(int i=0; i<nbString; i++) {
+	    c1.gridwidth = 1;
             panel1.add(new JLabel(labels[i] + " = "), c1);
-
+            
             if (possibleValues != null) {
                 if (i < possibleValues.size()) {
-                    String[] tmp = possibleValues.get(i);
+                    String [] tmp = possibleValues.get(i);
                     if (tmp != null) {
                         helps.put(i, new JComboBox<>(tmp));
                         panel1.add(helps.get(i), c1);
-                        c1.gridwidth = GridBagConstraints.REMAINDER; //end row
-                        inserts[i] = new JButton("Use");
-                        inserts[i].addActionListener(this);
-                        panel1.add(inserts[i], c1);
+			c1.gridwidth = GridBagConstraints.REMAINDER; //end row
+			inserts[i] = new JButton("Use");
+			inserts[i].addActionListener(this);
+			panel1.add(inserts[i], c1);
                     }
                 }
             }
-            c1.gridwidth = GridBagConstraints.REMAINDER; //end row
+	    c1.gridwidth = GridBagConstraints.REMAINDER; //end row
             texts[i] = new JTextField(values[i], 15);
             panel1.add(texts[i], c1);
         }
@@ -182,31 +184,31 @@ public class JDialogMultiString extends JDialogBase implements ActionListener {
         c0.weighty = 1.0;
         c0.weightx = 1.0;
         c0.gridwidth = GridBagConstraints.REMAINDER; //end row
-        c0.fill = GridBagConstraints.BOTH;
+
         c.add(panel1, c0);
 
         c0.gridwidth = 1;
         c0.gridheight = 1;
         c0.fill = GridBagConstraints.HORIZONTAL;
-
+        
         initButtons(c0, c, this);
     }
 
-    public void actionPerformed(ActionEvent evt) {
+    public void actionPerformed(ActionEvent evt)  {
         String command = evt.getActionCommand();
 
         // Compare the action command to the known actions.
-        if (command.equals("Save and Close")) {
+        if (command.equals("Save and Close"))  {
             closeDialog();
         } else if (command.equals("Cancel")) {
             cancelDialog();
         } else if (inserts != null) {
-            for (int i = 0; i < inserts.length; i++) {
-                if (evt.getSource() == inserts[i]) {
-                    texts[i].setText(helps.get(i).getSelectedItem().toString());
-                }
-            }
-        }
+	    for(int i=0; i<inserts.length; i++) {
+		if (evt.getSource() == inserts[i]) {
+		    texts[i].setText(helps.get(i).getSelectedItem().toString());
+		}
+	    }
+	}
     }
 
 
diff --git a/src/main/java/ui/window/JDialogMultiStringCP.java b/src/main/java/ui/window/JDialogMultiStringCP.java
old mode 100755
new mode 100644
index a1f6c7427ae16811bd79c52684f3186b0eeaccaa..b65c0f225720f6edb54f45ee5e280626da557e77
--- a/src/main/java/ui/window/JDialogMultiStringCP.java
+++ b/src/main/java/ui/window/JDialogMultiStringCP.java
@@ -37,8 +37,12 @@
  */
 
 
+
+
 package ui.window;
 
+import ui.util.IconManager;
+
 import javax.swing.*;
 import java.awt.*;
 import java.awt.event.ActionEvent;
@@ -48,66 +52,63 @@ import java.awt.event.ActionListener;
  * Class JDialogMultiStringCP
  * Dialog for managing several string components
  * Creation: 18/11/2005
- *
- * @author Ludovic APVRILLE
  * @version 1.0 18/11/2005
+ * @author Ludovic APVRILLE
  */
-public class JDialogMultiStringCP extends JDialogBase implements ActionListener {
-
-    private String[] labels;
-    private String[] values;
-
+public class JDialogMultiStringCP extends JDialogBase implements ActionListener  {
+    
+    private String [] labels;
+    private String [] values;
+    
     private int nbString;
-
+    
     private boolean set = false;
-
+    
     private JPanel panel1;
-
+    
     // Panel1
-    private JTextField[] texts;
-
-    /**
-     * Creates new form
-     */
+    private JTextField [] texts;
+    
+    /** Creates new form  */
     // arrayDelay: [0] -> minDelay ; [1] -> maxDelay
     public JDialogMultiStringCP(Frame f, String title, int _nbString, String[] _labels, String[] _values) {
-
+        
         super(f, title, true);
-
+       
         nbString = _nbString;
         labels = _labels;
         values = _values;
-
+        
         texts = new JTextField[nbString];
-
+        
         initComponents();
         myInitComponents();
         pack();
     }
-
-
+    
+    
     private void myInitComponents() {
     }
-
+    
     private void initComponents() {
         Container c = getContentPane();
         GridBagLayout gridbag0 = new GridBagLayout();
         GridBagLayout gridbag1 = new GridBagLayout();
         GridBagConstraints c0 = new GridBagConstraints();
         GridBagConstraints c1 = new GridBagConstraints();
-
+        
         setFont(new Font("Helvetica", Font.PLAIN, 14));
         c.setLayout(gridbag0);
-
+        
         setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
-
+        
         panel1 = new JPanel();
         panel1.setLayout(gridbag1);
-
+           
         panel1.setBorder(new javax.swing.border.TitledBorder("Properties"));
-
+    
         panel1.setPreferredSize(new Dimension(300, 200));
-
+        
         // first line panel1
         c1.weighty = 1.0;
         c1.weightx = 1.0;
@@ -115,7 +116,7 @@ public class JDialogMultiStringCP extends JDialogBase implements ActionListener
         c1.fill = GridBagConstraints.BOTH;
         c1.gridheight = 1;
         panel1.add(new JLabel(" "), c1);
-
+        
         // second line panel1
         c1.gridwidth = 1;
         c1.gridheight = 1;
@@ -124,63 +125,62 @@ public class JDialogMultiStringCP extends JDialogBase implements ActionListener
         c1.anchor = GridBagConstraints.CENTER;
         c1.fill = GridBagConstraints.HORIZONTAL;
         c1.anchor = GridBagConstraints.CENTER;
-
+        
         // String1
-        for (int i = 0; i < nbString; i++) {
+        for(int i=0; i<nbString; i++) {
             panel1.add(new JLabel(labels[i] + " = "), c1);
             c1.gridwidth = GridBagConstraints.REMAINDER; //end row
             texts[i] = new JTextField(values[i], 15);
             panel1.add(texts[i], c1);
         }
-
-
+        
+        
         // main panel;
         c0.gridwidth = 1;
         c0.gridheight = 10;
         c0.weighty = 1.0;
         c0.weightx = 1.0;
         c0.gridwidth = GridBagConstraints.REMAINDER; //end row
-        c0.fill = GridBagConstraints.BOTH;
-
+        
         c.add(panel1, c0);
-
+        
         c0.gridwidth = 1;
         c0.gridheight = 1;
         c0.fill = GridBagConstraints.HORIZONTAL;
-
+        
         initButtons(c0, c, this);
     }
-
-    public void actionPerformed(ActionEvent evt) {
+    
+    public void	actionPerformed(ActionEvent evt)  {
         String command = evt.getActionCommand();
-
+        
         // Compare the action command to the known actions.
-        if (command.equals("Save and Close")) {
+        if (command.equals("Save and Close"))  {
             closeDialog();
         } else if (command.equals("Cancel")) {
             cancelDialog();
         }
     }
-
-
+    
+    
     public void closeDialog() {
         set = true;
         dispose();
     }
-
+    
     public String getString(int i) {
         return texts[i].getText();
     }
-
-    public boolean hasValidString(int i) {
+    
+     public boolean hasValidString(int i) {
         return texts[i].getText().length() > 0;
     }
-
-
+    
+    
     public boolean hasBeenSet() {
         return set;
     }
-
+    
     public void cancelDialog() {
         dispose();
     }
diff --git a/src/main/java/ui/window/JDialogNCEqNode.java b/src/main/java/ui/window/JDialogNCEqNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogNCRoute.java b/src/main/java/ui/window/JDialogNCRoute.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogNCSwitchNode.java b/src/main/java/ui/window/JDialogNCSwitchNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogNCTraffic.java b/src/main/java/ui/window/JDialogNCTraffic.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogNote.java b/src/main/java/ui/window/JDialogNote.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogObserver.java b/src/main/java/ui/window/JDialogObserver.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogParam.java b/src/main/java/ui/window/JDialogParam.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogParamFIFO.java b/src/main/java/ui/window/JDialogParamFIFO.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogPerformancePragma.java b/src/main/java/ui/window/JDialogPerformancePragma.java
index ab990ef7b29119639f6a49adc47bab2a43b86b98..d4e0979e3a6eca6ee3b355dd569ea2d4078eae59 100644
--- a/src/main/java/ui/window/JDialogPerformancePragma.java
+++ b/src/main/java/ui/window/JDialogPerformancePragma.java
@@ -37,6 +37,8 @@
  */
 
 
+
+
 package ui.window;
 
 import ui.util.IconManager;
@@ -52,9 +54,8 @@ import java.util.HashMap;
  * Class JDialogPragma
  * Dialog for entering a note
  * Creation: 06/12/2003
- *
- * @author Ludovic APVRILLE, Letitia LI
  * @version 1.0 06/12/2003
+ * @author Ludovic APVRILLE, Letitia LI
  */
 public class JDialogPerformancePragma extends JDialogBase implements ActionListener {
 
@@ -68,10 +69,7 @@ public class JDialogPerformancePragma extends JDialogBase implements ActionListe
     protected JMenu help;
     protected JPopupMenu helpPopup;
     public HashMap<String, java.util.List<String>> blockAttributeMap = new HashMap<String, java.util.List<String>>();
-
-    /**
-     * Creates new form
-     */
+    /** Creates new form  */
     public JDialogPerformancePragma(Frame f, String title, String _text) {
         super(f, title, true);
         text = _text;
@@ -98,9 +96,9 @@ public class JDialogPerformancePragma extends JDialogBase implements ActionListe
             popupMenu.setOpaque(false);
             popupMenu.setBorder(null);
 
-            popupMenu.add(list = createSuggestionList(linePosition, position, subWord), BorderLayout.CENTER);
+            popupMenu.add(list = createSuggestionList(linePosition ,position, subWord), BorderLayout.CENTER);
             //Show popupMenu only if there are matching suggestions
-            if (list.getModel().getSize() > 0) {
+            if (list.getModel().getSize() >0){
                 popupMenu.show(textarea, location.x, textarea.getBaseline(0, 0) + location.y);
             }
         }
@@ -114,20 +112,23 @@ public class JDialogPerformancePragma extends JDialogBase implements ActionListe
 
         private JList createSuggestionList(int linePosition, final int position, final String subWord) {
             ArrayList<String> matches = new ArrayList<String>();
-            if (linePosition < 6) {
+            if (linePosition<6){
                 matches.add("Latency(");
-            } else if (!subWord.contains(".")) {
-                for (String block : blockAttributeMap.keySet()) {
-                    if (block.startsWith(subWord)) {
+            }
+
+            else if (!subWord.contains(".")){
+                for (String block: blockAttributeMap.keySet()){
+                    if (block.startsWith(subWord)){
                         matches.add(block);
                     }
                 }
-            } else {
+            }
+            else {
                 String block = subWord.split("\\.")[0];
-                if (blockAttributeMap.containsKey(block)) {
-                    for (String attr : blockAttributeMap.get(block)) {
-                        if (attr.startsWith(subWord.split("\\.")[1])) {
-                            matches.add(block + "." + attr);
+                if (blockAttributeMap.containsKey(block)){
+                    for (String attr: blockAttributeMap.get(block)){
+                        if (attr.startsWith(subWord.split("\\.")[1])){
+                            matches.add(block+"."+attr);
                         }
                     }
                 }
@@ -139,13 +140,13 @@ public class JDialogPerformancePragma extends JDialogBase implements ActionListe
             list.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
             list.setSelectedIndex(0);
             list.addMouseListener(new MouseAdapter() {
-                @Override
-                public void mouseClicked(MouseEvent e) {
-                    if (e.getClickCount() == 2) {
-                        insertSelection();
+                    @Override
+                    public void mouseClicked(MouseEvent e) {
+                        if (e.getClickCount() == 2) {
+                            insertSelection();
+                        }
                     }
-                }
-            });
+                });
 
             return list;
         }
@@ -153,7 +154,7 @@ public class JDialogPerformancePragma extends JDialogBase implements ActionListe
 
         public boolean insertSelection() {
             //Note that it will not add if the selection will not fit on the current line
-            if (!popupMenu.isVisible()) {
+            if (!popupMenu.isVisible()){
                 return false;
             }
             if (list.getSelectedValue() != null) {
@@ -183,24 +184,22 @@ public class JDialogPerformancePragma extends JDialogBase implements ActionListe
             final int position = textarea.getCaretPosition();
             list.setSelectedIndex(index);
             SwingUtilities.invokeLater(new Runnable() {
-                @Override
-                public void run() {
-                    textarea.setCaretPosition(position);
-                }
-            });
+                    @Override
+                    public void run() {
+                        textarea.setCaretPosition(position);
+                    }
+                });
         }
     }
-
     private SuggestionPanel suggestion;
-
     protected void showSuggestionLater() {
         SwingUtilities.invokeLater(new Runnable() {
-            @Override
-            public void run() {
-                showSuggestion();
-            }
+                @Override
+                public void run() {
+                    showSuggestion();
+                }
 
-        });
+            });
     }
 
     protected void showSuggestion() {
@@ -216,7 +215,7 @@ public class JDialogPerformancePragma extends JDialogBase implements ActionListe
         String text = textarea.getText();
         int start = Math.max(0, position - 1);
         while (start > 0) {
-            if (!text.substring(start, start + 1).equals("(") && !text.substring(start, start + 1).equals(")") && !text.substring(start, start + 1).equals(",")) {
+            if (!text.substring(start,start+1).equals("(") && !text.substring(start,start+1).equals(")") && !text.substring(start,start+1).equals(",") ) {
                 start--;
             } else {
                 start++;
@@ -232,22 +231,23 @@ public class JDialogPerformancePragma extends JDialogBase implements ActionListe
         if (subWord.length() < 1) {
             return;
         }
-        start = Math.max(0, position - 1);
-        while (start > 0) {
+        start=Math.max(0,position-1);
+        while (start>0){
             //Find previous new line position
-            if (!String.valueOf(text.charAt(start)).matches(".")) {
+            if (!String.valueOf(text.charAt(start)).matches(".")){
                 break;
-            } else {
+            }
+            else {
                 start--;
             }
         }
-        suggestion = new SuggestionPanel(textarea, position, subWord, location, position - start - 1);
+        suggestion = new SuggestionPanel(textarea, position, subWord, location, position-start-1);
         SwingUtilities.invokeLater(new Runnable() {
-            @Override
-            public void run() {
-                textarea.requestFocusInWindow();
-            }
-        });
+                @Override
+                public void run() {
+                    textarea.requestFocusInWindow();
+                }
+            });
     }
 
     private void hideSuggestion() {
@@ -263,40 +263,40 @@ public class JDialogPerformancePragma extends JDialogBase implements ActionListe
         setFont(f);
         c.setLayout(new BorderLayout());
         //setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);	
-
+        
         helpPopup = new JPopupMenu();
-        //JTextArea jft = new JTextArea("UPPAAL pragmas");
-        //helpPopup.add(jft);
-        JLabel t = new JLabel("");
-        JLabel header = new JLabel(" 	Performance Pragma");
-        Font headerFont = new Font(t.getFont().getName(), Font.BOLD, t.getFont().getSize() + 2);
-        header.setFont(headerFont);
-        helpPopup.add(header);
-        //Text
-        helpPopup.add(new JLabel(" Performance Pragma allow us to query and record "));
-        helpPopup.add(new JLabel(" the latency (in cycles) between two events after simulation"));
-        helpPopup.add(new JLabel(" Depending on the format of the pragma, results can be the"));
-        helpPopup.add(new JLabel(" numeric average latency value or a verified true/false result"));
-
-        JLabel example = new JLabel(" Examples:");
-        example.setFont(headerFont);
-        helpPopup.add(example);
-
-        Font exFont = new Font(t.getFont().getName(), Font.ITALIC, t.getFont().getSize());
-        JLabel t1 = new JLabel(" Latency(block1.state1, block2.s)<10:");
-        t1.setFont(exFont);
-        helpPopup.add(t1);
-        helpPopup.add(new JLabel(" Will be marked with a green check mark or "));
-        helpPopup.add(new JLabel(" red cross depending on simulation results"));
-
-        JLabel t2 = new JLabel(" Latency(block1.state1, block2.s)?:");
-        t2.setFont(exFont);
-        helpPopup.add(t2);
-
-        helpPopup.add(new JLabel(" Will be marked with the average latency"));
-        helpPopup.add(new JLabel(" time after simulation"));
-        helpPopup.setPreferredSize(new Dimension(600, 250));
-
+		//JTextArea jft = new JTextArea("UPPAAL pragmas");
+		//helpPopup.add(jft);
+		JLabel t = new JLabel("");
+		JLabel header= new JLabel(" 	Performance Pragma");
+		Font headerFont=new Font(t.getFont().getName(),Font.BOLD,t.getFont().getSize()+2);
+		header.setFont(headerFont);
+		helpPopup.add(header);
+		//Text
+		helpPopup.add(new JLabel(" Performance Pragma allow us to query and record "));
+		helpPopup.add(new JLabel(" the latency (in cycles) between two events after simulation"));
+		helpPopup.add(new JLabel(" Depending on the format of the pragma, results can be the"));
+		helpPopup.add(new JLabel(" numeric average latency value or a verified true/false result"));		
+		
+		JLabel example =new JLabel(" Examples:");
+		example.setFont(headerFont);
+		helpPopup.add(example);
+		
+		Font exFont=new Font(t.getFont().getName(),Font.ITALIC,t.getFont().getSize());
+		JLabel t1 = new JLabel(" Latency(block1.state1, block2.s)<10:");
+		t1.setFont(exFont);
+		helpPopup.add(t1);
+		helpPopup.add(new JLabel(" Will be marked with a green check mark or "));
+		helpPopup.add(new JLabel(" red cross depending on simulation results"));		
+	
+		JLabel t2 = new JLabel(" Latency(block1.state1, block2.s)?:");
+		t2.setFont(exFont);
+		helpPopup.add(t2);
+		
+		helpPopup.add(new JLabel(" Will be marked with the average latency"));
+		helpPopup.add(new JLabel(" time after simulation"));	
+		helpPopup.setPreferredSize(new Dimension(600,250));
+        
         textarea = new JTextArea();
 
         textarea.setEditable(true);
@@ -310,50 +310,52 @@ public class JDialogPerformancePragma extends JDialogBase implements ActionListe
         menuBar.add(help);
         setJMenuBar(menuBar);
         textarea.addKeyListener(new KeyListener() {
-            @Override
-            public void keyTyped(KeyEvent e) {
-                if (e.getKeyChar() == KeyEvent.VK_ENTER || e.getKeyChar() == KeyEvent.VK_TAB) {
-                    if (suggestion != null) {
-                        if (suggestion.insertSelection()) {
-                            e.consume();
-                            final int position = textarea.getCaretPosition();
-                            SwingUtilities.invokeLater(new Runnable() {
-                                @Override
-                                public void run() {
-                                    try {
-                                        textarea.getDocument().remove(position - 1, 1);
-                                    } catch (BadLocationException e) {
-                                        e.printStackTrace();
-                                    }
-                                }
-                            });
+                @Override
+                public void keyTyped(KeyEvent e) {
+                    if (e.getKeyChar() == KeyEvent.VK_ENTER || e.getKeyChar() == KeyEvent.VK_TAB) {
+                        if (suggestion != null) {
+                            if (suggestion.insertSelection()) {
+                                e.consume();
+                                final int position = textarea.getCaretPosition();
+                                SwingUtilities.invokeLater(new Runnable() {
+                                        @Override
+                                        public void run() {
+                                            try {
+                                                textarea.getDocument().remove(position - 1, 1);
+                                            } catch (BadLocationException e) {
+                                                e.printStackTrace();
+                                            }
+                                        }
+                                    });
+                            }
                         }
                     }
                 }
-            }
 
-            @Override
-            public void keyReleased(KeyEvent e) {
-                if (e.getKeyCode() == KeyEvent.VK_DOWN && suggestion != null) {
-                    suggestion.moveDown();
-                } else if (e.getKeyCode() == KeyEvent.VK_UP && suggestion != null) {
-                    suggestion.moveUp();
-                } else if (Character.isWhitespace(e.getKeyChar())) {
-                    hideSuggestion();
-                } else if (Character.isLetter(e.getKeyChar())) {
-                    showSuggestionLater();
+                @Override
+                public void keyReleased(KeyEvent e) {
+                    if (e.getKeyCode() == KeyEvent.VK_DOWN && suggestion != null) {
+                        suggestion.moveDown();
+                    } else if (e.getKeyCode() == KeyEvent.VK_UP && suggestion != null) {
+                        suggestion.moveUp();
+                    } else if (Character.isWhitespace(e.getKeyChar())) {
+                        hideSuggestion();
+                    }
+                    else if (Character.isLetter(e.getKeyChar())){
+                        showSuggestionLater();
+                    }
                 }
-            }
 
-            @Override
-            public void keyPressed(KeyEvent e) {
-                if (e.getKeyCode() == KeyEvent.VK_DOWN && suggestion != null) {
-                    e.consume();
-                } else if (e.getKeyCode() == KeyEvent.VK_UP && suggestion != null) {
-                    e.consume();
+                @Override
+                public void keyPressed(KeyEvent e) {
+                    if (e.getKeyCode() == KeyEvent.VK_DOWN && suggestion != null) {
+                        e.consume();
+                    } else if (e.getKeyCode() == KeyEvent.VK_UP && suggestion != null) {
+                        e.consume();
+                    }
                 }
-            }
-        });
+            });
+
 
 
         JScrollPane jsp = new JScrollPane(textarea, JScrollPane.VERTICAL_SCROLLBAR_ALWAYS, JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);
@@ -361,10 +363,11 @@ public class JDialogPerformancePragma extends JDialogBase implements ActionListe
         c.add(jsp, BorderLayout.CENTER);
 
 
+
         close = new JButton("Ok", IconManager.imgic25);
         cancel = new JButton("Cancel", IconManager.imgic27);
 
-        help.setPreferredSize(new Dimension(30, 30));
+        help.setPreferredSize(new Dimension(30,30));
 
         close.setPreferredSize(new Dimension(150, 30));
         cancel.setPreferredSize(new Dimension(150, 30));
@@ -372,24 +375,24 @@ public class JDialogPerformancePragma extends JDialogBase implements ActionListe
         close.addActionListener(this);
         cancel.addActionListener(this);
         help.addMouseListener(new MouseAdapter() {
-            @Override
-            public void mousePressed(MouseEvent e) {
-                help();
-            }
-        });
+                @Override
+                public void mousePressed(MouseEvent e) {
+                    help();
+                }
+            });
         JPanel jp = new JPanel();
-        jp.add(cancel);
         jp.add(close);
+        jp.add(cancel);
 
         c.add(jp, BorderLayout.SOUTH);
 
     }
 
-    public void actionPerformed(ActionEvent evt) {
+    public void actionPerformed(ActionEvent evt)  {
         //String command = evt.getActionCommand();
 
         // Compare the action command to the known actions.
-        if (evt.getSource() == cancel) {
+        if (evt.getSource() == cancel)  {
             cancel();
         } else if (evt.getSource() == close) {
             close();
@@ -405,11 +408,11 @@ public class JDialogPerformancePragma extends JDialogBase implements ActionListe
         text = textarea.getText();
         dispose();
     }
-
-    public void help() {
-        if (!helpPopup.isVisible()) {
+    public void help(){
+        if (!helpPopup.isVisible()){
             helpPopup.show(help, 20, 20);
-        } else {
+        }
+        else {
             helpPopup.setVisible(false);
         }
     }
diff --git a/src/main/java/ui/window/JDialogPragma.java b/src/main/java/ui/window/JDialogPragma.java
old mode 100755
new mode 100644
index b9918ad98d08d9b96524b2d39571c68958e77e25..6127890ef51539367aaef8de3a06bd1082a45180
--- a/src/main/java/ui/window/JDialogPragma.java
+++ b/src/main/java/ui/window/JDialogPragma.java
@@ -381,8 +381,8 @@ public class JDialogPragma extends JDialogBase implements ActionListener {
             }
         });
         JPanel jp = new JPanel();
-        jp.add(cancel);
         jp.add(close);
+        jp.add(cancel);
 
         c.add(jp, BorderLayout.SOUTH);
 
diff --git a/src/main/java/ui/window/JDialogProjection.java b/src/main/java/ui/window/JDialogProjection.java
old mode 100755
new mode 100644
index 732b6de43b99b0152f07f180f92c5eef86644377..2392b1fa40ad6641d5d0ac1d1f72dc4ea2ca5818
--- a/src/main/java/ui/window/JDialogProjection.java
+++ b/src/main/java/ui/window/JDialogProjection.java
@@ -1,26 +1,26 @@
 /* Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille
- *
+ * 
  * ludovic.apvrille AT enst.fr
- *
+ * 
  * This software is a computer program whose purpose is to allow the
  * edition of TURTLE analysis, design and deployment diagrams, to
  * allow the generation of RT-LOTOS or Java code from this diagram,
  * and at last to allow the analysis of formal validation traces
  * obtained from external tools, e.g. RTL from LAAS-CNRS and CADP
  * from INRIA Rhone-Alpes.
- *
+ * 
  * This software is governed by the CeCILL  license under French law and
  * abiding by the rules of distribution of free software.  You can  use,
  * modify and/ or redistribute the software under the terms of the CeCILL
  * license as circulated by CEA, CNRS and INRIA at the following URL
  * "http://www.cecill.info".
- *
+ * 
  * As a counterpart to the access to the source code and  rights to copy,
  * modify and redistribute granted by the license, users are provided only
  * with a limited warranty  and the software's author,  the holder of the
  * economic rights,  and the successive licensors  have only  limited
  * liability.
- *
+ * 
  * In this respect, the user's attention is drawn to the risks associated
  * with loading,  using,  modifying and/or developing or reproducing the
  * software by the user in light of its specific status of free software,
@@ -31,12 +31,14 @@
  * requirements in conditions enabling the security of their systems and/or
  * data to be ensured and,  more generally, to use and operate it in the
  * same conditions as regards security.
- *
+ * 
  * The fact that you are presently reading this means that you have had
  * knowledge of the CeCILL license and that you accept its terms.
  */
 
 
+
+
 package ui.window;
 
 import launcher.LauncherException;
@@ -63,11 +65,10 @@ import java.util.Vector;
  * Class JDialogProjection
  * Dialog for managing Tclasses to be validated
  * Creation: 30/06/2004
- *
- * @author Ludovic APVRILLE
  * @version 1.0 30/06/2004
+ * @author Ludovic APVRILLE
  */
-public class JDialogProjection extends JDialog implements ActionListener, ListSelectionListener, Runnable {
+public class JDialogProjection extends JDialog implements ActionListener, ListSelectionListener, Runnable  {
     private static boolean isAldebaranSelected = false;
     private static boolean isOminSelected = false;
     private static boolean isStrongSelected = true;
@@ -75,28 +76,28 @@ public class JDialogProjection extends JDialog implements ActionListener, ListSe
 
     private LinkedList<TClassAndGateDS> gatesIgnored;
     private LinkedList<TClassAndGateDS> gatesProjected;
-
+    
     private MainGUI mgui;
-
+    
     private String aldebaranHost;
     private String aldebaranPath;
     private String bcgioPath;
     private String bcgminPath;
-
+    
     private String inputData;
     private String fileName;
-
-
+    
+    
     // mode and thred management
     protected int mode;
     protected RshClient rshc;
     protected Thread t;
-
+    
     protected final static int NO_OPTIONS = 0;
     protected final static int NOT_STARTED = 1;
     protected final static int STARTED = 2;
     protected final static int STOPPED = 3;
-
+    
     //subpanels
     private JPanel panel1, panel2, panel3, panel4;
     private JList<TClassAndGateDS> listIgnored;
@@ -106,88 +107,86 @@ public class JDialogProjection extends JDialog implements ActionListener, ListSe
     private JButton addOneIgnored;
     private JButton allIgnored;
     protected JTextArea jta;
-
+    
     private JRadioButton omin, imin;
     private JRadioButton aldebaran, bcgmin;
     private JRadioButton strong, branching;
-
+    
     // Main Panel
     private JButton start, stop, close;
-
-    /**
-     * Creates new form
-     */
+    
+    /** Creates new form  */
     public JDialogProjection(Frame f, MainGUI _mgui, TClassDiagramPanel tcd, TURTLEModeling tm, String _aldebaranHost, String _aldebaranPath, String _bcgminPath, String _bcgioPath, String _inputData, String _fileName, String title) {
         super(f, title, true);
-
+        
         mgui = _mgui;
-
+        
         aldebaranHost = _aldebaranHost;
         aldebaranPath = _aldebaranPath;
         bcgioPath = _bcgioPath;
         bcgminPath = _bcgminPath;
         inputData = _inputData;
         fileName = _fileName;
-
+        
         if (tcd != null) {
             initGates(tcd);
         }
-
+        
         if (tm != null) {
             initGates(tm);
         }
-
+        
         initComponents();
         myInitComponents();
         pack();
-
+        
         //getGlassPane().addMouseListener( new MouseAdapter() {});
         getGlassPane().setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
     }
-
+    
     private void initGates(TClassDiagramPanel tcd) {
-        gatesIgnored = new LinkedList<TClassAndGateDS>();
-        gatesProjected = new LinkedList<TClassAndGateDS>();
-
+        gatesIgnored = new LinkedList<TClassAndGateDS> ();
+        gatesProjected = new LinkedList<TClassAndGateDS> ();
+        
         java.util.List<TGComponent> list = tcd.getComponentList();
-        for (TGComponent tgc : list)
+        for (TGComponent tgc: list)
             if (tgc instanceof TClassInterface) {
-                TClassInterface tci = (TClassInterface) tgc;
+                TClassInterface tci = (TClassInterface)tgc;
                 java.util.List<TAttribute> gates = tci.getGates();
-                for (TAttribute ta : gates) {
+                for (TAttribute ta: gates) {
                     TClassAndGateDS tcg = new TClassAndGateDS(tci, ta);
-                    gatesIgnored.add(tcg);
+                    gatesIgnored.add (tcg);
                 }
             }
-
+        
         Collections.sort(gatesIgnored);
     }
-
+    
     private void initGates(TURTLEModeling tm) {
         //System.out.println("*** init gates tm ***");
-        gatesIgnored = new LinkedList<TClassAndGateDS>();
-        gatesProjected = new LinkedList<TClassAndGateDS>();
-
-        for (int i = 0; i < tm.classNb(); i++) {
+        gatesIgnored = new LinkedList<TClassAndGateDS> ();
+        gatesProjected = new LinkedList<TClassAndGateDS> ();
+        
+        for(int i=0; i<tm.classNb(); i++) {
             TClass t = tm.getTClassAtIndex(i);
             Vector<Gate> gateList = t.getGateList();
-            for (int j = 0; j < gateList.size(); j++) {
+            for(int j=0; j<gateList.size(); j++) {
                 Gate g = gateList.elementAt(j);
                 TClassAndGateDS tcg = new TClassAndGateDS(t, g);
-                gatesIgnored.add(tcg);
+                gatesIgnored.add (tcg);
             }
-
+            
         }
-
+        
         Collections.sort(gatesIgnored);
     }
-
-
+    
+    
     private void myInitComponents() {
         mode = NO_OPTIONS;
         setButtons();
     }
-
+    
     private void initComponents() {
         Container c = getContentPane();
         GridBagLayout gridbag1 = new GridBagLayout();
@@ -197,37 +196,37 @@ public class JDialogProjection extends JDialog implements ActionListener, ListSe
         setFont(new Font("Helvetica", Font.PLAIN, 14));
         c.setLayout(new BorderLayout());
         setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
-
+        
         // ignored list
-
+        
         JPanel panelTop = new JPanel();
         panelTop.setLayout(new BorderLayout());
-
+        
         panel1 = new JPanel();
         panel1.setLayout(new BorderLayout());
         panel1.setBorder(new javax.swing.border.TitledBorder("Gates ignored"));
-        listIgnored = new JList<TClassAndGateDS>(gatesIgnored.toArray(new TClassAndGateDS[0]));
+        listIgnored = new JList<TClassAndGateDS> (gatesIgnored.toArray (new TClassAndGateDS[0]));
         //listIgnored.setPreferredSize(new Dimension(200, 250));
-        listIgnored.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
+        listIgnored.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION );
         listIgnored.addListSelectionListener(this);
         JScrollPane scrollPane1 = new JScrollPane(listIgnored);
         panel1.add(scrollPane1, BorderLayout.CENTER);
         panel1.setPreferredSize(new Dimension(400, 250));
         panelTop.add(panel1, BorderLayout.WEST);
-
+        
         // validated list
         panel2 = new JPanel();
         panel2.setLayout(new BorderLayout());
         panel2.setBorder(new javax.swing.border.TitledBorder("Gates taken into account"));
-        listProjected = new JList<TClassAndGateDS>(gatesProjected.toArray(new TClassAndGateDS[0]));
+        listProjected = new JList<TClassAndGateDS> (gatesProjected.toArray (new TClassAndGateDS[0]));
         //listProjected.setPreferredSize(new Dimension(200, 250));
-        listProjected.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
+        listProjected.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION );
         listProjected.addListSelectionListener(this);
         JScrollPane scrollPane2 = new JScrollPane(listProjected);
         panel2.add(scrollPane2, BorderLayout.CENTER);
         panel2.setPreferredSize(new Dimension(400, 250));
         panelTop.add(panel2, BorderLayout.EAST);
-
+        
         // radio buttons
         panel4 = new JPanel();
         panel4.setLayout(gridbag4);
@@ -286,59 +285,59 @@ public class JDialogProjection extends JDialog implements ActionListener, ListSe
 
         panelTop.add(panel4, BorderLayout.SOUTH);
         activeAldebaran(isAldebaranSelected);
-
+        
         ButtonGroup bg = new ButtonGroup();
         bg.add(aldebaran);
         bg.add(bcgmin);
-
+        
         bg = new ButtonGroup();
         bg.add(omin);
         bg.add(imin);
-
+        
         bg = new ButtonGroup();
         bg.add(strong);
         bg.add(branching);
-
+        
         // central buttons
         panel3 = new JPanel();
         panel3.setLayout(gridbag1);
-
+        
         c1.weighty = 1.0;
         c1.weightx = 1.0;
         c1.gridwidth = GridBagConstraints.REMAINDER; //end row
         c1.fill = GridBagConstraints.HORIZONTAL;
         c1.gridheight = 1;
-
+        
         allProjected = new JButton(IconManager.imgic50);
         allProjected.setPreferredSize(new Dimension(50, 25));
         allProjected.addActionListener(this);
         allProjected.setActionCommand("allProjected");
         panel3.add(allProjected, c1);
-
+        
         addOneProjected = new JButton(IconManager.imgic48);
         addOneProjected.setPreferredSize(new Dimension(50, 25));
         addOneProjected.addActionListener(this);
         addOneProjected.setActionCommand("addOneProjected");
         panel3.add(addOneProjected, c1);
-
+        
         panel3.add(new JLabel(" "), c1);
-
+        
         addOneIgnored = new JButton(IconManager.imgic46);
         addOneIgnored.addActionListener(this);
         addOneIgnored.setPreferredSize(new Dimension(50, 25));
         addOneIgnored.setActionCommand("addOneIgnored");
         panel3.add(addOneIgnored, c1);
-
+        
         allIgnored = new JButton(IconManager.imgic44);
         allIgnored.addActionListener(this);
         allIgnored.setPreferredSize(new Dimension(50, 25));
         allIgnored.setActionCommand("allIgnored");
         panel3.add(allIgnored, c1);
-
+        
         panelTop.add(panel3, BorderLayout.CENTER);
-
+        
         c.add(panelTop, BorderLayout.NORTH);
-
+        
         // textarea panel
         jta = new ScrolledJTextArea();
         jta.setEditable(false);
@@ -348,40 +347,40 @@ public class JDialogProjection extends JDialog implements ActionListener, ListSe
         Font f = new Font("Courrier", Font.BOLD, 12);
         jta.setFont(f);
         JScrollPane jsp = new JScrollPane(jta, JScrollPane.VERTICAL_SCROLLBAR_ALWAYS, JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);
-
+        
         c.add(jsp, BorderLayout.CENTER);
-
-
+        
+        
         // Button panel;
         start = new JButton("Start", IconManager.imgic53);
         stop = new JButton("Stop", IconManager.imgic55);
         close = new JButton("Close", IconManager.imgic27);
-
+        
         start.setPreferredSize(new Dimension(100, 30));
         stop.setPreferredSize(new Dimension(100, 30));
         close.setPreferredSize(new Dimension(100, 30));
-
+        
         start.addActionListener(this);
         stop.addActionListener(this);
         close.addActionListener(this);
-
+        
         JPanel jp2 = new JPanel();
         jp2.add(start);
         jp2.add(stop);
         jp2.add(close);
-
+        
         c.add(jp2, BorderLayout.SOUTH);
     }
-
-    public void actionPerformed(ActionEvent evt) {
+    
+    public void	actionPerformed(ActionEvent evt)  {
         String command = evt.getActionCommand();
-
+        
         // Compare the action command to the known actions.
         if (evt.getSource() == aldebaran) {
-            activeAldebaran(true);
+          activeAldebaran(true);
         } else if (evt.getSource() == bcgmin) {
-            activeAldebaran(false);
-        } else if (command.equals("Start")) {
+          activeAldebaran(false);
+        } else if (command.equals("Start"))  {
             startProcess();
         } else if (command.equals("Stop")) {
             stopProcess();
@@ -399,92 +398,92 @@ public class JDialogProjection extends JDialog implements ActionListener, ListSe
     }
 
     public void activeAldebaran(boolean b) {
-        omin.setEnabled(b);
-        imin.setEnabled(b);
-        strong.setEnabled(!b);
-        branching.setEnabled(!b);
+      omin.setEnabled(b);
+      imin.setEnabled(b);
+      strong.setEnabled(!b);
+      branching.setEnabled(!b);
     }
-
-
+    
+    
     private void addOneIgnored() {
-        int[] list = listProjected.getSelectedIndices();
-        LinkedList<TClassAndGateDS> v = new LinkedList<TClassAndGateDS>();
-        for (int i = 0; i < list.length; i++) {
-            TClassAndGateDS o = gatesProjected.get(list[i]);
-            gatesIgnored.add(o);
-            v.add(o);
+        int [] list = listProjected.getSelectedIndices();
+        LinkedList<TClassAndGateDS> v = new LinkedList<TClassAndGateDS> ();
+        for (int i=0; i<list.length; i++){
+            TClassAndGateDS o = gatesProjected.get (list[i]);
+            gatesIgnored.add (o);
+            v.add (o);
         }
-
+        
         gatesProjected.removeAll(v);
         moveSynchronizedGatesAsWell(gatesIgnored, gatesProjected);
         Collections.sort(gatesIgnored);
-        listIgnored.setListData(gatesIgnored.toArray(new TClassAndGateDS[0]));
-        listProjected.setListData(gatesProjected.toArray(new TClassAndGateDS[0]));
+        listIgnored.setListData(gatesIgnored.toArray (new TClassAndGateDS[0]));
+        listProjected.setListData(gatesProjected.toArray (new TClassAndGateDS[0]));
         checkMode();
         setButtons();
     }
-
+    
     private void addOneProjected() {
-        int[] list = listIgnored.getSelectedIndices();
-        LinkedList<TClassAndGateDS> v = new LinkedList<TClassAndGateDS>();
-        for (int i = 0; i < list.length; i++) {
-            TClassAndGateDS o = gatesIgnored.get(list[i]);
-            gatesProjected.add(o);
-            v.add(o);
+        int [] list = listIgnored.getSelectedIndices();
+        LinkedList<TClassAndGateDS> v = new LinkedList<TClassAndGateDS> ();
+        for (int i=0; i<list.length; i++){
+            TClassAndGateDS o = gatesIgnored.get (list[i]);
+            gatesProjected.add (o);
+            v.add (o);
         }
-
+        
         gatesIgnored.removeAll(v);
         moveSynchronizedGatesAsWell(gatesProjected, gatesIgnored);
         Collections.sort(gatesProjected);
-        listIgnored.setListData(gatesIgnored.toArray(new TClassAndGateDS[0]));
-        listProjected.setListData(gatesProjected.toArray(new TClassAndGateDS[0]));
+        listIgnored.setListData(gatesIgnored.toArray (new TClassAndGateDS[0]));
+        listProjected.setListData(gatesProjected.toArray (new TClassAndGateDS[0]));
         checkMode();
         setButtons();
     }
-
+    
     private void allProjected() {
         gatesProjected.addAll(gatesIgnored);
         Collections.sort(gatesProjected);
-        gatesIgnored.clear();
-        listIgnored.setListData(gatesIgnored.toArray(new TClassAndGateDS[0]));
-        listProjected.setListData(gatesProjected.toArray(new TClassAndGateDS[0]));
+        gatesIgnored.clear ();
+        listIgnored.setListData(gatesIgnored.toArray (new TClassAndGateDS[0]));
+        listProjected.setListData(gatesProjected.toArray (new TClassAndGateDS[0]));
         checkMode();
         setButtons();
     }
-
+    
     private void allIgnored() {
         gatesIgnored.addAll(gatesProjected);
         Collections.sort(gatesIgnored);
-        gatesProjected.clear();
-        listIgnored.setListData(gatesIgnored.toArray(new TClassAndGateDS[0]));
-        listProjected.setListData(gatesProjected.toArray(new TClassAndGateDS[0]));
+        gatesProjected.clear ();
+        listIgnored.setListData(gatesIgnored.toArray (new TClassAndGateDS[0]));
+        listProjected.setListData(gatesProjected.toArray (new TClassAndGateDS[0]));
         checkMode();
         setButtons();
     }
-
+    
     private void moveSynchronizedGatesAsWell(LinkedList<TClassAndGateDS> toCheck, LinkedList<TClassAndGateDS> toPickup) {
         TClassAndGateDS tcg1;
         MasterGateManager mgm = mgui.gtm.getNewMasterGateManager();
         //Gate g;
         GroupOfGates gog, gog1;
+        
 
-
-        for (TClassAndGateDS tcg : toCheck) {
+        for (TClassAndGateDS tcg: toCheck) {
             gog = mgm.groupOf(tcg.getTClassName(), tcg.getGateName());
             if (gog != null) {
-                for (int j = 0; j < toPickup.size(); j++) {
-                    tcg1 = toPickup.get(j);
+                for(int j=0; j<toPickup.size(); j++) {
+                    tcg1 = toPickup.get (j);
                     gog1 = mgm.groupOf(tcg1.getTClassName(), tcg1.getGateName());
                     if (gog1 == gog) {
-                        toCheck.add(tcg1);
-                        toPickup.remove(j);
+                        toCheck.add (tcg1);
+                        toPickup.remove (j);
                         j--;
                     }
                 }
             }
         }
     }
-
+    
     public void checkMode() {
         if (gatesProjected.size() > 0) {
             mode = NOT_STARTED;
@@ -492,9 +491,9 @@ public class JDialogProjection extends JDialog implements ActionListener, ListSe
             mode = NO_OPTIONS;
         }
     }
-
+    
     private void setButtons() {
-        switch (mode) {
+        switch(mode) {
             case NO_OPTIONS:
                 listProjected.setEnabled(true);
                 listIgnored.setEnabled(true);
@@ -540,37 +539,37 @@ public class JDialogProjection extends JDialog implements ActionListener, ListSe
                 break;
         }
     }
-
+    
     private void unsetButtonsList() {
         addOneProjected.setEnabled(false);
         addOneIgnored.setEnabled(false);
         allProjected.setEnabled(false);
         allIgnored.setEnabled(false);
     }
-
+    
     private void setButtonsList() {
         int i1 = listIgnored.getSelectedIndex();
         int i2 = listProjected.getSelectedIndex();
-
+        
         if (i1 == -1) {
             addOneProjected.setEnabled(false);
         } else {
             addOneProjected.setEnabled(true);
         }
-
+        
         if (i2 == -1) {
             addOneIgnored.setEnabled(false);
         } else {
             addOneIgnored.setEnabled(true);
         }
-
-        if (gatesIgnored.size() == 0) {
+        
+        if (gatesIgnored.size() ==0) {
             allProjected.setEnabled(false);
         } else {
             allProjected.setEnabled(true);
         }
-
-        if (gatesProjected.size() == 0) {
+        
+        if (gatesProjected.size() ==0) {
             allIgnored.setEnabled(false);
             //closeButton.setEnabled(false);
             //closeButton.setEnabled(false);
@@ -579,224 +578,218 @@ public class JDialogProjection extends JDialog implements ActionListener, ListSe
             //closeButton.setEnabled(true);
         }
     }
-
+    
     public void valueChanged(ListSelectionEvent e) {
         setButtons();
     }
-
+    
     public void closeDialog() {
         if (mode == STARTED) {
             stopProcess();
         }
         dispose();
     }
-
+    
     public void stopProcess() {
         if (rshc != null) {
             try {
                 rshc.stopCommand();
             } catch (LauncherException le) {
-
+                
             }
             rshc = null;
         }
-        mode = STOPPED;
+        mode = 	STOPPED;
         setButtons();
     }
-
+    
     public void startProcess() {
         t = new Thread(this);
         mode = STARTED;
         setButtons();
         t.start();
     }
-
+    
     public void run() {
         String cmd1 = "";
         String autproj;
         String autprojdot;
-        //   String data;
+     //   String data;
         int id = 0;
         String filenamebcg;
         Point p;
-
-        RshClient rshctmp = null;
-
+		
+		RshClient rshctmp = null;
+		
 
         try {
-            // saving current options
-            isAldebaranSelected = aldebaran.isSelected();
-            isOminSelected = omin.isSelected();
-            isStrongSelected = strong.isSelected();
+          // saving current options
+          isAldebaranSelected = aldebaran.isSelected();
+          isOminSelected = omin.isSelected();
+          isStrongSelected = strong.isSelected();
 
             mgui.gtm.reinitRGAUTPROJDOT();
             jta.append("Modifying original RG\n");
             //System.out.println("Input data = " + inputData);
-
+            
             autproj = mgui.gtm.performProjection(inputData, gatesProjected);
-
+            
             if (autproj == null) {
                 jta.append("\nError: the RG could not be prepared for minimization\n");
             } else {
-                jta.append("\nRemoving ignored gates\n");
+              jta.append("\nRemoving ignored gates\n");
                 if (isAldebaranSelected) {
 
-                    //System.out.println("Output data = " + autproj);
-
-                    //jta.append(autproj);
-
-                    //mgui.gtm.setRGAUTPROJ(autproj);
-                    //mgui.saveRGAutProj();
-
-                    if ((aldebaranHost == null) || (aldebaranHost.length() == 0)) {
-                        jta.append("No Aldebaran installed -> cannot performed minimization\n");
-                        mgui.gtm.setRGAUTPROJ(autproj);
-                        mgui.saveRGAutProj();
+                //System.out.println("Output data = " + autproj);
+                
+                //jta.append(autproj);
+
+                //mgui.gtm.setRGAUTPROJ(autproj);
+                //mgui.saveRGAutProj();
+                
+                if ((aldebaranHost == null) || (aldebaranHost.length() == 0)) {
+                    jta.append("No Aldebaran installed -> cannot performed minimization\n");
+                    mgui.gtm.setRGAUTPROJ(autproj);
+                    mgui.saveRGAutProj();
+                } else {
+                    jta.append("Minimization with Aldebaran\n");
+                    rshc = new RshClient(aldebaranHost);
+					rshctmp = rshc;
+                    id = rshc.getId();
+                    fileName = FileUtils.addBeforeFileExtension(fileName, "_" + id);
+                    jta.append("Session id on launcher="+id + " ; working on " + fileName + "\n");
+
+                    rshc.deleteFile(fileName);
+                    jta.append("Sending data\n");
+                    rshc.sendFileData(fileName, autproj);
+                    cmd1 = aldebaranPath;
+                    if (omin.isSelected()) {
+                        cmd1 +=  " -omin ";
                     } else {
-                        jta.append("Minimization with Aldebaran\n");
-                        rshc = new RshClient(aldebaranHost);
-                        rshctmp = rshc;
-                        id = rshc.getId();
-                        fileName = FileUtils.addBeforeFileExtension(fileName, "_" + id);
-                        jta.append("Session id on launcher=" + id + " ; working on " + fileName + "\n");
-
-                        rshc.deleteFile(fileName);
-                        jta.append("Sending data\n");
-                        rshc.sendFileData(fileName, autproj);
-                        cmd1 = aldebaranPath;
-                        if (omin.isSelected()) {
-                            cmd1 += " -omin ";
-                        } else {
-                            cmd1 += " -imin ";
-                        }
-                        cmd1 += fileName;
-                        jta.append("Performing minimization\n");
-                        autproj = processCmd(cmd1);
-
-                        // Print info on minimized graph
-                        p = FormatManager.nbStateTransitionRGAldebaran(autproj);
-                        jta.append("\n" + p.x + " state(s), " + p.y + " transition(s)\n\n");
+                        cmd1 +=  " -imin ";
+                    }
+                    cmd1 += fileName;
+                    jta.append("Performing minimization\n");
+                    autproj = processCmd(cmd1);
 
-                        mgui.gtm.setRGAUTPROJ(autproj);
-                        mgui.saveRGAutProj();
-                        jta.append("Minimization done\n");
-                        //jta.append(autproj);
+                    // Print info on minimized graph
+                    p = FormatManager.nbStateTransitionRGAldebaran(autproj);
+                    jta.append("\n" + p.x + " state(s), " + p.y + " transition(s)\n\n");
 
-                        // AUT proj dot
-                        jta.append("\nConverting to dotty format\n");
-                        rshc.sendFileData(fileName, autproj);
-                        cmd1 = bcgioPath + " -aldebaran " + fileName + " -graphviz " + fileName + ".dot";
-                        autproj = processCmd(cmd1);
-                        autprojdot = rshc.getFileData(fileName + ".dot");
-                        mgui.gtm.setRGAUTPROJDOT(autprojdot);
-                        mgui.saveRGAutProjDOT();
-                        rshc.deleteFile(fileName);
-                        rshc.deleteFile(fileName + ".dot");
-                        rshc.freeId(id);
-                    }
+                    mgui.gtm.setRGAUTPROJ(autproj);
+                    mgui.saveRGAutProj();
+                    jta.append("Minimization done\n");
+                    //jta.append(autproj);
+                    
+                    // AUT proj dot
+                    jta.append("\nConverting to dotty format\n");
+                    rshc.sendFileData(fileName, autproj);
+                    cmd1 = bcgioPath + " -aldebaran " + fileName + " -graphviz " + fileName + ".dot";
+                    autproj = processCmd(cmd1);
+                    autprojdot = rshc.getFileData(fileName + ".dot");
+                    mgui.gtm.setRGAUTPROJDOT(autprojdot);
+                    mgui.saveRGAutProjDOT();
+                    rshc.deleteFile(fileName);
+                    rshc.deleteFile(fileName + ".dot");
+                    rshc.freeId(id);
+                }
+                } else {
+                  // BCGMIN
+                  if ((aldebaranHost == null) || (aldebaranHost.length() == 0) ||(bcgminPath.length() == 0)) {
+                    jta.append("No bcgmin installed -> cannot performed minimization\n");
+                    mgui.gtm.setRGAUTPROJ(autproj);
+                    mgui.saveRGAutProj();
                 } else {
-                    // BCGMIN
-                    if ((aldebaranHost == null) || (aldebaranHost.length() == 0) || (bcgminPath.length() == 0)) {
-                        jta.append("No bcgmin installed -> cannot performed minimization\n");
-                        mgui.gtm.setRGAUTPROJ(autproj);
-                        mgui.saveRGAutProj();
+                    jta.append("Minimization with bcgmin\n");
+                    rshc = new RshClient(aldebaranHost);
+                    id = rshc.getId();
+					rshctmp = rshc;
+                    fileName = FileUtils.addBeforeFileExtension(fileName, "_" + id);
+                    filenamebcg = FileUtils.changeFileExtension(fileName, "bcg");
+                    jta.append("Session id on launcher="+id + " ; working on " + fileName + "\n");
+
+                    jta.append("Sending data\n");
+                    rshc.sendFileData(fileName, autproj);
+                    
+                    // Converting to bcg format
+                    jta.append("Converting data to bcg format\n");
+                    cmd1 = bcgioPath + " -aldebaran " + fileName + " -bcg " + filenamebcg;
+                    /*data =*/ processCmd(cmd1);
+
+                    cmd1 = bcgminPath;
+                    if (isStrongSelected) {
+                        cmd1 +=  " -strong ";
                     } else {
-                        jta.append("Minimization with bcgmin\n");
-                        rshc = new RshClient(aldebaranHost);
-                        id = rshc.getId();
-                        rshctmp = rshc;
-                        fileName = FileUtils.addBeforeFileExtension(fileName, "_" + id);
-                        filenamebcg = FileUtils.changeFileExtension(fileName, "bcg");
-                        jta.append("Session id on launcher=" + id + " ; working on " + fileName + "\n");
-
-                        jta.append("Sending data\n");
-                        rshc.sendFileData(fileName, autproj);
-
-                        // Converting to bcg format
-                        jta.append("Converting data to bcg format\n");
-                        cmd1 = bcgioPath + " -aldebaran " + fileName + " -bcg " + filenamebcg;
-                        /*data =*/
-                        processCmd(cmd1);
-
-                        cmd1 = bcgminPath;
-                        if (isStrongSelected) {
-                            cmd1 += " -strong ";
-                        } else {
-                            cmd1 += " -branching ";
-                        }
-                        cmd1 += filenamebcg + " " + filenamebcg;
-                        jta.append("Performing minimization\n");
-                        /*data =*/
-                        processCmd(cmd1);
-                        jta.append("Minimization done\n");
-
-                        jta.append("Converting data to aut format\n");
-                        cmd1 = bcgioPath + " -bcg " + filenamebcg + " -aldebaran " + fileName;
-                        /*data = */
-                        processCmd(cmd1);
-
-                        jta.append("Getting aut data\n");
-                        autproj = rshc.getFileData(fileName);
-
-                        // Print info on minimized graph
-                        p = FormatManager.nbStateTransitionRGAldebaran(autproj);
-                        jta.append("\n" + p.x + " state(s), " + p.y + " transition(s)\n\n");
-
-                        mgui.gtm.setRGAUTPROJ(autproj);
-                        mgui.saveRGAutProj();
-                        //jta.append(autproj);
-
-                        // AUT proj dot
-                        jta.append("\nConverting to dotty format\n");
-                        rshc.sendFileData(fileName, autproj);
-                        cmd1 = bcgioPath + " -bcg " + filenamebcg + " -graphviz " + fileName + ".dot";
-                        /*data =*/
-                        processCmd(cmd1);
-                        jta.append("Getting dot data\n");
-                        autprojdot = rshc.getFileData(fileName + ".dot");
-                        mgui.gtm.setRGAUTPROJDOT(autprojdot);
-                        mgui.saveRGAutProjDOT();
-
-                        fileName = FileUtils.removeFileExtension(fileName);
-                        rshc.deleteFile(fileName + ".aut");
-                        rshc.deleteFile(fileName + ".bcg");
-                        rshc.deleteFile(fileName + ".aut.dot");
-                        rshc.deleteFile(fileName + ".o");
-                        rshc.deleteFile(fileName + "@1.o");
-                        rshc.freeId(id);
+                        cmd1 +=  " -branching ";
                     }
+                    cmd1 += filenamebcg+ " " + filenamebcg;
+                    jta.append("Performing minimization\n");
+                    /*data =*/ processCmd(cmd1);
+                    jta.append("Minimization done\n");
+
+                    jta.append("Converting data to aut format\n");
+                    cmd1 = bcgioPath + " -bcg " + filenamebcg+ " -aldebaran " + fileName;
+                    /*data = */processCmd(cmd1);
+
+                    jta.append("Getting aut data\n");
+                    autproj = rshc.getFileData(fileName);
+                    
+                    // Print info on minimized graph
+                    p = FormatManager.nbStateTransitionRGAldebaran(autproj);
+                    jta.append("\n" + p.x + " state(s), " + p.y + " transition(s)\n\n");
+
+                    mgui.gtm.setRGAUTPROJ(autproj);
+                    mgui.saveRGAutProj();
+                    //jta.append(autproj);
+
+                    // AUT proj dot
+                    jta.append("\nConverting to dotty format\n");
+                    rshc.sendFileData(fileName, autproj);
+                    cmd1 = bcgioPath + " -bcg " + filenamebcg + " -graphviz " + fileName + ".dot";
+                    /*data =*/ processCmd(cmd1);
+                    jta.append("Getting dot data\n");
+                    autprojdot = rshc.getFileData(fileName + ".dot");
+                    mgui.gtm.setRGAUTPROJDOT(autprojdot);
+                    mgui.saveRGAutProjDOT();
+                    
+                    fileName = FileUtils.removeFileExtension(fileName);
+                    rshc.deleteFile(fileName + ".aut");
+                    rshc.deleteFile(fileName + ".bcg");
+                    rshc.deleteFile(fileName + ".aut.dot");
+                    rshc.deleteFile(fileName + ".o");
+                    rshc.deleteFile(fileName + "@1.o");
+                    rshc.freeId(id);
+                }
                 }
             }
 
             jta.append("Done\n");
-
+            
         } catch (LauncherException le) {
             jta.append("Error:" + le.getMessage() + "\n");
-            try {
-                if (rshctmp != null) {
-                    rshctmp.freeId(id);
-                }
-            } catch (LauncherException leb) {
-            }
+			try{
+				if (rshctmp != null) {
+					rshctmp.freeId(id);
+				}
+			} catch (LauncherException leb) {}
             mode = STOPPED;
             setButtons();
             return;
         } catch (Exception e) {
             mode = STOPPED;
-            try {
-                if (rshctmp != null) {
-                    rshctmp.freeId(id);
-                }
-            } catch (LauncherException leb) {
-            }
+			try{
+				if (rshctmp != null) {
+					rshctmp.freeId(id);
+				}
+			} catch (LauncherException leb) {}
             setButtons();
             return;
         }
-
+        
         mode = STOPPED;
         setButtons();
     }
-
+    
     protected String processCmd(String cmd) throws LauncherException {
         rshc.setCmd(cmd);
         String s = null;
diff --git a/src/main/java/ui/window/JDialogReducedAttribute.java b/src/main/java/ui/window/JDialogReducedAttribute.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogRequirement.java b/src/main/java/ui/window/JDialogRequirement.java
old mode 100755
new mode 100644
index d9dc61a6c53cfeeb985151d8704b7478eec9df85..8501fc651cec0de3be43b5e4f2409aa5dcb4604a
--- a/src/main/java/ui/window/JDialogRequirement.java
+++ b/src/main/java/ui/window/JDialogRequirement.java
@@ -157,7 +157,6 @@ public class JDialogRequirement extends JDialogBase implements ActionListener  {
         c1.gridheight = 1;
         c1.weighty = 1.0;
         c1.weightx = 1.0;
-        c1.fill = GridBagConstraints.BOTH;
         jta = new JTextArea();
         jta.setEditable(true);
         jta.setMargin(new Insets(10, 10, 10, 10));
@@ -166,8 +165,8 @@ public class JDialogRequirement extends JDialogBase implements ActionListener  {
         jta.setFont(new Font("times", Font.PLAIN, 12));
        
         JScrollPane jsp = new JScrollPane(jta, JScrollPane.VERTICAL_SCROLLBAR_ALWAYS, JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);
-        //jsp.setPreferredSize(new Dimension(300, 200));
-        panel1.add(jsp, c1);
+        jsp.setPreferredSize(new Dimension(300, 200));
+        panel1.add(jsp);
         //}
         
         // Panel2
@@ -283,7 +282,6 @@ public class JDialogRequirement extends JDialogBase implements ActionListener  {
         c0.gridheight = 10;
         c0.weighty = 1.0;
         c0.weightx = 1.0;
-        c0.fill = GridBagConstraints.BOTH;
         
         c.add(panel1, c0);
         c0.gridwidth = GridBagConstraints.REMAINDER; //end row
diff --git a/src/main/java/ui/window/JDialogRequirementTable.java b/src/main/java/ui/window/JDialogRequirementTable.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogSafetyPragma.java b/src/main/java/ui/window/JDialogSafetyPragma.java
index 8e8f0fb24216dfe185da47962f87a0d704e152e9..e44f1c6ec902b98e062b6f2edfe8f62fab31d007 100644
--- a/src/main/java/ui/window/JDialogSafetyPragma.java
+++ b/src/main/java/ui/window/JDialogSafetyPragma.java
@@ -1,26 +1,26 @@
 /* Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille
- *
+ * 
  * ludovic.apvrille AT enst.fr
- *
+ * 
  * This software is a computer program whose purpose is to allow the
  * edition of TURTLE analysis, design and deployment diagrams, to
  * allow the generation of RT-LOTOS or Java code from this diagram,
  * and at last to allow the analysis of formal validation traces
  * obtained from external tools, e.g. RTL from LAAS-CNRS and CADP
  * from INRIA Rhone-Alpes.
- *
+ * 
  * This software is governed by the CeCILL  license under French law and
  * abiding by the rules of distribution of free software.  You can  use,
  * modify and/ or redistribute the software under the terms of the CeCILL
  * license as circulated by CEA, CNRS and INRIA at the following URL
  * "http://www.cecill.info".
- *
+ * 
  * As a counterpart to the access to the source code and  rights to copy,
  * modify and redistribute granted by the license, users are provided only
  * with a limited warranty  and the software's author,  the holder of the
  * economic rights,  and the successive licensors  have only  limited
  * liability.
- *
+ * 
  * In this respect, the user's attention is drawn to the risks associated
  * with loading,  using,  modifying and/or developing or reproducing the
  * software by the user in light of its specific status of free software,
@@ -31,12 +31,14 @@
  * requirements in conditions enabling the security of their systems and/or
  * data to be ensured and,  more generally, to use and operate it in the
  * same conditions as regards security.
- *
+ * 
  * The fact that you are presently reading this means that you have had
  * knowledge of the CeCILL license and that you accept its terms.
  */
 
 
+
+
 package ui.window;
 
 import ui.util.IconManager;
@@ -52,14 +54,13 @@ import java.util.HashMap;
  * Class JDialogPragma
  * Dialog for entering a note
  * Creation: 06/12/2003
- *
- * @author Ludovic APVRILLE, Letitia LI
  * @version 1.0 06/12/2003
+ * @author Ludovic APVRILLE, Letitia LI
  */
 public class JDialogSafetyPragma extends JDialogBase implements ActionListener {
-
+    
     protected String text;
-
+    
     //components
     protected JTextArea textarea;
     protected JButton close;
@@ -67,25 +68,22 @@ public class JDialogSafetyPragma extends JDialogBase implements ActionListener {
     protected JMenuBar menuBar;
     protected JMenu help;
     protected JPopupMenu helpPopup;
-    public HashMap<String, java.util.List<String>> blockAttributeMap = new HashMap<String, java.util.List<String>>();
-
-    /**
-     * Creates new form
-     */
+	public HashMap<String, java.util.List<String>> blockAttributeMap = new HashMap<String, java.util.List<String>>();
+    /** Creates new form  */
     public JDialogSafetyPragma(Frame f, String title, String _text) {
         super(f, title, true);
         text = _text;
-
+        
         initComponents();
         pack();
     }
 //Suggestion Panel code from: http://stackoverflow.com/questions/10873748/how-to-show-autocomplete-as-i-type-in-jtextarea
 
     public class SuggestionPanel {
-        private final String[] pragma = {"A[]", "E<>", "A<>", "E[]", "min(", "max("};
-        //Form list of all blocks
-        //For each block, create a list of all attribute strings and states
-
+	private final String[] pragma = {"A[]", "E<>", "A<>", "E[]", "min(", "max("};
+	//Form list of all blocks
+	//For each block, create a list of all attribute strings and states
+	
         private JList list;
         private JPopupMenu popupMenu;
         private String subWord;
@@ -98,12 +96,12 @@ public class JDialogSafetyPragma extends JDialogBase implements ActionListener {
             popupMenu.removeAll();
             popupMenu.setOpaque(false);
             popupMenu.setBorder(null);
-
-            popupMenu.add(list = createSuggestionList(linePosition, position, subWord), BorderLayout.CENTER);
-            //Show popupMenu only if there are matching suggestions
-            if (list.getModel().getSize() > 0) {
+			
+            popupMenu.add(list = createSuggestionList(linePosition ,position, subWord), BorderLayout.CENTER);
+	    //Show popupMenu only if there are matching suggestions
+	    	if (list.getModel().getSize() >0){
                 popupMenu.show(textarea, location.x, textarea.getBaseline(0, 0) + location.y);
-            }
+	    	}
         }
 
         public void hide() {
@@ -113,33 +111,34 @@ public class JDialogSafetyPragma extends JDialogBase implements ActionListener {
             }
         }
 
-        private JList createSuggestionList(int linePosition, final int position, final String subWord) {
-            ArrayList<String> matches = new ArrayList<String>();
-            if (linePosition < 3) {
-                for (String p : pragma) {
-                    if (p.startsWith(subWord)) {
-                        matches.add(p);
-                    }
-                }
-            }
-
-            if (!subWord.contains(".")) {
-                for (String block : blockAttributeMap.keySet()) {
-                    if (block.startsWith(subWord)) {
-                        matches.add(block);
-                    }
-                }
-            } else {
-                String block = subWord.split("\\.")[0];
-                if (blockAttributeMap.containsKey(block)) {
-                    for (String attr : blockAttributeMap.get(block)) {
-                        if (attr.startsWith(subWord.split("\\.")[1])) {
-                            matches.add(block + "." + attr);
-                        }
-                    }
-                }
-            }
-            String[] data = new String[matches.size()];
+	private JList createSuggestionList(int linePosition, final int position, final String subWord) {
+	    ArrayList<String> matches = new ArrayList<String>();
+	    if (linePosition<3){
+	        for (String p: pragma) {
+          	    if (p.startsWith(subWord)){
+					matches.add(p);
+			    }
+			}
+	    }
+		
+		if (!subWord.contains(".")){
+			for (String block: blockAttributeMap.keySet()){
+				if (block.startsWith(subWord)){
+					matches.add(block);
+				}
+			}
+		}
+		else {
+			String block = subWord.split("\\.")[0];
+			if (blockAttributeMap.containsKey(block)){
+				for (String attr: blockAttributeMap.get(block)){
+					if (attr.startsWith(subWord.split("\\.")[1])){
+						matches.add(block+"."+attr);
+					}
+				}
+			}
+		}
+	    String[] data = new String[matches.size()];
             data = matches.toArray(data);
             JList<String> list = new JList<>(data);
             list.setBorder(BorderFactory.createLineBorder(Color.DARK_GRAY, 1));
@@ -153,16 +152,16 @@ public class JDialogSafetyPragma extends JDialogBase implements ActionListener {
                     }
                 }
             });
-
+	    
             return list;
         }
 
-
+	
         public boolean insertSelection() {
-            //Note that it will not add if the selection will not fit on the current line
-            if (!popupMenu.isVisible()) {
-                return false;
-            }
+		//Note that it will not add if the selection will not fit on the current line
+	    if (!popupMenu.isVisible()){
+		return false;
+	    }
             if (list.getSelectedValue() != null) {
                 try {
                     final String selectedSuggestion = ((String) list.getSelectedValue()).substring(subWord.length());
@@ -197,10 +196,8 @@ public class JDialogSafetyPragma extends JDialogBase implements ActionListener {
             });
         }
     }
-
-    private SuggestionPanel suggestion;
-
-    protected void showSuggestionLater() {
+     private SuggestionPanel suggestion;
+     protected void showSuggestionLater() {
         SwingUtilities.invokeLater(new Runnable() {
             @Override
             public void run() {
@@ -239,16 +236,17 @@ public class JDialogSafetyPragma extends JDialogBase implements ActionListener {
         if (subWord.length() < 1) {
             return;
         }
-        start = Math.max(0, position - 1);
-        while (start > 0) {
-            //Find previous new line position
-            if (!String.valueOf(text.charAt(start)).matches(".")) {
-                break;
-            } else {
-                start--;
-            }
-        }
-        suggestion = new SuggestionPanel(textarea, position, subWord, location, position - start - 1);
+		start=Math.max(0,position-1);
+		while (start>0){
+			//Find previous new line position
+			if (!String.valueOf(text.charAt(start)).matches(".")){
+				break;
+			}
+			else {
+				start--;
+			}
+		}
+        suggestion = new SuggestionPanel(textarea, position, subWord, location, position-start-1);
         SwingUtilities.invokeLater(new Runnable() {
             @Override
             public void run() {
@@ -264,7 +262,7 @@ public class JDialogSafetyPragma extends JDialogBase implements ActionListener {
     }
 
     protected void initComponents() {
-
+        
 
         Container c = getContentPane();
         Font f = new Font("Helvetica", Font.PLAIN, 14);
@@ -273,10 +271,10 @@ public class JDialogSafetyPragma extends JDialogBase implements ActionListener {
         //setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);	
         helpPopup = new JPopupMenu();
 
-
-        helpPopup.add(new JLabel(IconManager.imgic7009));
-
-        helpPopup.setPreferredSize(new Dimension(600, 900));
+		
+		helpPopup.add(new JLabel(IconManager.imgic7009));
+		
+		helpPopup.setPreferredSize(new Dimension(600,900));
         textarea = new JTextArea();
 
         textarea.setEditable(true);
@@ -284,12 +282,12 @@ public class JDialogSafetyPragma extends JDialogBase implements ActionListener {
         textarea.setTabSize(3);
         textarea.append(text);
         textarea.setFont(new Font("times", Font.PLAIN, 12));
-        JMenuBar menuBar = new JMenuBar();
-        menuBar.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);
-        help = new JMenu("?");
-        menuBar.add(help);
-        setJMenuBar(menuBar);
-        textarea.addKeyListener(new KeyListener() {
+		JMenuBar menuBar = new JMenuBar();
+		menuBar.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);
+		help = new JMenu("?");
+		menuBar.add(help);
+		setJMenuBar(menuBar);
+		textarea.addKeyListener(new KeyListener() {
             @Override
             public void keyTyped(KeyEvent e) {
                 if (e.getKeyChar() == KeyEvent.VK_ENTER || e.getKeyChar() == KeyEvent.VK_TAB) {
@@ -320,82 +318,85 @@ public class JDialogSafetyPragma extends JDialogBase implements ActionListener {
                     suggestion.moveUp();
                 } else if (Character.isWhitespace(e.getKeyChar())) {
                     hideSuggestion();
-                } else if (Character.isLetter(e.getKeyChar())) {
+                }
+		else if (Character.isLetter(e.getKeyChar())){
                     showSuggestionLater();
                 }
             }
 
             @Override
             public void keyPressed(KeyEvent e) {
-                if (e.getKeyCode() == KeyEvent.VK_DOWN && suggestion != null) {
-                    e.consume();
+		if (e.getKeyCode() == KeyEvent.VK_DOWN && suggestion != null) {
+                   e.consume();
                 } else if (e.getKeyCode() == KeyEvent.VK_UP && suggestion != null) {
                     e.consume();
-                }
+                } 
             }
         });
 
 
+	
         JScrollPane jsp = new JScrollPane(textarea, JScrollPane.VERTICAL_SCROLLBAR_ALWAYS, JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);
         jsp.setPreferredSize(new Dimension(300, 300));
         c.add(jsp, BorderLayout.CENTER);
+        
 
 
         close = new JButton("Ok", IconManager.imgic25);
         cancel = new JButton("Cancel", IconManager.imgic27);
-
-        help.setPreferredSize(new Dimension(30, 30));
+        
+	help.setPreferredSize(new Dimension(30,30));
 
         close.setPreferredSize(new Dimension(150, 30));
         cancel.setPreferredSize(new Dimension(150, 30));
-
+        
         close.addActionListener(this);
         cancel.addActionListener(this);
         help.addMouseListener(new MouseAdapter() {
-            @Override
-            public void mousePressed(MouseEvent e) {
-                help();
-            }
-        });
+                @Override
+                public void mousePressed(MouseEvent e) {
+                    help();
+                }
+            });
         JPanel jp = new JPanel();
-        jp.add(cancel);
         jp.add(close);
-
+        jp.add(cancel);
+        
         c.add(jp, BorderLayout.SOUTH);
+	
     }
-
-    public void actionPerformed(ActionEvent evt) {
+    
+    public void	actionPerformed(ActionEvent evt)  {
         String command = evt.getActionCommand();
-
+        
         // Compare the action command to the known actions.
-        if (command.equals("Cancel")) {
+        if (command.equals("Cancel"))  {
             cancel();
         } else if (command.equals("Ok")) {
             close();
         }
-
+	
     }
-
+    
     public void cancel() {
         dispose();
     }
-
+    
     public void close() {
         text = textarea.getText();
         dispose();
     }
-
-    public void help() {
-        if (!helpPopup.isVisible()) {
-            helpPopup.show(help, 20, 20);
-        } else {
-            helpPopup.setVisible(false);
-        }
+    public void help(){
+	if (!helpPopup.isVisible()){
+	    helpPopup.show(help, 20, 20);
+	}
+	else {
+	    helpPopup.setVisible(false);
+	}
     }
-
     public String getText() {
         return text;
     }
-
-
+    
+    
 }
diff --git a/src/main/java/ui/window/JDialogScheduling.java b/src/main/java/ui/window/JDialogScheduling.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogSelectAvatarBlock.java b/src/main/java/ui/window/JDialogSelectAvatarBlock.java
old mode 100755
new mode 100644
index 98cb245ad0c2c9b4160466aa957dd07d45fa0e4b..03e65caa0c61fa05e45db739feec837cc3b3c485
--- a/src/main/java/ui/window/JDialogSelectAvatarBlock.java
+++ b/src/main/java/ui/window/JDialogSelectAvatarBlock.java
@@ -37,10 +37,12 @@
  */
 
 
+
+
 package ui.window;
 
-import ui.avatarbd.AvatarBDStateMachineOwner;
 import ui.util.IconManager;
+import ui.avatarbd.AvatarBDStateMachineOwner;
 
 import javax.swing.*;
 import javax.swing.event.ListSelectionEvent;
@@ -56,11 +58,10 @@ import java.util.LinkedList;
  * Class JDialogSelectAvatarBlock
  * Dialog for managing blocks to be validated
  * Creation: 18/05/2010
- *
- * @author Ludovic APVRILLE
  * @version 1.0 18/05/2010
+ * @author Ludovic APVRILLE
  */
-public class JDialogSelectAvatarBlock extends JDialogBase implements ActionListener, ListSelectionListener {
+public class JDialogSelectAvatarBlock extends JDialogBase implements ActionListener, ListSelectionListener  {
     public LinkedList<AvatarBDStateMachineOwner> validated, ignored;
     private boolean optimized = true;
 
@@ -76,10 +77,8 @@ public class JDialogSelectAvatarBlock extends JDialogBase implements ActionListe
 
     private boolean hasBeenCancelled = true;
 
-    /**
-     * Creates new form
-     */
-    public JDialogSelectAvatarBlock(Frame f, LinkedList<AvatarBDStateMachineOwner> _back, LinkedList<AvatarBDStateMachineOwner> componentList, String title, LinkedList<AvatarBDStateMachineOwner> _validated, LinkedList<AvatarBDStateMachineOwner> _ignored, boolean _optimized) {
+    /** Creates new form  */
+    public JDialogSelectAvatarBlock(Frame f, LinkedList<AvatarBDStateMachineOwner> _back, LinkedList<AvatarBDStateMachineOwner> componentList, String title, LinkedList <AvatarBDStateMachineOwner> _validated, LinkedList <AvatarBDStateMachineOwner> _ignored, boolean _optimized) {
         super(f, title, true);
 
         back = _back;
@@ -89,7 +88,7 @@ public class JDialogSelectAvatarBlock extends JDialogBase implements ActionListe
 
         if ((validated == null) || (ignored == null)) {
             val = new LinkedList<>(componentList);
-            ign = new LinkedList<>();
+            ign = new LinkedList<> ();
         } else {
             val = validated;
             ign = ignored;
@@ -104,19 +103,19 @@ public class JDialogSelectAvatarBlock extends JDialogBase implements ActionListe
     }
 
     private void checkTask(LinkedList<AvatarBDStateMachineOwner> tobeChecked, LinkedList<AvatarBDStateMachineOwner> source) {
-        Iterator<AvatarBDStateMachineOwner> iterator = tobeChecked.iterator();
-
-        while (iterator.hasNext()) {
-            AvatarBDStateMachineOwner t = iterator.next();
+        Iterator<AvatarBDStateMachineOwner> iterator = tobeChecked.iterator ();
+        
+        while (iterator.hasNext ()) {
+            AvatarBDStateMachineOwner t = iterator.next ();
             if (!source.contains(t))
-                iterator.remove();
+                iterator.remove ();
         }
     }
 
     private void addNewTask(LinkedList<AvatarBDStateMachineOwner> added, LinkedList<AvatarBDStateMachineOwner> source, LinkedList<AvatarBDStateMachineOwner> notSource) {
-        for (AvatarBDStateMachineOwner tgc : source)
+        for (AvatarBDStateMachineOwner tgc: source)
             if (!added.contains(tgc) && !notSource.contains(tgc))
-                added.add(tgc);
+                added.add (tgc);
     }
 
     private void myInitComponents() {
@@ -127,33 +126,33 @@ public class JDialogSelectAvatarBlock extends JDialogBase implements ActionListe
         Container c = getContentPane();
         GridBagLayout gridbag1 = new GridBagLayout();
         GridBagConstraints c1 = new GridBagConstraints();
-        GridBagLayout gridbag2 = new GridBagLayout();
+	GridBagLayout gridbag2 = new GridBagLayout();
         GridBagConstraints c2 = new GridBagConstraints();
         setFont(new Font("Helvetica", Font.PLAIN, 14));
         //c.setLayout(new BorderLayout());
-        c.setLayout(gridbag2);
+	c.setLayout(gridbag2);
         setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
 
-        c2.weighty = 1.0;
+	c2.weighty = 1.0;
         c2.weightx = 1.0;
-        c2.gridwidth = 1;
-        c2.fill = GridBagConstraints.BOTH;
+	c2.gridwidth = 1;
+        c2.fill = GridBagConstraints.HORIZONTAL;
         c2.gridheight = 1;
 
         // ignored list
         JPanel panel1 = new JPanel();
         panel1.setLayout(new BorderLayout());
         panel1.setBorder(new javax.swing.border.TitledBorder("Blocks ignored"));
-        listIgnored = new JList<>(ign.toArray(new AvatarBDStateMachineOwner[0]));
+        listIgnored = new JList<> (ign.toArray (new AvatarBDStateMachineOwner [0]));
         //listIgnored.setPreferredSize(new Dimension(200, 250));
-        listIgnored.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
+        listIgnored.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION );
         listIgnored.addListSelectionListener(this);
         JScrollPane scrollPane1 = new JScrollPane(listIgnored);
         panel1.add(scrollPane1, BorderLayout.CENTER);
         panel1.setPreferredSize(new Dimension(200, 250));
         c.add(panel1, c2);
 
-
+        
         // central buttons
         JPanel panel3 = new JPanel();
         panel3.setLayout(gridbag1);
@@ -193,45 +192,23 @@ public class JDialogSelectAvatarBlock extends JDialogBase implements ActionListe
         c.add(panel3, c2);
 
 
-        // validated list
+	// validated list
         JPanel panel2 = new JPanel();
         panel2.setLayout(new BorderLayout());
         panel2.setBorder(new javax.swing.border.TitledBorder("Blocks taken into account"));
-        listValidated = new JList<>(val.toArray(new AvatarBDStateMachineOwner[0]));
+        listValidated = new JList<> (val.toArray (new AvatarBDStateMachineOwner [0]));
         //listValidated.setPreferredSize(new Dimension(200, 250));
-        listValidated.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
+        listValidated.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION );
         listValidated.addListSelectionListener(this);
         JScrollPane scrollPane2 = new JScrollPane(listValidated);
         panel2.add(scrollPane2, BorderLayout.CENTER);
         panel2.setPreferredSize(new Dimension(200, 250));
-        c2.gridwidth = GridBagConstraints.REMAINDER; //end row
+	c2.gridwidth = GridBagConstraints.REMAINDER; //end row
         c.add(panel2, c2);
 
 
-        optimize = new JCheckBox("Optimize specification");
-        optimize.setSelected(optimized);
-        c.add(optimize, c2);
-        c2.fill = GridBagConstraints.HORIZONTAL;
-        c2.gridwidth = 1; //end row
-        initMainButtons(c2, c, this, false, "Check syntax", "Cancel");
-
-        /*closeButton = new JButton("Start Syntax Analysis", IconManager.imgic37);
-        //closeButton.setPreferredSize(new Dimension(600, 50));
-        closeButton.addActionListener(this);
-        closeButton.setPreferredSize(new Dimension(200, 30));
-
-        JPanel panel4 = new JPanel();
-        panel4.setLayout(new FlowLayout());
-        JButton cancelButton = new JButton("Cancel", IconManager.imgic27);
-        cancelButton.addActionListener(this);
-        cancelButton.setPreferredSize(new Dimension(200, 30));
-        panel4.add(cancelButton);
-        panel4.add(closeButton);
-        c.add(panel4, c2);*/
-
-
         // main panel;
-        /*JPanel panel6 = new JPanel();
+        JPanel panel6 = new JPanel();
         panel6.setLayout(new BorderLayout());
 
         JPanel panel5 = new JPanel();
@@ -258,25 +235,21 @@ public class JDialogSelectAvatarBlock extends JDialogBase implements ActionListe
         panel6.add(panel5, BorderLayout.NORTH);
         panel6.add(panel4, BorderLayout.SOUTH);
 
-        c.add(panel6, c2);*/
+        c.add(panel6, c2);
 
     }
 
-    public void actionPerformed(ActionEvent evt) {
+    public void actionPerformed(ActionEvent evt)  {
         String command = evt.getActionCommand();
 
-        if (evt.getSource() == closeButton) {
-            closeDialog();
-            return;
-        } else if (evt.getSource() == cancelButton) {
-            cancelDialog();
-            return;
-        }
-
-
-
         // Compare the action command to the known actions.
         switch (command) {
+            case "Start Syntax Analysis":
+                closeDialog();
+                break;
+            case "Cancel":
+                cancelDialog();
+                break;
             case "addOneIgnored":
                 addOneIgnored();
                 break;
@@ -294,45 +267,45 @@ public class JDialogSelectAvatarBlock extends JDialogBase implements ActionListe
 
 
     private void addOneIgnored() {
-        for (AvatarBDStateMachineOwner o : this.listValidated.getSelectedValuesList()) {
-            ign.add(o);
-            val.remove(o);
+        for (AvatarBDStateMachineOwner o: this.listValidated.getSelectedValuesList ()) {
+            ign.add (o);
+            val.remove (o);
         }
 
-        listIgnored.setListData(ign.toArray(new AvatarBDStateMachineOwner[0]));
-        listValidated.setListData(val.toArray(new AvatarBDStateMachineOwner[0]));
+        listIgnored.setListData(ign.toArray (new AvatarBDStateMachineOwner[0]));
+        listValidated.setListData(val.toArray (new AvatarBDStateMachineOwner[0]));
         setButtons();
     }
 
     private void addOneValidated() {
-        for (AvatarBDStateMachineOwner o : this.listIgnored.getSelectedValuesList()) {
-            val.add(o);
-            ign.remove(o);
+        for (AvatarBDStateMachineOwner o: this.listIgnored.getSelectedValuesList ()) {
+            val.add (o);
+            ign.remove (o);
         }
 
-        listIgnored.setListData(ign.toArray(new AvatarBDStateMachineOwner[0]));
-        listValidated.setListData(val.toArray(new AvatarBDStateMachineOwner[0]));
+        listIgnored.setListData(ign.toArray (new AvatarBDStateMachineOwner [0]));
+        listValidated.setListData(val.toArray (new AvatarBDStateMachineOwner [0]));
         setButtons();
     }
 
     private void allValidated() {
         val.addAll(ign);
-        ign.clear();
-        listIgnored.setListData(ign.toArray(new AvatarBDStateMachineOwner[0]));
-        listValidated.setListData(val.toArray(new AvatarBDStateMachineOwner[0]));
+        ign.clear ();
+        listIgnored.setListData(ign.toArray (new AvatarBDStateMachineOwner [0]));
+        listValidated.setListData(val.toArray (new AvatarBDStateMachineOwner [0]));
         setButtons();
     }
 
     private void allIgnored() {
         ign.addAll(val);
         val.clear();
-        listIgnored.setListData(ign.toArray(new AvatarBDStateMachineOwner[0]));
-        listValidated.setListData(val.toArray(new AvatarBDStateMachineOwner[0]));
+        listIgnored.setListData(ign.toArray (new AvatarBDStateMachineOwner [0]));
+        listValidated.setListData(val.toArray (new AvatarBDStateMachineOwner [0]));
         setButtons();
     }
 
     public void closeDialog() {
-        back.clear();
+        back.clear ();
         back.addAll(val);
 
         validated = val;
@@ -365,13 +338,13 @@ public class JDialogSelectAvatarBlock extends JDialogBase implements ActionListe
             //listIgnored.clearSelection();
         }
 
-        if (ign.size() == 0) {
+        if (ign.size() ==0) {
             allValidated.setEnabled(false);
         } else {
             allValidated.setEnabled(true);
         }
 
-        if (val.size() == 0) {
+        if (val.size() ==0) {
             allIgnored.setEnabled(false);
             closeButton.setEnabled(false);
         } else {
diff --git a/src/main/java/ui/window/JDialogSelectCPDiagrams.java b/src/main/java/ui/window/JDialogSelectCPDiagrams.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogSelectRequirements.java b/src/main/java/ui/window/JDialogSelectRequirements.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogSelectSystemCAMSBlock.java b/src/main/java/ui/window/JDialogSelectSystemCAMSBlock.java
deleted file mode 100755
index 093e21dd964de36b208f18cef09aaa9a4fed2618..0000000000000000000000000000000000000000
--- a/src/main/java/ui/window/JDialogSelectSystemCAMSBlock.java
+++ /dev/null
@@ -1,420 +0,0 @@
-/* Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille, Andrea Enrici
- * 
- * ludovic.apvrille AT telecom-paristech.fr
- * andrea.enrici AT telecom-paristech.fr
- * 
- * This software is a computer program whose purpose is to allow the
- * edition of TURTLE analysis, design and deployment diagrams, to
- * allow the generation of RT-LOTOS or Java code from this diagram,
- * and at last to allow the analysis of formal validation traces
- * obtained from external tools, e.g. RTL from LAAS-CNRS and CADP
- * from INRIA Rhone-Alpes.
- * 
- * This software is governed by the CeCILL  license under French law and
- * abiding by the rules of distribution of free software.  You can  use,
- * modify and/ or redistribute the software under the terms of the CeCILL
- * license as circulated by CEA, CNRS and INRIA at the following URL
- * "http://www.cecill.info".
- * 
- * As a counterpart to the access to the source code and  rights to copy,
- * modify and redistribute granted by the license, users are provided only
- * with a limited warranty  and the software's author,  the holder of the
- * economic rights,  and the successive licensors  have only  limited
- * liability.
- * 
- * In this respect, the user's attention is drawn to the risks associated
- * with loading,  using,  modifying and/or developing or reproducing the
- * software by the user in light of its specific status of free software,
- * that may mean  that it is complicated to manipulate,  and  that  also
- * therefore means  that it is reserved for developers  and  experienced
- * professionals having in-depth computer knowledge. Users are therefore
- * encouraged to load and test the software's suitability as regards their
- * requirements in conditions enabling the security of their systems and/or
- * data to be ensured and,  more generally, to use and operate it in the
- * same conditions as regards security.
- * 
- * The fact that you are presently reading this means that you have had
- * knowledge of the CeCILL license and that you accept its terms.
- */
-
-
-
-
-package ui.window;
-
-import myutil.TraceManager;
-import ui.util.IconManager;
-import ui.TGComponent;
-import ui.het.*;
-
-import javax.swing.*;
-import javax.swing.event.ListSelectionEvent;
-import javax.swing.event.ListSelectionListener;
-import java.awt.*;
-import java.awt.event.ActionEvent;
-import java.awt.event.ActionListener;
-import java.util.Arrays;
-import java.util.List;
-import java.util.Vector;
-
-
-/**
-   * Class JDialogSelectSystemCAMSBlock
-   * Dialog for selecting systemC-AMS blocks
-   * Creation: 04/07/2017
-   * @version 1.0 04/07/2017
-   * @author Côme Demarigny
- */
-public class JDialogSelectSystemCAMSBlock extends JDialogBase implements ActionListener, ListSelectionListener  {
-
-    public static Vector<TGComponent> validated, ignored;
-    private static boolean optimized = true;
-
-    private Vector<TGComponent> val, ign, back;      //val for validated, ign for ignored
-
-    //subpanels
-    private JPanel panel1, panel2, panel3, panel4, panel5, panel6;
-    private JList<TGComponent> listIgnored;
-    private JList<TGComponent> listValidated;
-    private JButton allValidated;
-    private JButton addOneValidated;
-    private JButton addOneIgnored;
-    private JButton allIgnored;
-    protected JCheckBox optimize;
-    //  protected JTextField clockField;
-
-    /* Creates new form  */
-    public JDialogSelectSystemCAMSBlock( Frame f, Vector<TGComponent> _back, List<TGComponent> componentList, String title ) {
-        super(f, title, true);
-
-        TraceManager.addDev( "Printing list of components: " + Arrays.toString( componentList.toArray()) );
-
-        back = _back;
-        if( ( validated == null ) || ( ignored == null ) ) {
-            val = makeNewVal( componentList );  //componentList must already contain something.
-            //originally contained in componentList
-            ign = new Vector<TGComponent>(); //empty
-            //val and ign are the lists that are printed in the Syntax Analysis window
-        }
-        else {
-            val = validated;    //validated and ignored, the public vectors come from the instance of SystemCAMSPanel
-            ign = ignored;
-            checkBlock( val, componentList );
-            checkBlock( ign, componentList );
-            addNewBlock( val, componentList, ign );
-        }
-
-        initComponents();
-        myInitComponents();
-        pack();
-    }
-
-    //From componentList, filter out all the elements which are not TMLArchiNode
-    private Vector<TGComponent> makeNewVal( List<TGComponent> list ) {
-
-        Vector<TGComponent> v = new Vector<TGComponent>();
-        TGComponent tgc;
-
-        for( int i = 0; i < list.size(); i++ ) {
-            tgc = list.get(i);
-	    // System.out.println(tgc);
-            if (tgc instanceof CAMSBlock) {
-		v.addElement( tgc );
-            }
-        }
-        return v;
-    }
-
-    private void checkBlock( Vector<TGComponent> tobeChecked, List<TGComponent> source ) {
-
-        CAMSBlock block;
-	
-        for(int i = 0; i < tobeChecked.size(); i++ ) {
-            if( tobeChecked.elementAt(i) instanceof CAMSBlock ){
-                block = (CAMSBlock) tobeChecked.elementAt(i);
-                if( !source.contains(block) )     {
-                    tobeChecked.removeElementAt(i);
-                    i--;
-                }
-	    }
-	}
-    }
-
-    public void addNewBlock( Vector<TGComponent> added, List<TGComponent> source, Vector<TGComponent> notSource ) {
-
-        TGComponent tgc;
-
-        for( int i = 0; i < source.size(); i++ ) {
-            tgc = source.get(i);
-            if( ( tgc instanceof CAMSBlock ) && ( !added.contains(tgc) ) && ( !notSource.contains(tgc) ) )    {
-                added.addElement( tgc );
-                System.out.println("New element");
-            }
-	}
-    }
-
-    private void myInitComponents() {
-        setButtons();
-    }
-
-    private void initComponents() {
-
-        Container c = getContentPane();
-        GridBagLayout gridbag1 = new GridBagLayout();
-        GridBagConstraints c1 = new GridBagConstraints();
-	GridBagLayout gridbag2 = new GridBagLayout();
-        GridBagConstraints c2 = new GridBagConstraints();
-        setFont( new Font( "Helvetica", Font.PLAIN, 14) );
-        c.setLayout( new BorderLayout() );
-        setDefaultCloseOperation( JFrame.DISPOSE_ON_CLOSE );
-
-	c.setLayout(gridbag2);
-	c2.weighty = 1.0;
-        c2.weightx = 1.0;
-	c2.gridwidth = 1;
-        c2.fill = GridBagConstraints.HORIZONTAL;
-        c2.gridheight = 1;
-
-        // ignored list
-        panel1 = new JPanel();
-        panel1.setLayout( new BorderLayout() );
-        panel1.setBorder( new javax.swing.border.TitledBorder( "Diagrams ignored" ) );
-        listIgnored = new JList<TGComponent>( ign );
-        //listIgnored.setPreferredSize(new Dimension(200, 250));
-        listIgnored.setSelectionMode( ListSelectionModel.MULTIPLE_INTERVAL_SELECTION );
-        listIgnored.addListSelectionListener( this );
-        JScrollPane scrollPane1 = new JScrollPane( listIgnored );
-        panel1.add( scrollPane1, BorderLayout.CENTER );
-        panel1.setPreferredSize( new Dimension( 200, 250) );
-        c.add( panel1, c2);
-
- 
-
-        // central buttons
-        panel3 = new JPanel();
-        panel3.setLayout(gridbag1);
-
-        c1.weighty = 1.0;
-        c1.weightx = 1.0;
-        c1.gridwidth = GridBagConstraints.REMAINDER; //end row
-        c1.fill = GridBagConstraints.HORIZONTAL;
-        c1.gridheight = 1;
-
-        allValidated = new JButton(IconManager.imgic50);
-        allValidated.setPreferredSize(new Dimension(50, 25));
-        allValidated.addActionListener(this);
-        allValidated.setActionCommand("allValidated");
-        panel3.add(allValidated, c1);
-
-        addOneValidated = new JButton(IconManager.imgic48);
-        addOneValidated.setPreferredSize(new Dimension(50, 25));
-        addOneValidated.addActionListener(this);
-        addOneValidated.setActionCommand("addOneValidated");
-        panel3.add(addOneValidated, c1);
-
-        panel3.add(new JLabel(" "), c1);
-
-        addOneIgnored = new JButton(IconManager.imgic46);
-        addOneIgnored.addActionListener(this);
-        addOneIgnored.setPreferredSize(new Dimension(50, 25));
-        addOneIgnored.setActionCommand("addOneIgnored");
-        panel3.add(addOneIgnored, c1);
-
-        allIgnored = new JButton(IconManager.imgic44);
-        allIgnored.addActionListener(this);
-        allIgnored.setPreferredSize(new Dimension(50, 25));
-        allIgnored.setActionCommand("allIgnored");
-        panel3.add(allIgnored, c1);
-
-        c.add(panel3, c2);
-
-	       // validated list
-        panel2 = new JPanel();
-        panel2.setLayout( new BorderLayout() );
-        panel2.setBorder( new javax.swing.border.TitledBorder( "Diagrams taken into account" ) );
-        listValidated = new JList<TGComponent>( val );
-        //listValidated.setPreferredSize(new Dimension(200, 250));
-        listValidated.setSelectionMode( ListSelectionModel.MULTIPLE_INTERVAL_SELECTION );
-        listValidated.addListSelectionListener( this );
-        JScrollPane scrollPane2 = new JScrollPane( listValidated );
-        panel2.add( scrollPane2, BorderLayout.CENTER );
-        panel2.setPreferredSize( new Dimension(200, 250) );
-	c2.gridwidth = GridBagConstraints.REMAINDER; //end row
-	c.add( panel2, c2 );
-
-        // main panel;
-        panel6 = new JPanel();
-        panel6.setLayout(new BorderLayout());
-
-        panel5 = new JPanel();
-        /*GridBagLayout gridbag3 = new GridBagLayout();
-        GridBagConstraints c3 = new GridBagConstraints();
-        panel5.setLayout(gridbag3);
-
-        c3.weighty = 1.0;
-        c3.weightx = 1.0;
-        c3.fill = GridBagConstraints.HORIZONTAL;
-        c3.gridheight = 1;
-
-        c3.gridwidth = GridBagConstraints.REMAINDER; //end row
-        //              optimize = new JCheckBox("Optimize TML specification");
-        //              optimize.setSelected(optimized);
-        //              panel5.add(optimize, c2);
-
-        c3.gridwidth = 1; //end row
-        //              panel5.add(new JLabel("Master clock (in MHz)"), c2);
-        //              c2.gridwidth = GridBagConstraints.REMAINDER; //end row
-        //              clockField = new JTextField("" + clock);
-        //              panel5.add(clockField, c2);*/
-
-        panel4 = new JPanel();
-        panel4.setLayout(new FlowLayout());
-
-        closeButton = new JButton("Start Syntax Analysis", IconManager.imgic37);
-        //closeButton.setPreferredSize(new Dimension(600, 50));
-        closeButton.addActionListener(this);
-        closeButton.setPreferredSize(new Dimension(200, 30));
-
-        cancelButton = new JButton("Cancel", IconManager.imgic27);
-        cancelButton.addActionListener(this);
-        cancelButton.setPreferredSize(new Dimension(200, 30));
-        panel4.add(cancelButton);
-        panel4.add(closeButton);
-
-        panel6.add(panel5, BorderLayout.NORTH);
-        panel6.add(panel4, BorderLayout.SOUTH);
-
-        c.add(panel6, c2);
-
-    }
-
-    public void actionPerformed( ActionEvent evt )  {
-        String command = evt.getActionCommand();
-
-        if (evt.getSource() == closeButton) {
-            closeDialog();
-            return;
-        } else if (evt.getSource() == cancelButton) {
-            cancelDialog();
-            return;
-        }
-        // Compare the action command to the known actions.
-       if (command.equals("addOneIgnored")) {
-            addOneIgnored();
-        } else if (command.equals("addOneValidated")) {
-            addOneValidated();
-        } else if (command.equals("allValidated")) {
-            allValidated();
-        } else if (command.equals("allIgnored")) {
-            allIgnored();
-        }
-    }
-
-
-    private void addOneIgnored() {
-        int [] list = listValidated.getSelectedIndices();
-        Vector<TGComponent> v = new Vector<TGComponent>();
-        TGComponent o;
-        for (int i=0; i<list.length; i++){
-            o = val.elementAt(list[i]);
-            ign.addElement(o);
-            v.addElement(o);
-        }
-
-        val.removeAll(v);
-        listIgnored.setListData(ign);
-        listValidated.setListData(val);
-        setButtons();
-    }
-
-    private void addOneValidated() {
-        int [] list = listIgnored.getSelectedIndices();
-        Vector<TGComponent> v = new Vector<TGComponent>();
-        TGComponent o;
-        
-        for (int i=0; i<list.length; i++){
-            o = ign.elementAt(list[i]);
-            val.addElement(o);
-            v.addElement(o);
-        }
-
-        ign.removeAll(v);
-        listIgnored.setListData(ign);
-        listValidated.setListData(val);
-        setButtons();
-    }
-
-    private void allValidated() {
-        val.addAll(ign);
-        ign.removeAllElements();
-        listIgnored.setListData(ign);
-        listValidated.setListData(val);
-        setButtons();
-    }
-
-    private void allIgnored() {
-        ign.addAll(val);
-        val.removeAllElements();
-        listIgnored.setListData(ign);
-        listValidated.setListData(val);
-        setButtons();
-    }
-
-
-    public void closeDialog() {
-
-        back.removeAllElements();
-
-        for( int i = 0; i < val.size(); i++ ) {
-            back.addElement( val.elementAt(i) );
-        }
-        validated = val;
-        ignored = ign;
-        dispose();
-    }
-
-    public void cancelDialog() {
-        dispose();
-    }
-
-    private void setButtons() {
-        int i1 = listIgnored.getSelectedIndex();
-        int i2 = listValidated.getSelectedIndex();
-
-        if (i1 == -1) {
-            addOneValidated.setEnabled(false);
-        } else {
-            addOneValidated.setEnabled(true);
-            //listValidated.clearSelection();
-        }
-
-        if (i2 == -1) {
-            addOneIgnored.setEnabled(false);
-        } else {
-            addOneIgnored.setEnabled(true);
-            //listIgnored.clearSelection();
-        }
-
-        if (ign.size() ==0) {
-            allValidated.setEnabled(false);
-        } else {
-            allValidated.setEnabled(true);
-        }
-
-        if (val.size() ==0) {
-            allIgnored.setEnabled(false);
-            closeButton.setEnabled(false);
-        } else {
-            allIgnored.setEnabled(true);
-            closeButton.setEnabled(true);
-        }
-    }
-
-    public void valueChanged(ListSelectionEvent e) {
-        setButtons();
-    }
-
-    public boolean getOptimize() {
-        return optimized;
-    }
-}
diff --git a/src/main/java/ui/window/JDialogSelectTMLComponent.java b/src/main/java/ui/window/JDialogSelectTMLComponent.java
old mode 100755
new mode 100644
index 52117c43b071cd1e593dba399313d56eca4e43e9..d3c5252b81ecb1d1a44059d3c0e63c798d48dd04
--- a/src/main/java/ui/window/JDialogSelectTMLComponent.java
+++ b/src/main/java/ui/window/JDialogSelectTMLComponent.java
@@ -37,13 +37,15 @@
  */
 
 
+
+
 package ui.window;
 
+import ui.util.IconManager;
 import ui.TGComponent;
 import ui.tmlcompd.TMLCCompositeComponent;
 import ui.tmlcompd.TMLCPrimitiveComponent;
 import ui.tmlcompd.TMLCRemoteCompositeComponent;
-import ui.util.IconManager;
 
 import javax.swing.*;
 import javax.swing.event.ListSelectionEvent;
@@ -57,14 +59,13 @@ import java.util.Vector;
 
 
 /**
- * Class JDialogSelectTMLComponent
- * Dialog for managing primitive components to be validated
- * Creation: 28/03/2008
- *
- * @author Ludovic APVRILLE
- * @version 1.0 28/03/2008
+   * Class JDialogSelectTMLComponent
+   * Dialog for managing primitive components to be validated
+   * Creation: 28/03/2008
+   * @version 1.0 28/03/2008
+   * @author Ludovic APVRILLE
  */
-public class JDialogSelectTMLComponent extends JDialogBase implements ActionListener, ListSelectionListener {
+public class JDialogSelectTMLComponent extends JDialogBase implements ActionListener, ListSelectionListener  {
     public static Vector<TGComponent> validated, ignored;
     private static boolean optimized = true;
 
@@ -81,9 +82,7 @@ public class JDialogSelectTMLComponent extends JDialogBase implements ActionList
     private JButton allIgnored;
     protected JCheckBox optimize;
 
-    /**
-     * Creates new form
-     */
+    /** Creates new form  */
     public JDialogSelectTMLComponent(Frame f, Vector<TGComponent> _back, List<TGComponent> componentList, String title) {
         super(f, title, true);
 
@@ -112,10 +111,10 @@ public class JDialogSelectTMLComponent extends JDialogBase implements ActionList
         TGComponent tgc;
         TMLCCompositeComponent ccomp;
 
-        for (int i = 0; i < lcs.size(); i++) {
+        for(int i=0; i<lcs.size(); i++) {
             tgc = lcs.get(i);
             if (tgc instanceof TMLCCompositeComponent) {
-                ccomp = (TMLCCompositeComponent) tgc;
+                ccomp = (TMLCCompositeComponent)tgc;
                 cs.addAll(ccomp.getAllPrimitiveComponents());
             }
             if (tgc instanceof TMLCPrimitiveComponent) {
@@ -123,16 +122,16 @@ public class JDialogSelectTMLComponent extends JDialogBase implements ActionList
             }
 
             if (tgc instanceof TMLCRemoteCompositeComponent) {
-                cs.addAll(((TMLCRemoteCompositeComponent) tgc).getAllPrimitiveComponents());
+                cs.addAll(((TMLCRemoteCompositeComponent)tgc).getAllPrimitiveComponents());
             }
         }
     }
 
-    private Vector<TGComponent> makeNewVal(List<TGComponent> list) {
+    private Vector<TGComponent> makeNewVal( List<TGComponent> list) {
         Vector<TGComponent> v = new Vector<TGComponent>();
         TGComponent tgc;
 
-        for (int i = 0; i < list.size(); i++) {
+        for(int i=0; i<list.size(); i++) {
             tgc = list.get(i);
             //System.out.println(tgc);
             if (tgc instanceof TMLCPrimitiveComponent) {
@@ -143,11 +142,11 @@ public class JDialogSelectTMLComponent extends JDialogBase implements ActionList
     }
 
     private void checkTask(Vector<? extends TGComponent> tobeChecked, List<TGComponent> source) {
-        TGComponent t;
+    	TGComponent t;
 
-        for (int i = 0; i < tobeChecked.size(); i++) {
+        for(int i=0; i<tobeChecked.size(); i++) {
             t = tobeChecked.elementAt(i);
-
+            
             if (!source.contains(t)) {
                 tobeChecked.removeElementAt(i);
                 i--;
@@ -158,11 +157,11 @@ public class JDialogSelectTMLComponent extends JDialogBase implements ActionList
     public void addNewTask(Vector<TGComponent> added, List<TGComponent> source, Vector<TGComponent> notSource) {
         TGComponent tgc;
 
-        for (int i = 0; i < source.size(); i++) {
+        for(int i=0; i<source.size(); i++) {
             tgc = source.get(i);
-
-            if ((tgc instanceof TMLCPrimitiveComponent) && (!added.contains(tgc)) && (!notSource.contains(tgc))) {
-                added.addElement(tgc);
+            
+            if ((tgc instanceof TMLCPrimitiveComponent) && (!added.contains(tgc)) && (!notSource.contains(tgc))){
+                added.addElement( tgc ) ;
                 //System.out.println("New element");
             }
         }
@@ -176,17 +175,17 @@ public class JDialogSelectTMLComponent extends JDialogBase implements ActionList
         Container c = getContentPane();
         GridBagLayout gridbag1 = new GridBagLayout();
         GridBagConstraints c1 = new GridBagConstraints();
-        GridBagLayout gridbag2 = new GridBagLayout();
+	GridBagLayout gridbag2 = new GridBagLayout();
         GridBagConstraints c2 = new GridBagConstraints();
         setFont(new Font("Helvetica", Font.PLAIN, 14));
 
-        c.setLayout(gridbag2);
+	c.setLayout(gridbag2);
         setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
 
-        c2.weighty = 1.0;
+	c2.weighty = 1.0;
         c2.weightx = 1.0;
-        c2.gridwidth = 1;
-        c2.fill = GridBagConstraints.BOTH;
+	c2.gridwidth = 1;
+        c2.fill = GridBagConstraints.HORIZONTAL;
         c2.gridheight = 1;
 
         // ignored list
@@ -195,7 +194,7 @@ public class JDialogSelectTMLComponent extends JDialogBase implements ActionList
         panel1.setBorder(new javax.swing.border.TitledBorder("Ignored components"));
         listIgnored = new JList<TGComponent>(ign);
         //listIgnored.setPreferredSize(new Dimension(200, 250));
-        listIgnored.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
+        listIgnored.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION );
         listIgnored.addListSelectionListener(this);
         JScrollPane scrollPane1 = new JScrollPane(listIgnored);
         panel1.add(scrollPane1, BorderLayout.CENTER);
@@ -203,6 +202,7 @@ public class JDialogSelectTMLComponent extends JDialogBase implements ActionList
         c.add(panel1, c2);
 
 
+
         // central buttons
         panel3 = new JPanel();
         panel3.setLayout(gridbag1);
@@ -238,33 +238,25 @@ public class JDialogSelectTMLComponent extends JDialogBase implements ActionList
         allIgnored.setPreferredSize(new Dimension(50, 25));
         allIgnored.setActionCommand("allIgnored");
         panel3.add(allIgnored, c1);
-
+	
         c.add(panel3, c2);
 
-        // validated list
+	// validated list
         panel2 = new JPanel();
         panel2.setLayout(new BorderLayout());
         panel2.setBorder(new javax.swing.border.TitledBorder("Used components"));
         listValidated = new JList<TGComponent>(val);
         //listValidated.setPreferredSize(new Dimension(200, 250));
-        listValidated.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
+        listValidated.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION );
         listValidated.addListSelectionListener(this);
         JScrollPane scrollPane2 = new JScrollPane(listValidated);
         panel2.add(scrollPane2, BorderLayout.CENTER);
         panel2.setPreferredSize(new Dimension(200, 250));
-        c2.gridwidth = GridBagConstraints.REMAINDER; //end row
+	c2.gridwidth = GridBagConstraints.REMAINDER; //end row
         c.add(panel2, c2);
 
-        optimize = new JCheckBox("Optimize TML specification");
-        optimize.setSelected(optimized);
-        c.add(optimize, c2);
-        c2.fill = GridBagConstraints.HORIZONTAL;
-        c2.gridwidth = 1; //end row
-        initMainButtons(c2, c, this, false, "Check syntax", "Cancel");
-
-
         // main panel;
-        /*panel6 = new JPanel();
+        panel6 = new JPanel();
         panel6.setLayout(new BorderLayout());
 
         panel5 = new JPanel();
@@ -291,23 +283,19 @@ public class JDialogSelectTMLComponent extends JDialogBase implements ActionList
         panel6.add(panel5, BorderLayout.NORTH);
         panel6.add(panel4, BorderLayout.SOUTH);
 
-        c.add(panel6, c2);*/
+        c.add(panel6, c2);
 
     }
 
-    public void actionPerformed(ActionEvent evt) {
+    public void actionPerformed(ActionEvent evt)  {
         String command = evt.getActionCommand();
 
-        if (evt.getSource() == closeButton) {
+        // Compare the action command to the known actions.
+        if (command.equals("Start Syntax Analysis"))  {
             closeDialog();
-            return;
-        } else if (evt.getSource() == cancelButton) {
+        } else if (command.equals("Cancel")) {
             cancelDialog();
-            return;
-        }
-
-        // Compare the action command to the known actions.
-       if (command.equals("addOneIgnored")) {
+        } else if (command.equals("addOneIgnored")) {
             addOneIgnored();
         } else if (command.equals("addOneValidated")) {
             addOneValidated();
@@ -320,10 +308,10 @@ public class JDialogSelectTMLComponent extends JDialogBase implements ActionList
 
 
     private void addOneIgnored() {
-        int[] list = listValidated.getSelectedIndices();
+        int [] list = listValidated.getSelectedIndices();
         Vector<TGComponent> v = new Vector<TGComponent>();
         TGComponent o;
-        for (int i = 0; i < list.length; i++) {
+        for (int i=0; i<list.length; i++){
             o = val.elementAt(list[i]);
             ign.addElement(o);
             v.addElement(o);
@@ -336,10 +324,10 @@ public class JDialogSelectTMLComponent extends JDialogBase implements ActionList
     }
 
     private void addOneValidated() {
-        int[] list = listIgnored.getSelectedIndices();
+        int [] list = listIgnored.getSelectedIndices();
         Vector<TGComponent> v = new Vector<TGComponent>();
         TGComponent o;
-        for (int i = 0; i < list.length; i++) {
+        for (int i=0; i<list.length; i++){
             o = ign.elementAt(list[i]);
             val.addElement(o);
             v.addElement(o);
@@ -370,7 +358,7 @@ public class JDialogSelectTMLComponent extends JDialogBase implements ActionList
 
     public void closeDialog() {
         back.removeAllElements();
-        for (int i = 0; i < val.size(); i++) {
+        for(int i=0; i<val.size(); i++) {
             back.addElement(val.elementAt(i));
         }
         validated = val;
@@ -401,13 +389,13 @@ public class JDialogSelectTMLComponent extends JDialogBase implements ActionList
             //listIgnored.clearSelection();
         }
 
-        if (ign.size() == 0) {
+        if (ign.size() ==0) {
             allValidated.setEnabled(false);
         } else {
             allValidated.setEnabled(true);
         }
 
-        if (val.size() == 0) {
+        if (val.size() ==0) {
             allIgnored.setEnabled(false);
             closeButton.setEnabled(false);
         } else {
diff --git a/src/main/java/ui/window/JDialogSelectTMLNodes.java b/src/main/java/ui/window/JDialogSelectTMLNodes.java
old mode 100755
new mode 100644
index 7d03fa5439b69e5df421be062ef604cefe282838..30da97e51497df29f46261d04b1a344e4eff952c
--- a/src/main/java/ui/window/JDialogSelectTMLNodes.java
+++ b/src/main/java/ui/window/JDialogSelectTMLNodes.java
@@ -37,12 +37,13 @@
  */
 
 
+
+
 package ui.window;
 
-import ui.TGComponent;
-import ui.TGComponentPlugin;
-import ui.tmldd.TMLArchiNode;
+import ui.*;
 import ui.util.IconManager;
+import ui.tmldd.TMLArchiNode;
 
 import javax.swing.*;
 import javax.swing.event.ListSelectionEvent;
@@ -54,14 +55,13 @@ import java.util.Vector;
 
 
 /**
- * Class JDialogSelectTMLNodes
- * Dialog for managing nodes to be validated
- * Creation: 19/09/2007
- *
- * @author Ludovic APVRILLE
- * @version 1.0 19/09/2007
+   * Class JDialogSelectTMLNodes
+   * Dialog for managing nodes to be validated
+   * Creation: 19/09/2007
+   * @version 1.0 19/09/2007
+   * @author Ludovic APVRILLE
  */
-public class JDialogSelectTMLNodes extends JDialogBase implements ActionListener, ListSelectionListener {
+public class JDialogSelectTMLNodes extends JDialogBase implements ActionListener, ListSelectionListener  {
     public static Vector<TGComponent> validated, ignored;
     private static boolean optimized = true;
 
@@ -80,9 +80,7 @@ public class JDialogSelectTMLNodes extends JDialogBase implements ActionListener
     protected JCheckBox optimize;
     protected JTextField clockField;
 
-    /**
-     * Creates new form
-     */
+    /** Creates new form  */
     public JDialogSelectTMLNodes(Frame f, Vector<TGComponent> _back, java.util.List<TGComponent> componentList, String title, int _clock) {
         super(f, title, true);
 
@@ -106,30 +104,30 @@ public class JDialogSelectTMLNodes extends JDialogBase implements ActionListener
         pack();
     }
 
-    private Vector<TGComponent> makeNewVal(java.util.List<TGComponent> list) {
+    private Vector<TGComponent> makeNewVal( java.util.List<TGComponent> list) {
         Vector<TGComponent> v = new Vector<TGComponent>();
         TGComponent tgc;
 
-        for (int i = 0; i < list.size(); i++) {
+        for(int i=0; i<list.size(); i++) {
             tgc = list.get(i);
             //System.out.println(tgc);
             if (tgc instanceof TMLArchiNode) {
                 v.addElement(tgc);
             }
-            if (tgc instanceof TGComponentPlugin) {
-                v.addElement(tgc);
-            }
+	    if (tgc instanceof TGComponentPlugin) {
+		v.addElement(tgc);
+	    }
         }
-
+        
         return v;
     }
 
     private void checkNode(Vector<TGComponent> tobeChecked, java.util.List<TGComponent> source) {
-        TGComponent t;
+    	TGComponent t;
 
-        for (int i = 0; i < tobeChecked.size(); i++) {
+        for(int i=0; i<tobeChecked.size(); i++) {
             t = tobeChecked.elementAt(i);
-
+            
             if (!source.contains(t)) {
                 tobeChecked.removeElementAt(i);
                 i--;
@@ -140,10 +138,10 @@ public class JDialogSelectTMLNodes extends JDialogBase implements ActionListener
     public void addNewNode(Vector<TGComponent> added, java.util.List<TGComponent> source, Vector<TGComponent> notSource) {
         TGComponent tgc;
 
-        for (int i = 0; i < source.size(); i++) {
+        for(int i=0; i<source.size(); i++) {
             tgc = source.get(i);
-
-            if (((tgc instanceof TMLArchiNode) || (tgc instanceof TGComponentPlugin)) && (!added.contains(tgc)) && (!notSource.contains(tgc))) {
+            
+            if (((tgc instanceof TMLArchiNode) || (tgc instanceof TGComponentPlugin)) && (!added.contains(tgc)) && (!notSource.contains(tgc))){
                 added.addElement(tgc);
                 //System.out.println("New element");
             }
@@ -158,16 +156,16 @@ public class JDialogSelectTMLNodes extends JDialogBase implements ActionListener
         Container c = getContentPane();
         GridBagLayout gridbag1 = new GridBagLayout();
         GridBagConstraints c1 = new GridBagConstraints();
-        GridBagLayout gridbag2 = new GridBagLayout();
+	GridBagLayout gridbag2 = new GridBagLayout();
         GridBagConstraints c2 = new GridBagConstraints();
         setFont(new Font("Helvetica", Font.PLAIN, 14));
         c.setLayout(gridbag2);
         setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
-
-        c2.weighty = 1.0;
+	
+	c2.weighty = 1.0;
         c2.weightx = 1.0;
-        c2.gridwidth = 1;
-        c2.fill = GridBagConstraints.BOTH;
+	c2.gridwidth = 1;
+        c2.fill = GridBagConstraints.HORIZONTAL;
         c2.gridheight = 1;
 
         // ignored list
@@ -176,7 +174,7 @@ public class JDialogSelectTMLNodes extends JDialogBase implements ActionListener
         panel1.setBorder(new javax.swing.border.TitledBorder("Nodes ignored"));
         listIgnored = new JList<TGComponent>(ign);
         //listIgnored.setPreferredSize(new Dimension(200, 250));
-        listIgnored.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
+        listIgnored.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION );
         listIgnored.addListSelectionListener(this);
         JScrollPane scrollPane1 = new JScrollPane(listIgnored);
         panel1.add(scrollPane1, BorderLayout.CENTER);
@@ -184,6 +182,7 @@ public class JDialogSelectTMLNodes extends JDialogBase implements ActionListener
         c.add(panel1, c2);
 
 
+
         // central buttons
         panel3 = new JPanel();
         panel3.setLayout(gridbag1);
@@ -222,37 +221,22 @@ public class JDialogSelectTMLNodes extends JDialogBase implements ActionListener
 
         c.add(panel3, c2);
 
-        // validated list
+	// validated list
         panel2 = new JPanel();
         panel2.setLayout(new BorderLayout());
         panel2.setBorder(new javax.swing.border.TitledBorder("Nodes taken into account"));
         listValidated = new JList<TGComponent>(val);
         //listValidated.setPreferredSize(new Dimension(200, 250));
-        listValidated.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
+        listValidated.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION );
         listValidated.addListSelectionListener(this);
         JScrollPane scrollPane2 = new JScrollPane(listValidated);
         panel2.add(scrollPane2, BorderLayout.CENTER);
         panel2.setPreferredSize(new Dimension(200, 250));
-        c2.gridwidth = GridBagConstraints.REMAINDER; //end row
+	c2.gridwidth = GridBagConstraints.REMAINDER; //end row
         c.add(panel2, c2);
 
-
-        optimize = new JCheckBox("Optimize TML specification");
-        optimize.setSelected(optimized);
-        c.add(optimize, c2);
-        c2.gridwidth = 1; //end row
-        c.add(new JLabel("Master clock (in MHz)"), c2);
-        c2.gridwidth = GridBagConstraints.REMAINDER; //end row
-        clockField = new JTextField("" + clock);
-        c.add(clockField, c2);
-
-        c2.fill = GridBagConstraints.HORIZONTAL;
-        c2.gridwidth = 1; //end row
-        initMainButtons(c2, c, this, false, "Check syntax", "Cancel");
-
-
         // main panel;
-        /*panel6 = new JPanel();
+        panel6 = new JPanel();
         panel6.setLayout(new BorderLayout());
 
         panel5 = new JPanel();
@@ -293,23 +277,19 @@ public class JDialogSelectTMLNodes extends JDialogBase implements ActionListener
         panel6.add(panel5, BorderLayout.NORTH);
         panel6.add(panel4, BorderLayout.SOUTH);
 
-        c.add(panel6, c2);*/
+        c.add(panel6, c2);
 
     }
 
-    public void actionPerformed(ActionEvent evt) {
+    public void actionPerformed(ActionEvent evt)  {
         String command = evt.getActionCommand();
 
-        if (evt.getSource() == closeButton) {
+        // Compare the action command to the known actions.
+        if (command.equals("Start Syntax Analysis"))  {
             closeDialog();
-            return;
-        } else if (evt.getSource() == cancelButton) {
+        } else if (command.equals("Cancel")) {
             cancelDialog();
-            return;
-        }
-
-        // Compare the action command to the known actions.
-        if (command.equals("addOneIgnored")) {
+        } else if (command.equals("addOneIgnored")) {
             addOneIgnored();
         } else if (command.equals("addOneValidated")) {
             addOneValidated();
@@ -322,10 +302,10 @@ public class JDialogSelectTMLNodes extends JDialogBase implements ActionListener
 
 
     private void addOneIgnored() {
-        int[] list = listValidated.getSelectedIndices();
+        int [] list = listValidated.getSelectedIndices();
         Vector<TGComponent> v = new Vector<TGComponent>();
         TGComponent o;
-        for (int i = 0; i < list.length; i++) {
+        for (int i=0; i<list.length; i++){
             o = val.elementAt(list[i]);
             ign.addElement(o);
             v.addElement(o);
@@ -338,11 +318,11 @@ public class JDialogSelectTMLNodes extends JDialogBase implements ActionListener
     }
 
     private void addOneValidated() {
-        int[] list = listIgnored.getSelectedIndices();
+        int [] list = listIgnored.getSelectedIndices();
         Vector<TGComponent> v = new Vector<TGComponent>();
         TGComponent o;
-
-        for (int i = 0; i < list.length; i++) {
+        
+        for (int i=0; i<list.length; i++){
             o = ign.elementAt(list[i]);
             val.addElement(o);
             v.addElement(o);
@@ -373,7 +353,7 @@ public class JDialogSelectTMLNodes extends JDialogBase implements ActionListener
 
     public void closeDialog() {
         back.removeAllElements();
-        for (int i = 0; i < val.size(); i++) {
+        for(int i=0; i<val.size(); i++) {
             back.addElement(val.elementAt(i));
         }
         validated = val;
@@ -403,13 +383,13 @@ public class JDialogSelectTMLNodes extends JDialogBase implements ActionListener
             //listIgnored.clearSelection();
         }
 
-        if (ign.size() == 0) {
+        if (ign.size() ==0) {
             allValidated.setEnabled(false);
         } else {
             allValidated.setEnabled(true);
         }
 
-        if (val.size() == 0) {
+        if (val.size() ==0) {
             allIgnored.setEnabled(false);
             closeButton.setEnabled(false);
         } else {
diff --git a/src/main/java/ui/window/JDialogSelectTMLTask.java b/src/main/java/ui/window/JDialogSelectTMLTask.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogSimulation.java b/src/main/java/ui/window/JDialogSimulation.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogSynchro.java b/src/main/java/ui/window/JDialogSynchro.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogSystemCGeneration.java b/src/main/java/ui/window/JDialogSystemCGeneration.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogTMLADRandom.java b/src/main/java/ui/window/JDialogTMLADRandom.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogTMLCPControllerInstance.java b/src/main/java/ui/window/JDialogTMLCPControllerInstance.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogTMLCPStorageInstance.java b/src/main/java/ui/window/JDialogTMLCPStorageInstance.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogTMLCPTransferInstance.java b/src/main/java/ui/window/JDialogTMLCPTransferInstance.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogTMLCompositePort.java b/src/main/java/ui/window/JDialogTMLCompositePort.java
old mode 100755
new mode 100644
index 717a0ef3b7cb597e58477da3addac0dee5419c3c..ffd54ac87a753409cb11cb86915177cc8a0d6f88
--- a/src/main/java/ui/window/JDialogTMLCompositePort.java
+++ b/src/main/java/ui/window/JDialogTMLCompositePort.java
@@ -95,14 +95,7 @@ public class JDialogTMLCompositePort extends JDialogBase implements ActionListen
     private JTextField lossPercentageText, maxNbOfLossText;
 
 
-    public JDialogTMLCompositePort(String _name, int _portIndex, TType _type1, TType _type2, TType _type3, TType _type4,
-                                   TType _type5, boolean _isOrigin, boolean _isFinite, boolean _isBlocking,
-                                   String _maxInFIFO, String _widthSamples, boolean _isLossy,
-                                   int _lossPercentage, int _maxNbOfLoss, Frame f,
-                                   String title, Vector<String> _types,
-                                   String _dataFlowType, String _associatedEvent, boolean _isPrex,
-                                   boolean _isPostex, boolean _checkConf,
-                                   boolean _checkAuth, TGComponent _reference, Vector<TGComponent> _refs) {
+    public JDialogTMLCompositePort(String _name, int _portIndex, TType _type1, TType _type2, TType _type3, TType _type4, TType _type5, boolean _isOrigin, boolean _isFinite, boolean _isBlocking, String _maxInFIFO, String _widthSamples, boolean _isLossy, int _lossPercentage, int _maxNbOfLoss, Frame f, String title, Vector<String> _types, String _dataFlowType, String _associatedEvent, boolean _isPrex, boolean _isPostex, boolean _checkConf, boolean _checkAuth, TGComponent _reference, Vector<TGComponent> _refs) {
         super(f, title, true);
         frame = f;
 
@@ -224,7 +217,7 @@ public class JDialogTMLCompositePort extends JDialogBase implements ActionListen
 
         JPanel panel1 = new JPanel();
         panel1.setLayout(gridbag1);
-        panel1.setBorder(new javax.swing.border.TitledBorder("Name, type and parameters"));
+        panel1.setBorder(new javax.swing.border.TitledBorder("Name and type "));
         panel1.setPreferredSize(new Dimension(300, 150));
 
         // First line panel1
@@ -272,11 +265,49 @@ public class JDialogTMLCompositePort extends JDialogBase implements ActionListen
         origin.addActionListener(this);
         panel1.add(origin, c1);
 
-        c1.gridwidth = 1;
-        c1.fill = GridBagConstraints.HORIZONTAL;
-        c1.anchor = GridBagConstraints.CENTER;
-        panel1.add(new JLabel("Type #1"), c1);
-        c1.gridwidth = GridBagConstraints.REMAINDER; //end row
+
+        // parameters
+        JPanel panel2 = new JPanel();
+        panel2.setLayout(gridbag2);
+        panel2.setBorder(new javax.swing.border.TitledBorder("Formal Verification & Simulation Parameters "));
+        panel2.setPreferredSize(new Dimension(300, 300));
+        c2.gridwidth = 1;
+        c2.gridheight = 1;
+        c2.weighty = 1.0;
+        c2.weightx = 1.0;
+        c2.gridwidth = GridBagConstraints.REMAINDER; //end row
+        c2.fill = GridBagConstraints.BOTH;
+        c2.gridheight = 3;
+        panel2.add(new JLabel(" "), c2);
+
+        //Security Properties to check
+        confCheckBox = new JCheckBox("Check Confidentiality");
+        panel2.add(confCheckBox, c2);
+        confCheckBox.addActionListener(this);
+        confCheckBox.setSelected(checkConf);
+        authCheckBox = new JCheckBox("Check Authenticity");
+        authCheckBox.addActionListener(this);
+        panel2.add(authCheckBox, c2);
+        authCheckBox.setSelected(checkAuth);
+
+
+        //If related to security requirement, allow reference to the requirement
+        c2.gridwidth = 1;
+        c2.fill = GridBagConstraints.HORIZONTAL;
+        c2.anchor = GridBagConstraints.CENTER;
+        panel2.add(new JLabel("Reference Requirement"), c2);
+        c2.gridwidth = GridBagConstraints.REMAINDER; //end row
+        refReq = new JComboBox<>(refs);
+        panel2.add(refReq, c2);
+        if (reference != null) {
+            refReq.setSelectedItem(reference);
+        }
+
+        c2.gridwidth = 1;
+        c2.fill = GridBagConstraints.HORIZONTAL;
+        c2.anchor = GridBagConstraints.CENTER;
+        panel2.add(new JLabel("Type #1"), c2);
+        c2.gridwidth = GridBagConstraints.REMAINDER; //end row
         typeList1 = new JComboBox<>(types1);
         //TraceManager.addDev("type1= " + type1);
         if (type1.getType() < TType.OTHER) {
@@ -291,13 +322,13 @@ public class JDialogTMLCompositePort extends JDialogBase implements ActionListen
                 }
             }
         }
-        panel1.add(typeList1, c1);
+        panel2.add(typeList1, c2);
 
-        c1.gridwidth = 1;
-        c1.fill = GridBagConstraints.HORIZONTAL;
-        c1.anchor = GridBagConstraints.CENTER;
-        panel1.add(new JLabel("Type #2"), c1);
-        c1.gridwidth = GridBagConstraints.REMAINDER; //end row
+        c2.gridwidth = 1;
+        c2.fill = GridBagConstraints.HORIZONTAL;
+        c2.anchor = GridBagConstraints.CENTER;
+        panel2.add(new JLabel("Type #2"), c2);
+        c2.gridwidth = GridBagConstraints.REMAINDER; //end row
         typeList2 = new JComboBox<>(types2);
         if (type2.getType() < TType.OTHER) {
             typeList2.setSelectedIndex(type2.getType());
@@ -311,13 +342,13 @@ public class JDialogTMLCompositePort extends JDialogBase implements ActionListen
                 }
             }
         }
-        panel1.add(typeList2, c1);
+        panel2.add(typeList2, c2);
 
-        c1.gridwidth = 1;
-        c1.fill = GridBagConstraints.HORIZONTAL;
-        c1.anchor = GridBagConstraints.CENTER;
-        panel1.add(new JLabel("Type: #3"), c1);
-        c1.gridwidth = GridBagConstraints.REMAINDER; //end row
+        c2.gridwidth = 1;
+        c2.fill = GridBagConstraints.HORIZONTAL;
+        c2.anchor = GridBagConstraints.CENTER;
+        panel2.add(new JLabel("Type: #3"), c2);
+        c2.gridwidth = GridBagConstraints.REMAINDER; //end row
         typeList3 = new JComboBox<>(types3);
         if (type3.getType() < TType.OTHER) {
             typeList3.setSelectedIndex(type3.getType());
@@ -331,13 +362,13 @@ public class JDialogTMLCompositePort extends JDialogBase implements ActionListen
                 }
             }
         }
-        panel1.add(typeList3, c1);
+        panel2.add(typeList3, c2);
 
-        c1.gridwidth = 1;
-        c1.fill = GridBagConstraints.HORIZONTAL;
-        c1.anchor = GridBagConstraints.CENTER;
-        panel1.add(new JLabel("Type: #4"), c1);
-        c1.gridwidth = GridBagConstraints.REMAINDER; //end row
+        c2.gridwidth = 1;
+        c2.fill = GridBagConstraints.HORIZONTAL;
+        c2.anchor = GridBagConstraints.CENTER;
+        panel2.add(new JLabel("Type: #4"), c2);
+        c2.gridwidth = GridBagConstraints.REMAINDER; //end row
         typeList4 = new JComboBox<>(types4);
         if (type4.getType() < TType.OTHER) {
             typeList4.setSelectedIndex(type4.getType());
@@ -351,14 +382,14 @@ public class JDialogTMLCompositePort extends JDialogBase implements ActionListen
                 }
             }
         }
-        panel1.add(typeList4, c1);
+        panel2.add(typeList4, c2);
 
 
-        c1.gridwidth = 1;
-        c1.fill = GridBagConstraints.HORIZONTAL;
-        c1.anchor = GridBagConstraints.CENTER;
-        panel1.add(new JLabel("Type: #5"), c1);
-        c1.gridwidth = GridBagConstraints.REMAINDER; //end row
+        c2.gridwidth = 1;
+        c2.fill = GridBagConstraints.HORIZONTAL;
+        c2.anchor = GridBagConstraints.CENTER;
+        panel2.add(new JLabel("Type: #5"), c2);
+        c2.gridwidth = GridBagConstraints.REMAINDER; //end row
         typeList5 = new JComboBox<>(types5);
         if (type5.getType() < TType.OTHER) {
             typeList5.setSelectedIndex(type5.getType());
@@ -372,91 +403,7 @@ public class JDialogTMLCompositePort extends JDialogBase implements ActionListen
                 }
             }
         }
-        panel1.add(typeList5, c1);
-
-        c1.gridwidth = 1;
-        c1.fill = GridBagConstraints.HORIZONTAL;
-        c1.anchor = GridBagConstraints.CENTER;
-        panel1.add(new JLabel("Blocking?"), c1);
-        c1.gridwidth = GridBagConstraints.REMAINDER; //end row
-        blocking = new JComboBox<>(blockings);
-        if (isBlocking) {
-            blocking.setSelectedIndex(0);
-        } else {
-            blocking.setSelectedIndex(1);
-        }
-        blocking.addActionListener(this);
-        panel1.add(blocking, c1);
-
-        c1.gridwidth = 1;
-        c1.fill = GridBagConstraints.HORIZONTAL;
-        c1.anchor = GridBagConstraints.CENTER;
-        panel1.add(new JLabel("Finite?"), c1);
-        c1.gridwidth = GridBagConstraints.REMAINDER; //end row
-        finite = new JComboBox<>(finites);
-        if (isFinite) {
-            finite.setSelectedIndex(0);
-        } else {
-            finite.setSelectedIndex(1);
-        }
-        finite.addActionListener(this);
-        panel1.add(finite, c1);
-
-        c1.gridwidth = 1;
-        panel1.add(new JLabel("Width (in Byte)="), c1);
-        c1.gridwidth = GridBagConstraints.REMAINDER; //end row
-        widthText = new JTextField(widthSamples);
-        panel1.add(widthText, c1);
-
-        c1.gridwidth = 1;
-        panel1.add(new JLabel("Capacity="), c1);
-        c1.gridwidth = GridBagConstraints.REMAINDER; //end row
-        maxText = new JTextField(maxInFIFO);
-        panel1.add(maxText, c1);
-
-
-
-        JPanel panel2 = new JPanel();
-        panel2.setLayout(gridbag2);
-        panel2.setBorder(new javax.swing.border.TitledBorder("Properties and Verification "));
-        panel2.setPreferredSize(new Dimension(300, 300));
-
-        //If related to security requirement, allow reference to the requirement
-        c2.gridwidth = 1;
-        c2.fill = GridBagConstraints.HORIZONTAL;
-        c2.anchor = GridBagConstraints.CENTER;
-        panel2.add(new JLabel("Reference Requirement"), c2);
-        c2.gridwidth = GridBagConstraints.REMAINDER; //end row
-        refReq = new JComboBox<>(refs);
-        panel2.add(refReq, c2);
-        if (reference != null) {
-            refReq.setSelectedItem(reference);
-        }
-
-
-        c2.gridwidth = 1;
-        c2.gridheight = 1;
-        c2.weighty = 1.0;
-        c2.weightx = 1.0;
-        c2.gridwidth = GridBagConstraints.REMAINDER; //end row
-        c2.fill = GridBagConstraints.BOTH;
-        c2.gridheight = 3;
-        panel2.add(new JLabel(" "), c2);
-
-        //Security Properties to check
-        confCheckBox = new JCheckBox("Check Confidentiality");
-        panel2.add(confCheckBox, c2);
-        confCheckBox.addActionListener(this);
-        confCheckBox.setSelected(checkConf);
-        authCheckBox = new JCheckBox("Check Authenticity");
-        authCheckBox.addActionListener(this);
-        panel2.add(authCheckBox, c2);
-        authCheckBox.setSelected(checkAuth);
-
-
-
-
-
+        panel2.add(typeList5, c2);
 
         // Code generation
         JPanel panel4 = new JPanel();
@@ -507,7 +454,45 @@ public class JDialogTMLCompositePort extends JDialogBase implements ActionListen
         isPostexCB.setSelected(isPostex);
         panel4.add(isPostexCB, c4);
 
+        c2.gridwidth = 1;
+        c2.fill = GridBagConstraints.HORIZONTAL;
+        c2.anchor = GridBagConstraints.CENTER;
+        panel2.add(new JLabel("Blocking?"), c2);
+        c2.gridwidth = GridBagConstraints.REMAINDER; //end row
+        blocking = new JComboBox<>(blockings);
+        if (isBlocking) {
+            blocking.setSelectedIndex(0);
+        } else {
+            blocking.setSelectedIndex(1);
+        }
+        blocking.addActionListener(this);
+        panel2.add(blocking, c2);
+
+        c2.gridwidth = 1;
+        c2.fill = GridBagConstraints.HORIZONTAL;
+        c2.anchor = GridBagConstraints.CENTER;
+        panel2.add(new JLabel("Finite?"), c2);
+        c2.gridwidth = GridBagConstraints.REMAINDER; //end row
+        finite = new JComboBox<>(finites);
+        if (isFinite) {
+            finite.setSelectedIndex(0);
+        } else {
+            finite.setSelectedIndex(1);
+        }
+        finite.addActionListener(this);
+        panel2.add(finite, c2);
 
+        c2.gridwidth = 1;
+        panel2.add(new JLabel("Width (in Byte)="), c2);
+        c2.gridwidth = GridBagConstraints.REMAINDER; //end row
+        widthText = new JTextField(widthSamples);
+        panel2.add(widthText, c2);
+
+        c2.gridwidth = 1;
+        panel2.add(new JLabel("Capacity="), c2);
+        c2.gridwidth = GridBagConstraints.REMAINDER; //end row
+        maxText = new JTextField(maxInFIFO);
+        panel2.add(maxText, c2);
         
         /*c2.gridwidth = GridBagConstraints.REMAINDER; //end row
         c2.fill = GridBagConstraints.HORIZONTAL;
diff --git a/src/main/java/ui/window/JDialogTMLConnectorNode.java b/src/main/java/ui/window/JDialogTMLConnectorNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogTMLRemoteCompositeComponent.java b/src/main/java/ui/window/JDialogTMLRemoteCompositeComponent.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogTMLSDInstance.java b/src/main/java/ui/window/JDialogTMLSDInstance.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogTMLTaskArtifact.java b/src/main/java/ui/window/JDialogTMLTaskArtifact.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogTMatrixManagement.java b/src/main/java/ui/window/JDialogTMatrixManagement.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogTOSClass.java b/src/main/java/ui/window/JDialogTOSClass.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogTObjectName.java b/src/main/java/ui/window/JDialogTObjectName.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogTPNValidation.java b/src/main/java/ui/window/JDialogTPNValidation.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogTextProcess.java b/src/main/java/ui/window/JDialogTextProcess.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogTimeInterval.java b/src/main/java/ui/window/JDialogTimeInterval.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogTimeIntervalUnit.java b/src/main/java/ui/window/JDialogTimeIntervalUnit.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogTwoString.java b/src/main/java/ui/window/JDialogTwoString.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogUPPAALGeneration.java b/src/main/java/ui/window/JDialogUPPAALGeneration.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogUPPAALValidation.java b/src/main/java/ui/window/JDialogUPPAALValidation.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogUseCase.java b/src/main/java/ui/window/JDialogUseCase.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogVGMNNode.java b/src/main/java/ui/window/JDialogVGMNNode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JDialogVersioningConnector.java b/src/main/java/ui/window/JDialogVersioningConnector.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JFrameBasicText.java b/src/main/java/ui/window/JFrameBasicText.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JFrameBird.java b/src/main/java/ui/window/JFrameBird.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JFrameCode.java b/src/main/java/ui/window/JFrameCode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JFrameDeadlock.java b/src/main/java/ui/window/JFrameDeadlock.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JFrameMinimize.java b/src/main/java/ui/window/JFrameMinimize.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JFrameNC.java b/src/main/java/ui/window/JFrameNC.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JFramePowerManagementAnalysis.java b/src/main/java/ui/window/JFramePowerManagementAnalysis.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JFrameRefusalGraph.java b/src/main/java/ui/window/JFrameRefusalGraph.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JFrameRequirementTable.java b/src/main/java/ui/window/JFrameRequirementTable.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JFrameSimulationTrace.java b/src/main/java/ui/window/JFrameSimulationTrace.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JFrameStatistics.java b/src/main/java/ui/window/JFrameStatistics.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JFrameText.java b/src/main/java/ui/window/JFrameText.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JSimulationPanel.java b/src/main/java/ui/window/JSimulationPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JSimulationPanelChrono.java b/src/main/java/ui/window/JSimulationPanelChrono.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JSimulationPanelInterface.java b/src/main/java/ui/window/JSimulationPanelInterface.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/JStartingWindow.java b/src/main/java/ui/window/JStartingWindow.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/LinksNCTableModel.java b/src/main/java/ui/window/LinksNCTableModel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/PathsNCTableModel.java b/src/main/java/ui/window/PathsNCTableModel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/RequirementsTableModel.java b/src/main/java/ui/window/RequirementsTableModel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/StatisticsItem.java b/src/main/java/ui/window/StatisticsItem.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/StatisticsTableModel.java b/src/main/java/ui/window/StatisticsTableModel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/SwitchesNCTableModel.java b/src/main/java/ui/window/SwitchesNCTableModel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/TMatrixTableModel.java b/src/main/java/ui/window/TMatrixTableModel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/TraceData.java b/src/main/java/ui/window/TraceData.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/window/TrafficsNCTableModel.java b/src/main/java/ui/window/TrafficsNCTableModel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/uppaaldesc/UPPAALFiniteFIFOTemplate.java b/src/main/java/uppaaldesc/UPPAALFiniteFIFOTemplate.java
old mode 100755
new mode 100644
diff --git a/src/main/java/uppaaldesc/UPPAALFiniteFIFOTemplateLoss.java b/src/main/java/uppaaldesc/UPPAALFiniteFIFOTemplateLoss.java
old mode 100755
new mode 100644
diff --git a/src/main/java/uppaaldesc/UPPAALInfiniteFIFOTemplate.java b/src/main/java/uppaaldesc/UPPAALInfiniteFIFOTemplate.java
old mode 100755
new mode 100644
diff --git a/src/main/java/uppaaldesc/UPPAALInfiniteFIFOTemplateLoss.java b/src/main/java/uppaaldesc/UPPAALInfiniteFIFOTemplateLoss.java
old mode 100755
new mode 100644
diff --git a/src/main/java/uppaaldesc/UPPAALLocation.java b/src/main/java/uppaaldesc/UPPAALLocation.java
old mode 100755
new mode 100644
diff --git a/src/main/java/uppaaldesc/UPPAALMemoryTemplate.java b/src/main/java/uppaaldesc/UPPAALMemoryTemplate.java
old mode 100755
new mode 100644
diff --git a/src/main/java/uppaaldesc/UPPAALMemoryTemplateLoss.java b/src/main/java/uppaaldesc/UPPAALMemoryTemplateLoss.java
old mode 100755
new mode 100644
diff --git a/src/main/java/uppaaldesc/UPPAALSpec.java b/src/main/java/uppaaldesc/UPPAALSpec.java
old mode 100755
new mode 100644
diff --git a/src/main/java/uppaaldesc/UPPAALTemplate.java b/src/main/java/uppaaldesc/UPPAALTemplate.java
old mode 100755
new mode 100644
diff --git a/src/main/java/uppaaldesc/UPPAALTransition.java b/src/main/java/uppaaldesc/UPPAALTransition.java
old mode 100755
new mode 100644
diff --git a/src/main/java/uppaaldesc/tmltouppaal/UPPAALEventTemplate.java b/src/main/java/uppaaldesc/tmltouppaal/UPPAALEventTemplate.java
old mode 100755
new mode 100644
diff --git a/src/main/java/uppaaldesc/tmltouppaal/UPPAALRequestTemplate.java b/src/main/java/uppaaldesc/tmltouppaal/UPPAALRequestTemplate.java
old mode 100755
new mode 100644
diff --git a/src/main/java/uppaaldesc/tmltouppaal/UPPAALRequestTemplateWithLoss.java b/src/main/java/uppaaldesc/tmltouppaal/UPPAALRequestTemplateWithLoss.java
old mode 100755
new mode 100644
diff --git a/src/main/java/vcd/VCDContent.java b/src/main/java/vcd/VCDContent.java
old mode 100755
new mode 100644
diff --git a/src/main/java/vcd/VCDTimeChange.java b/src/main/java/vcd/VCDTimeChange.java
old mode 100755
new mode 100644
diff --git a/src/main/java/vcd/VCDVariable.java b/src/main/java/vcd/VCDVariable.java
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/New16.gif b/src/main/resources/ui/util/New16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/New24.gif b/src/main/resources/ui/util/New24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/NewP16.gif b/src/main/resources/ui/util/NewP16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/NewP24.gif b/src/main/resources/ui/util/NewP24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/Open16.gif b/src/main/resources/ui/util/Open16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/Open24.gif b/src/main/resources/ui/util/Open24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/OpenN16.gif b/src/main/resources/ui/util/OpenN16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/OpenN24.gif b/src/main/resources/ui/util/OpenN24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/OpenP16.gif b/src/main/resources/ui/util/OpenP16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/OpenP24.gif b/src/main/resources/ui/util/OpenP24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/actionstate.gif b/src/main/resources/ui/util/actionstate.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/activitydiagram.gif b/src/main/resources/ui/util/activitydiagram.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/adchoice.gif b/src/main/resources/ui/util/adchoice.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/adconnector.gif b/src/main/resources/ui/util/adconnector.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/adddelay.gif b/src/main/resources/ui/util/adddelay.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/adjunction.gif b/src/main/resources/ui/util/adjunction.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/adnddelay.gif b/src/main/resources/ui/util/adnddelay.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/adparallel.gif b/src/main/resources/ui/util/adparallel.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/adpreemption.gif b/src/main/resources/ui/util/adpreemption.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/adsequence.gif b/src/main/resources/ui/util/adsequence.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/adstart.gif b/src/main/resources/ui/util/adstart.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/adstop.gif b/src/main/resources/ui/util/adstop.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/adtimeinterval.gif b/src/main/resources/ui/util/adtimeinterval.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/adtloffer.gif b/src/main/resources/ui/util/adtloffer.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/adtlofferwl.gif b/src/main/resources/ui/util/adtlofferwl.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/arrayget.gif b/src/main/resources/ui/util/arrayget.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/arrayset.gif b/src/main/resources/ui/util/arrayset.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/atdiag.gif b/src/main/resources/ui/util/atdiag.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/attacker.gif b/src/main/resources/ui/util/attacker.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/avatarmadaspt.gif b/src/main/resources/ui/util/avatarmadaspt.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/avatarmadversioning.gif b/src/main/resources/ui/util/avatarmadversioning.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/avatarmethodo.gif b/src/main/resources/ui/util/avatarmethodo.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/avatarrdreq.gif b/src/main/resources/ui/util/avatarrdreq.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/cdactivity.gif b/src/main/resources/ui/util/cdactivity.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/cdassociation.gif b/src/main/resources/ui/util/cdassociation.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/cdassonav.gif b/src/main/resources/ui/util/cdassonav.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/cdattribute.gif b/src/main/resources/ui/util/cdattribute.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/cdgates.gif b/src/main/resources/ui/util/cdgates.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/cdinvocation.gif b/src/main/resources/ui/util/cdinvocation.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/cdnatural.gif b/src/main/resources/ui/util/cdnatural.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/cdoperation.gif b/src/main/resources/ui/util/cdoperation.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/cdparallel.gif b/src/main/resources/ui/util/cdparallel.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/cdpreemption.gif b/src/main/resources/ui/util/cdpreemption.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/cdsequence.gif b/src/main/resources/ui/util/cdsequence.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/cdsynchro.gif b/src/main/resources/ui/util/cdsynchro.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/cdtclass.gif b/src/main/resources/ui/util/cdtclass.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/cdtdata.gif b/src/main/resources/ui/util/cdtdata.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/cdtobject.gif b/src/main/resources/ui/util/cdtobject.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/cdtoggleatt.gif b/src/main/resources/ui/util/cdtoggleatt.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/checkmodel.gif b/src/main/resources/ui/util/checkmodel.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/classdiagram.gif b/src/main/resources/ui/util/classdiagram.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/concomment.gif b/src/main/resources/ui/util/concomment.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/dd.gif b/src/main/resources/ui/util/dd.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/ddartifact.gif b/src/main/resources/ui/util/ddartifact.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/ddnode.gif b/src/main/resources/ui/util/ddnode.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/diplomethodo.gif b/src/main/resources/ui/util/diplomethodo.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/dta.gif b/src/main/resources/ui/util/dta.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/ebrdd.gif b/src/main/resources/ui/util/ebrdd.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/ebrdderb.gif b/src/main/resources/ui/util/ebrdderb.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/ebrdderc.gif b/src/main/resources/ui/util/ebrdderc.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/ebrddeso.gif b/src/main/resources/ui/util/ebrddeso.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/ebrddobs.gif b/src/main/resources/ui/util/ebrddobs.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/ebrddvar.gif b/src/main/resources/ui/util/ebrddvar.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/enterprise_logo.gif b/src/main/resources/ui/util/enterprise_logo.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/ercconnector.gif b/src/main/resources/ui/util/ercconnector.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/formalvalidation.gif b/src/main/resources/ui/util/formalvalidation.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/genaut.gif b/src/main/resources/ui/util/genaut.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/gendesign.gif b/src/main/resources/ui/util/gendesign.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/genjava.gif b/src/main/resources/ui/util/genjava.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/genrtlotos.gif b/src/main/resources/ui/util/genrtlotos.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/gensystc.gif b/src/main/resources/ui/util/gensystc.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/gentmlc.gif b/src/main/resources/ui/util/gentmlc.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/gentmltxt.gif b/src/main/resources/ui/util/gentmltxt.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/iod.gif b/src/main/resources/ui/util/iod.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/iodpreemption.gif b/src/main/resources/ui/util/iodpreemption.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/nc.gif b/src/main/resources/ui/util/nc.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/oneformalvalidation.gif b/src/main/resources/ui/util/oneformalvalidation.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/point.gif b/src/main/resources/ui/util/point.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/procsdcomponent.gif b/src/main/resources/ui/util/procsdcomponent.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/prosmdgetmsg.gif b/src/main/resources/ui/util/prosmdgetmsg.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/prosmdsendmsg.gif b/src/main/resources/ui/util/prosmdsendmsg.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/receivesignal.gif b/src/main/resources/ui/util/receivesignal.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/referencetosd.gif b/src/main/resources/ui/util/referencetosd.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/reqcomp.gif b/src/main/resources/ui/util/reqcomp.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/reqcopy.gif b/src/main/resources/ui/util/reqcopy.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/reqder.gif b/src/main/resources/ui/util/reqder.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/reqdiag.gif b/src/main/resources/ui/util/reqdiag.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/reqobs.gif b/src/main/resources/ui/util/reqobs.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/reqreq.gif b/src/main/resources/ui/util/reqreq.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/reqsatisfy.gif b/src/main/resources/ui/util/reqsatisfy.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/reqver.gif b/src/main/resources/ui/util/reqver.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/rg.gif b/src/main/resources/ui/util/rg.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/runexplo.gif b/src/main/resources/ui/util/runexplo.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/savehtml24.gif b/src/main/resources/ui/util/savehtml24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/savesvg24.gif b/src/main/resources/ui/util/savesvg24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/savetxt24.gif b/src/main/resources/ui/util/savetxt24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/savevcd24.gif b/src/main/resources/ui/util/savevcd24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/sd.gif b/src/main/resources/ui/util/sd.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/sdabsolutetc.gif b/src/main/resources/ui/util/sdabsolutetc.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/sdaligninstances.gif b/src/main/resources/ui/util/sdaligninstances.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/sdasynchronous.gif b/src/main/resources/ui/util/sdasynchronous.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/sdcoregion.gif b/src/main/resources/ui/util/sdcoregion.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/sdguard.gif b/src/main/resources/ui/util/sdguard.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/sdinstance.gif b/src/main/resources/ui/util/sdinstance.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/sdrelativetc1.gif b/src/main/resources/ui/util/sdrelativetc1.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/sdrelativetc2.gif b/src/main/resources/ui/util/sdrelativetc2.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/sdsynchronous.gif b/src/main/resources/ui/util/sdsynchronous.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/sdtimercancel.gif b/src/main/resources/ui/util/sdtimercancel.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/sdtimerexpire.gif b/src/main/resources/ui/util/sdtimerexpire.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/sdtimersetting.gif b/src/main/resources/ui/util/sdtimersetting.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/sendsignal.gif b/src/main/resources/ui/util/sendsignal.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/simulation.gif b/src/main/resources/ui/util/simulation.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/starting.gif b/src/main/resources/ui/util/starting.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/starting_logo.gif b/src/main/resources/ui/util/starting_logo.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/starting_logo_enterprise.gif b/src/main/resources/ui/util/starting_logo_enterprise.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/starting_logo_original.gif b/src/main/resources/ui/util/starting_logo_original.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/std_starting_logo.gif b/src/main/resources/ui/util/std_starting_logo.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/stepforward24.gif b/src/main/resources/ui/util/stepforward24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/stepforwardtobreakpoint24.gif b/src/main/resources/ui/util/stepforwardtobreakpoint24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/stepforwardx24.gif b/src/main/resources/ui/util/stepforwardx24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/stepforwardxcommands24.gif b/src/main/resources/ui/util/stepforwardxcommands24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/stepforwardxtimeunits24.gif b/src/main/resources/ui/util/stepforwardxtimeunits24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/stepforwardxtransactions24.gif b/src/main/resources/ui/util/stepforwardxtransactions24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/steptobus.gif b/src/main/resources/ui/util/steptobus.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/text1.gif b/src/main/resources/ui/util/text1.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/tmlactivity.gif b/src/main/resources/ui/util/tmlactivity.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/tmladdecrypt.gif b/src/main/resources/ui/util/tmladdecrypt.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/tmladencrypt.gif b/src/main/resources/ui/util/tmladencrypt.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/tmladexecc.gif b/src/main/resources/ui/util/tmladexecc.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/tmladexeccint.gif b/src/main/resources/ui/util/tmladexeccint.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/tmladexeci.gif b/src/main/resources/ui/util/tmladexeci.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/tmladexeciint.gif b/src/main/resources/ui/util/tmladexeciint.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/tmladforeverloop.gif b/src/main/resources/ui/util/tmladforeverloop.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/tmladforloop.gif b/src/main/resources/ui/util/tmladforloop.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/tmladnotifiedevt.gif b/src/main/resources/ui/util/tmladnotifiedevt.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/tmladrandom.gif b/src/main/resources/ui/util/tmladrandom.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/tmladrdch.gif b/src/main/resources/ui/util/tmladrdch.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/tmladselectevt.gif b/src/main/resources/ui/util/tmladselectevt.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/tmladsendevt.gif b/src/main/resources/ui/util/tmladsendevt.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/tmladsendreq.gif b/src/main/resources/ui/util/tmladsendreq.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/tmladunorderedsequence.gif b/src/main/resources/ui/util/tmladunorderedsequence.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/tmladwaitevt.gif b/src/main/resources/ui/util/tmladwaitevt.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/tmladwrch.gif b/src/main/resources/ui/util/tmladwrch.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/tmlbridgenode.gif b/src/main/resources/ui/util/tmlbridgenode.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/tmlbusnode.gif b/src/main/resources/ui/util/tmlbusnode.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/tmlcdcha.gif b/src/main/resources/ui/util/tmlcdcha.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/tmlcdevt.gif b/src/main/resources/ui/util/tmlcdevt.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/tmlcdreq.gif b/src/main/resources/ui/util/tmlcdreq.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/tmlcfork.gif b/src/main/resources/ui/util/tmlcfork.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/tmlcompcomp.gif b/src/main/resources/ui/util/tmlcompcomp.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/tmlcompd.gif b/src/main/resources/ui/util/tmlcompd.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/tmlcompdiag.gif b/src/main/resources/ui/util/tmlcompdiag.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/tmlcompport.gif b/src/main/resources/ui/util/tmlcompport.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/tmlcpunode.gif b/src/main/resources/ui/util/tmlcpunode.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/tmlcrypto.gif b/src/main/resources/ui/util/tmlcrypto.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/tmldesign.gif b/src/main/resources/ui/util/tmldesign.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/tmlfirewallnode.gif b/src/main/resources/ui/util/tmlfirewallnode.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/tmlfpganode.gif b/src/main/resources/ui/util/tmlfpganode.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/tmlhwanode.gif b/src/main/resources/ui/util/tmlhwanode.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/tmlkey.gif b/src/main/resources/ui/util/tmlkey.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/tmlmemorynode.gif b/src/main/resources/ui/util/tmlmemorynode.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/tmlprimcomp.gif b/src/main/resources/ui/util/tmlprimcomp.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/tmlprimport.gif b/src/main/resources/ui/util/tmlprimport.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/tmltask.gif b/src/main/resources/ui/util/tmltask.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/tmltogglecha.gif b/src/main/resources/ui/util/tmltogglecha.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/tmltoggleevt.gif b/src/main/resources/ui/util/tmltoggleevt.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/tmltogglereq.gif b/src/main/resources/ui/util/tmltogglereq.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/About16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/About16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/About24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/About24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Add16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Add16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Add24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Add24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/AlignBottom16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/AlignBottom16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/AlignBottom24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/AlignBottom24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/AlignCenter16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/AlignCenter16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/AlignCenter24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/AlignCenter24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/AlignJustifyHorizontal16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/AlignJustifyHorizontal16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/AlignJustifyHorizontal24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/AlignJustifyHorizontal24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/AlignJustifyVertical16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/AlignJustifyVertical16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/AlignJustifyVertical24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/AlignJustifyVertical24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/AlignLeft16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/AlignLeft16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/AlignLeft24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/AlignLeft24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/AlignRight16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/AlignRight16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/AlignRight24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/AlignRight24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/AlignTop16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/AlignTop16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/AlignTop24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/AlignTop24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Bookmarks16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Bookmarks16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Bookmarks24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Bookmarks24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/ComposeMail16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/ComposeMail16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/ComposeMail24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/ComposeMail24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/ContextualHelp16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/ContextualHelp16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/ContextualHelp24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/ContextualHelp24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Copy16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Copy16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Copy24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Copy24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Cut16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Cut16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Cut24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Cut24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Delete16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Delete16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Delete24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Delete24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Edit16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Edit16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Edit24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Edit24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Export16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Export16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Export24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Export24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Find16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Find16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Find24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Find24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/FindAgain16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/FindAgain16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/FindAgain24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/FindAgain24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Help16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Help16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Help24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Help24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/History16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/History16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/History24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/History24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Import16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Import16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Import24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Import24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Information16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Information16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Information24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Information24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/New16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/New16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/New24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/New24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Open16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Open16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Open24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Open24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/PageSetup16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/PageSetup16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/PageSetup24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/PageSetup24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Paste16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Paste16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Paste24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Paste24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Preferences16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Preferences16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Preferences24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Preferences24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Print16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Print16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Print24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Print24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/PrintPreview16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/PrintPreview16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/PrintPreview24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/PrintPreview24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Properties16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Properties16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Properties24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Properties24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Redo16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Redo16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Redo24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Redo24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Refresh16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Refresh16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Refresh24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Refresh24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Remove16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Remove16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Remove24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Remove24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Replace16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Replace16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Replace24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Replace24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Save16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Save16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Save24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Save24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/SaveAll16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/SaveAll16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/SaveAll24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/SaveAll24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/SaveAs16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/SaveAs16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/SaveAs24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/SaveAs24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Search16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Search16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Search24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Search24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/SendMail16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/SendMail16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/SendMail24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/SendMail24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Stop16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Stop16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Stop24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Stop24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/TipOfTheDay16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/TipOfTheDay16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/TipOfTheDay24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/TipOfTheDay24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Undo16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Undo16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Undo24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Undo24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Zoom16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Zoom16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/Zoom24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/Zoom24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/ZoomIn16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/ZoomIn16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/ZoomIn24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/ZoomIn24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/ZoomOut16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/ZoomOut16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/ZoomOut24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/ZoomOut24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/performancepragma16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/performancepragma16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/performancepragma24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/performancepragma24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/pragma.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/pragma.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/pragma16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/pragma16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/pragma24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/pragma24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/safepragma16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/safepragma16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/safepragma24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/safepragma24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/general/showTrace.gif b/src/main/resources/ui/util/toolbarButtonGraphics/general/showTrace.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/media/FastForward16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/media/FastForward16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/media/FastForward24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/media/FastForward24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/media/Movie16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/media/Movie16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/media/Movie24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/media/Movie24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/media/Pause16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/media/Pause16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/media/Pause24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/media/Pause24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/media/Play16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/media/Play16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/media/Play24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/media/Play24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/media/Rewind16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/media/Rewind16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/media/Rewind24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/media/Rewind24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/media/StepBack16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/media/StepBack16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/media/StepBack24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/media/StepBack24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/media/StepForward16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/media/StepForward16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/media/StepForward24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/media/StepForward24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/media/Stop16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/media/Stop16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/media/Stop24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/media/Stop24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/media/Volume16.gif b/src/main/resources/ui/util/toolbarButtonGraphics/media/Volume16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/toolbarButtonGraphics/media/Volume24.gif b/src/main/resources/ui/util/toolbarButtonGraphics/media/Volume24.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/turtle_16.gif b/src/main/resources/ui/util/turtle_16.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/turtle_large.gif b/src/main/resources/ui/util/turtle_large.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/ucd.gif b/src/main/resources/ui/util/ucd.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/ucdactor.gif b/src/main/resources/ui/util/ucdactor.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/ucdborder.gif b/src/main/resources/ui/util/ucdborder.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/ucdconnact.gif b/src/main/resources/ui/util/ucdconnact.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/ucdextend.gif b/src/main/resources/ui/util/ucdextend.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/ucdinclude.gif b/src/main/resources/ui/util/ucdinclude.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/ucdspecia.gif b/src/main/resources/ui/util/ucdspecia.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/ucdusecase.gif b/src/main/resources/ui/util/ucdusecase.gif
old mode 100755
new mode 100644
diff --git a/src/main/resources/ui/util/viewsimulation.gif b/src/main/resources/ui/util/viewsimulation.gif
old mode 100755
new mode 100644
diff --git a/tmltranslator/build.gradle b/tmltranslator/build.gradle
index 24c612548a519cea0921b59db5855c7bb31da21b..16728a205be54e54d931319a0a58953989f64f2a 100644
--- a/tmltranslator/build.gradle
+++ b/tmltranslator/build.gradle
@@ -18,6 +18,11 @@ dependencies {
     compileOnly name: 'commons-io-2.5'
     compileOnly name: 'jsoup-1.8.1'
     compileOnly name: 'gs-core-1.3'
+    compileOnly name:'batik-awt-util'
+    compileOnly name:'batik-svggen'
+    compileOnly name:'batik-xml'
+    compileOnly name:'batik-dom'
+    compileOnly name:'batik-util'
     compile name: 'commons-math3-3.6.1'
 }