Home
User Manual
Contents
1. 2 O B Outline 2 70 i a b a a Palette tg T Select Note A a Lifeline G b Message Recording Problems Javadoc i Declaration 2 Simulation s E Properties he Figure 1 Explanation of the editor Description 1 Select select the drawn objects 7 Name on lifeline 2 Zoom zooms on the screen 8 Lifeline object 3 Note insert a note in the diagram 9 Simulation view 4 Lifeline draw a lifeline on the diagram 10 Properties view 5 Message draw a message from one 11 Options in simulation view lifeline to another 6 Recording record a given simulation and get the send messages drawn Page 3 User Manual Interaction Editor Recorder December 21 2007 Simulation Properties view can Problems Javadoc E Declaration Simulation 23 E Properties Loaded Simulation simulation Recording started Figure 2 Simulation properties 12 Play starts the simulation 15 Step performs a step on the simulation 13 Pause pauses the simulation 16 Speed sets the simulation speed 14 Stop stops the simulation Step by step When you have created a component definition message definition and a deployment of those you can draw an interaction diagram of it using the Interaction Editor Recorder 1 Create a new project see Eclipse help 2 Right click on the project in the Package Explorer and choose New gt Example Figure 3 Hi Packa ii fe Hierar Fig
2. Choose Resource Zoom Load Resource E Show Properties View Figure 4 Load Resource 9 Select the properties view 10 on Figure 1 10 You will now be able to choose one of the loaded deployments Figure 6 Bk Problems Javadoc E Declaration Simulation C end Z Fe BE O Diagram false Core Property Value Deployment Deployment WiperCoantral x Rulers amp Grid aie pio Recording Appearance Simulation Figure 6 Properties view 11 Choose the deployment that you would like to draw an interaction diagram of 12 Create a lifeline by choosing Lifeline 4 on Figure 1 and left click on the editor field A lifeline will be drawn and automatically sized and positioned 13 Left click on the visual lifeline and choose the properties view 10 on Figure 1 14 In the properties view 10 on Figure 1 you can choose which component in the deployment the selected lifeline should represent When you have chosen one of the components then the name Page 5 User Manual Interaction Editor Recorder December 21 2007 of the lifeline will automatically be updated Figure 7 Repeat step 12 to step 14 for those components you would like to be represented fi Problems Javadoc i Declaration Simulation E b i E Fp GY Oo Lifeline Unknown Core Appearance 15 16 17 18 Property Value component Name HV Component Instance frontWiper HV Component Instance Rainsen
3. detauttinteraction_diagram 23 2 oS lep SE2 ExamplePraject integratic b Legg testfiles group2 plugins dk c RainSensor frontWiper LS Terte New j E Java Project Go Into ri Projects Open in blew Winelaw Ay Package Shiv A 5 LAJ Show In t Shitt G Gass 3 copy Ctrl E wy Interface Enum Ha Paste Ctri e Annotation Delete Delete 5 Source Folder E Folder Build Path TEE E Mee Y File Refactor Alt Shift T F F Untitled Text File gag Import EY JUnit Test Case py Export y Example a Refresh F5 Clase Project F Other Close lnrelateel Proierts Figure 3 New interaction diagram 3 Choose Interaction Diagram and press Next Page 4 User Manual Interaction Editor Recorder December 21 2007 4 Name your interaction diagram lt name gt interaction diagram and press Next 5 You have to create an interaction for the diagram This is done automatically you just have to name it lt name gt interaction and then press Finish 6 Open the Interaction Editor Recorder 7 Right click on the field of the editor and choose Load Resource Figure 4 8 Browse your file system or your workspace and choose your deployment Figure 5 Now your message definition should be loaded as well If not do the same for your message definition e Load Resource Add t wu Navigate b Resource URIK Browse File Systeni Ero File Eclit Tat Select ae Arrange All Filters Figure 5 PE
4. 07 Javadoc lz Declaration Simulation E tn RainSensor frontWiper rearWiper je Unnamed message Property ee a Re 8 cer Name Message Yp a n o Ra iri p Message Type raini source Message Type rain i i Target Message pe switchAuta Message properties Figure 9 Message types 19 Click Recording 6 on Figure 1 and a dialog box will pop op Figure 11 In this dialog you can select a name for the simulation simulation and a place to save it Whenever you make a change in the simulation it will be saved automatically New Simulation New Simulation Select a file for the simulation Enter or select the parent folder Tests o gt leg SE2 ExampleProject integration test trunk SE2 ExampleProj ect l testfiles group2 plugins dk dtu imm se2e07 casetool tests testfiles E Tests File name Simulation simulation Advanced e Finish Cancel Figure 11 Save simulation 20 Go to the simulation view 9 on Figure 1 Press the play button 12 on Figure 2 and the simulation starts 21 Pause the simulation by clicking the pause icon 13 on Figure 2 and click the Select tool 1 on Figure 1 to stop recording save the diagram and re open it now you are able to see the drawn messages 22 You can also do a step wise simulation by clicking the step wise icon 15 on Figure 2 Save the diagram and re open it now you are able to see the drawn messages 23 To set the speed of the s
5. GROUP 2 User Manual Interaction Editor Recorder Daniel Schiermer 062415 Jesper Kristensen 062397 Philip Back 062398 Abbas Amini 062422 and Henrik Mynderup 062373 21 12 2007 User Manual Interaction Editor Recorder December 21 2007 Table of Contents CTC ieee ease eerste ce nese cre ere cae e ne tee tin esas ae ac ens csc es ems orcas Hemeslowa sea eae Hones eeu anies oaanadowacededaweeniaiec ae Component CLIC GM sient ap tare ar n E R E E Peno IVE EGE OM eee E E E S Sala OT ee A E E E E E E E EA E E E uns interaction Editor CONC SO secs ccs etc ete sees wim aeeee aa A DaS ADO cesar ca cass cr peeve onerous E E E E E ye rubemenunene pueicons FS SF YAY AEE et etn nate AENEON EN E N I E E EA E E E View of the Interaction Editor ReECOrdel cccccccssseccccssccccescececeucececeessceceeecceecuececeueeceeeeusesesuueesessuneceeeaess SMON PODET OS VOW eer et auaueeravecsesuanteans SS SEC o APEE E EE T EE AEE E E AE AEA E E EANET EA EE E EE E E CKT Ere nee EU O enen an E E E E E asvaseecuencaaceeanesee Table of figures Feure LExpaNa ono Ne Cdl O ercer a A Aa Heure Z Ma OND O TO S eaa Ea E Figure 3 New interaction diagram cccccsscccssscccesececssecccsnecceaeececsececenececenceeauecssescesaueceseecesenecesaeucesauecetseceeens Paure aAa oad RE OOE r E E E E EE E ee eee Feure a CO0 RESOUN E a S ee ee ee ee Figure o Properties Viei sorsiisirsiiinn a eure 7S Sh OOS a E tatosee tansuestoieweacenseevannoe Feurc s unna
6. ents are supposed to send messages to each other you need a message definition The message definition defines the messages to be used Such component definition and message definition can be created using the component editor Deployment Editor When you have defined the components and their ports and of course the messages you need at deployment to state which messages are going between which components For this you will use the deployment editor This editor is also used to define which messages are using which ports Simulation The simulator uses a deployment and sends the defined messages between the components This is helpful to see how the messages are defined between the components Interaction Editor Recorder This part is used to draw an interaction diagram of the deployment you have made First you can draw the interaction diagram as you would predict the messages to be sent and then you can record from the simulation of the deployment It is not necessary to draw your own diagram first The alternative is to start recording right away Dashboard The dashboard shows visually how the different components reacts to the messages they receive This way you can see that the state changes due to a message sent from one component to another Page 2 User Manual Interaction Editor Recorder December 21 2007 User manual Author Daniel amp Philip View of the Interaction Editor Recorder id defaultinteraction_diagram
7. imulation click the spoeed icon 16 on Figure 2 and enter a speed Save the diagram and re open it now you are able to see the drawn messages Page 7 User Manual Interaction Editor Recorder December 21 2007 24 Stop the paused simulation by clicking the stop icon 14 on Figure 2 or continue the simulation by clicking the play icon 12 on Figure 2 Save the diagram and re open it now you are able to see the drawn messages In the simulation properties view 10 on Figure 1 you will at all time be able to see a description of the performed action like starting a simulation stopping pausing etc 25 There is another way to create a simulation Go to your Package Explorer see Figure 12 and find the deployment you would like to simulate Right click on the deployment and choose Create Simulation Figure 12 a dialog will pop up where you need to name your simulation simulation and choose where to Save it Figure 11 E Package Expl a te Hierarchy iG id clefaultinteraction_diagram 25 a Fs 4 a log Example group deployments ed front 4 i SE2 ExamplePraject integration test tr Ep defaultcashboard 91 30 11 07 16 yy defaulticdlashboard_cdiagram 91 30 Fst Rainsensarcampanentdefinition ma Switch componentdefinition 956 3 m Wiper componentdefinitian 593 2i Ki WiperCantrol deployment 77 rai WiperContraller compane NeW i Fe Wipercontrolhlessacqes ms Open E3 l testfiles group2 plugins dk c O
8. med Messa RE ariaa E nc eR ONCE nn E EAE ee Figure 9 Message types esris a EO a Figure 10 Message properties ssssessessessrsressrsressrssesressresresrrsrrsrrsrroseosrssreseseeseesresersresresresresseeseeseeseeseeseeseeee Heare I o AVS SI O e N Fedre 12 ClO Ate simulatio oeenn A E Page 1 User Manual Interaction Editor Recorder December 21 2007 CASETool Author Daniel amp Philip This CASETool is used as a helpful tool to design embedded systems All its different units help in different ways The main focus of this user manual is the interaction Editor Recorder The complete program consists of 5 units a component editor and message definition deployment editor simulator interaction Editor Recorder and a dashboard In the component editor you define your components and messages see below The deployment editor is used to define messages between components see below The interaction Editor Recorder is used to draw and record interaction diagrams of the designed embedded system see below The dashboard is showing the embedded system visually The simulator simulates the messages sent between the components Component Definition When designing embedded systems you need some components The components can be a controller a software component or a hardware component Each component needs a port definition and an automaton with a definition of the different states and transitions of the components Since the compon
9. pen With i Tests Show In Alte Shitt W gt logy Wipers Example groupa depl Copy Ctrl C j Paste Ctrl V Delete Delete Bulle Path t Refactor Alt Shiftt T gag Inport gy Export a Refresh FS Assign Working Sets Create Simulation Figure 12 Create simulation Page 8 User Manual Interaction Editor Recorder December 21 2007 Quick reference guide Add name object to a lifeline Add name object to a message Choose deployment Draw a lifeline Draw a message Load resource New interaction diagram New simulation Pause simulation Play simulation Record simulation Save an interaction diagram Set simulation speed Step in simulation Page 9
10. sor HV Component Instance rearviper HV Component Instance switch a Figure 7 Lifeline properties Draw messages between the components lifelines by selecting Message 5 on Figure 1 and left click hold down on the source lifeline and drag the mouse to the target lifeline and release the left mouse button A message arrow will be drawn between the two lifelines and automatically be positioned A name tag for the message will appear with the text unnamed message It is possible to choose the same component lifeline as source and target Figure 8 Unnamed message In order to name the messages click on the message and choose the properties view 10 on Figure 1 In type you can select which message from your message definition you would like the drawn message to represent Figure 9 The name tag on the message will automatically be updated Figure 10 Repeat step 15 to step 16 for all the messages you would like to be represented If you would like to delete a message or a lifeline simply use the Select tool 1 on Figure 1 and select the message lifeline and press the delete button on your keyboard Messages attached to the lifelines that is being deleted will automatically be deleted Saving the interaction diagram is simply done by pressing CTRL S shortcut or closing the editor and press yes when asked to save or not Page 6 User Manual Interaction Editor Recorder December 21 20
Download Pdf Manuals
Related Search
Related Contents
Land Pride Power Screwdriver Powered Ditchers User's Manual PCI Quad 422/485 Card GE JBP64 User's Manual Tristar KZ-1230 coffee maker Chief Manufacturing Centris FHP-110 User's Manual Un article sur le plagiat (Télérama n°3219 du 21 septembre 2011) Calendrier prévisionnel de passage Coby MP957 Philips Aluminium Collection Steamer HD9160/00 Copyright © All rights reserved.
Failed to retrieve file