Commit a7a80b3c authored by De Viry Guilhem's avatar De Viry Guilhem

Modification de l'exemple en fsm de TicTacToe et ajout d'une capture d'écran d'interface au poster

parent 3833a78b
......@@ -257,9 +257,9 @@
borderopacity="1.0"
inkscape:pageopacity="1.0"
inkscape:pageshadow="0"
inkscape:zoom="0.18909319"
inkscape:cx="1460.5645"
inkscape:cy="2189.3617"
inkscape:zoom="0.26741815"
inkscape:cx="1945.6275"
inkscape:cy="2081.8021"
inkscape:document-units="mm"
inkscape:current-layer="layer5"
showgrid="false"
......@@ -323,7 +323,7 @@
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
......@@ -802,7 +802,7 @@
y="565.12726"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:18.18327904px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:justify;writing-mode:lr-tb;text-anchor:start" /></flowRegion><flowPara
id="flowPara2987">Nous utilisons Acceleo deux fois lors de cette étape de génération :</flowPara><flowPara
id="flowPara2989"></flowPara><flowPara
id="flowPara2989" /><flowPara
id="flowPara2991">-Une première fois l’outil sert à générer les fichiers de la grammaire pour la sérialisation/désérialisation des messages.</flowPara><flowPara
id="flowPara2993">-Une deuxième fois pour générer les classes java associées aux clients et serveur.</flowPara></flowRoot> <rect
style="fill:none;fill-opacity:1;stroke:#3c327f;stroke-width:2.93309784;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
......@@ -1069,11 +1069,11 @@
width="454.40445"
id="rect10849" /></flowRegion><flowPara
id="flowPara3016">L’objectif du plugin est de simplifier le travail d’un développeur c’est pourquoi :</flowPara><flowPara
id="flowPara3018"></flowPara><flowPara
id="flowPara3018" /><flowPara
id="flowPara3020"> - Le code généré par notre plugin est accessible directement par l’utilisateur les modifications sont donc possibles.</flowPara><flowPara
id="flowPara3022"></flowPara><flowPara
id="flowPara3022" /><flowPara
id="flowPara3024"> - La bibliothèque de templates que l'on propose dans le plugin peut être agrandi afin d'augmenter la diversité dans la génération.</flowPara><flowPara
id="flowPara3026"></flowPara></flowRoot> </g>
id="flowPara3026" /></flowRoot> </g>
<flowRoot
xml:space="preserve"
id="flowRoot10909"
......@@ -1145,5 +1145,15 @@
y="4221.5059"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:48px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:end;writing-mode:lr-tb;text-anchor:end" /></flowRegion><flowPara
id="flowPara3126">Projet Long 2e Année</flowPara><flowPara
id="flowPara3128">2018/2019</flowPara></flowRoot> </g>
id="flowPara3128">2018/2019</flowPara></flowRoot> <image
sodipodi:absref="C:\Users\gdevi\eclipse-workspace\Projet_Long\Projet-Long-9\Capture interface.JPG"
xlink:href="Capture interface.JPG"
width="341.49258"
height="203.88068"
preserveAspectRatio="none"
style="image-rendering:optimizeQuality"
id="image4285"
x="465.20007"
y="-371.71957" />
</g>
</svg>
......@@ -318,7 +318,7 @@
</edges>
<edges xmi:type="notation:Edge" xmi:id="_EAXI8GtJEemJMoCNZztO6w" type="4001" element="_EAE1EGtJEemJMoCNZztO6w" source="_o1IlUC8REemUD62u2ND_rQ" target="_HGQm4EQNEemrwoRpiiTFJA">
<children xmi:type="notation:Node" xmi:id="_EAdPkGtJEemJMoCNZztO6w" type="6001">
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_EAdPkWtJEemJMoCNZztO6w" x="11" y="-203"/>
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_EAdPkWtJEemJMoCNZztO6w" x="4" y="-192"/>
</children>
<children xmi:type="notation:Node" xmi:id="_EAd2oGtJEemJMoCNZztO6w" type="6002">
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_EAd2oWtJEemJMoCNZztO6w" x="-9" y="10"/>
......@@ -334,7 +334,7 @@
</edges>
<edges xmi:type="notation:Edge" xmi:id="_HnC7wGtJEemJMoCNZztO6w" type="4001" element="_Hm05UGtJEemJMoCNZztO6w" source="_o1IlUC8REemUD62u2ND_rQ" target="_TVzs8EQNEemrwoRpiiTFJA">
<children xmi:type="notation:Node" xmi:id="_HnDi0GtJEemJMoCNZztO6w" type="6001">
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_HnDi0WtJEemJMoCNZztO6w" x="99" y="-27"/>
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_HnDi0WtJEemJMoCNZztO6w" x="92" y="-14"/>
</children>
<children xmi:type="notation:Node" xmi:id="_HnDi0mtJEemJMoCNZztO6w" type="6002">
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_HnDi02tJEemJMoCNZztO6w" x="10"/>
......
<?xml version="1.0" encoding="ASCII"?>
<fsm:FSM xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:fsm="http://fr.supelec.plong9.fsm" name="myFsm" initialState="//@ownedStates.0" currentState="//@ownedStates.0" finalState="//@ownedStates.3">
<ownedStates name="s1" expectedMessage="//@ownedMessages.0">
<outgoingTransitions name="t1" actions="//@ownedActions.2 //@ownedActions.3" guard="//@ownedGuards.2" event="//@ownedEvents.0" target="//@ownedStates.1"/>
<onEnteredActions name="A5"/>
<onEnteredActions name="A7"/>
<fsm:FSM xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:fsm="http://fr.supelec.plong9.fsm" name="TicTacToe Server" initialState="//@ownedStates.0" finalState="//@ownedStates.4" isServer="true">
<ownedStates name="Attente Nom J1">
<outgoingTransitions name="" actions="//@ownedActions.0" event="//@ownedEvents.0" target="//@ownedStates.1"/>
</ownedStates>
<ownedStates name="s2" incomingTransitions="//@ownedStates.0/@outgoingTransitions.0 //@ownedStates.2/@outgoingTransitions.0">
<outgoingTransitions name="t2" actions="//@ownedActions.0" guard="//@ownedGuards.1" event="//@ownedEvents.1" target="//@ownedStates.2"/>
<ownedStates name="Attente Nom J2" incomingTransitions="//@ownedStates.0/@outgoingTransitions.0 //@ownedStates.1/@outgoingTransitions.0">
<outgoingTransitions actions="//@ownedActions.2" guard="//@ownedGuards.1" event="//@ownedEvents.1" target="//@ownedStates.1"/>
<outgoingTransitions actions="//@ownedActions.1" guard="//@ownedGuards.0" event="//@ownedEvents.1" target="//@ownedStates.2"/>
</ownedStates>
<ownedStates name="s3" incomingTransitions="//@ownedStates.1/@outgoingTransitions.0">
<outgoingTransitions name="t3" actions="//@ownedActions.1 //@ownedActions.3" guard="//@ownedGuards.3" event="//@ownedEvents.1" target="//@ownedStates.1"/>
<outgoingTransitions name="t4" guard="//@ownedGuards.0" event="//@ownedEvents.3" target="//@ownedStates.3"/>
<ownedStates name="Attente Jeu J1" incomingTransitions="//@ownedStates.1/@outgoingTransitions.1 //@ownedStates.2/@outgoingTransitions.0 //@ownedStates.3/@outgoingTransitions.1">
<outgoingTransitions actions="//@ownedActions.6" guard="//@ownedGuards.3" event="//@ownedEvents.2" target="//@ownedStates.2"/>
<outgoingTransitions actions="//@ownedActions.5" guard="//@ownedGuards.2" event="//@ownedEvents.2" target="//@ownedStates.3"/>
<outgoingTransitions actions="//@ownedActions.3" guard="//@ownedGuards.4" event="//@ownedEvents.2" target="//@ownedStates.4"/>
</ownedStates>
<ownedStates name="s4" incomingTransitions="//@ownedStates.2/@outgoingTransitions.1"/>
<ownedEvents name="E1"/>
<ownedEvents name="E2"/>
<ownedEvents name="E3"/>
<ownedEvents name="E4"/>
<ownedEvents name="E8"/>
<ownedActions name="A1"/>
<ownedActions name="A2"/>
<ownedActions name="A3"/>
<ownedActions name="A8"/>
<ownedGuards name="G1"/>
<ownedGuards name="G2"/>
<ownedGuards name="G3"/>
<ownedGuards name="G5"/>
<ownedGuards name="G6"/>
<ownedGuards name="G4"/>
<ownedMessages event="//@ownedEvents.0" name="Message1">
<data key="mdp" value="String"/>
<data key="id" value="Integer"/>
</ownedMessages>
<ownedStates name="Attente Jeu J2" incomingTransitions="//@ownedStates.2/@outgoingTransitions.1 //@ownedStates.3/@outgoingTransitions.0">
<outgoingTransitions actions="//@ownedActions.6" guard="//@ownedGuards.3" event="//@ownedEvents.3" target="//@ownedStates.3"/>
<outgoingTransitions actions="//@ownedActions.5" guard="//@ownedGuards.2" event="//@ownedEvents.3" target="//@ownedStates.2"/>
<outgoingTransitions actions="//@ownedActions.4" guard="//@ownedGuards.4" event="//@ownedEvents.3" target="//@ownedStates.4"/>
</ownedStates>
<ownedStates name="Fin Partie" incomingTransitions="//@ownedStates.2/@outgoingTransitions.2 //@ownedStates.3/@outgoingTransitions.2"/>
<ownedEvents name="Message J1"/>
<ownedEvents name="Message J2"/>
<ownedEvents name="Position J1"/>
<ownedEvents name="Position J2"/>
<ownedActions name="Nom J1"/>
<ownedActions name="Nom J2"/>
<ownedActions name="Refus Nom J2"/>
<ownedActions name="Victoire J1"/>
<ownedActions name="Victoire J2"/>
<ownedActions name="Mise &#xe0; Jour Plateau"/>
<ownedActions name="Refus Coup"/>
<ownedGuards name="Nom J2 Valide"/>
<ownedGuards name="Nom J2 Invalide"/>
<ownedGuards name="Coup Valide"/>
<ownedGuards name="Coup Invalide"/>
<ownedGuards name="Coup Gagnant"/>
<ownedMessages event="//@ownedEvents.0" name="Nom J1"/>
<ownedMessages event="//@ownedEvents.1" name="Nom J2"/>
<ownedMessages event="//@ownedEvents.2" name="Position J1"/>
<ownedMessages event="//@ownedEvents.3" name="Position J2"/>
<ownedMessages event="//@ownedEvents.2" name="Instructions J1"/>
<ownedMessages event="//@ownedEvents.3" name="Instructions J2"/>
</fsm:FSM>
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment