Workspace Tracker - ftsrg/mondo-collab-framework GitHub Wiki

Metadata

Preparations

To read

Using the Workspace Tracker

I use the WTSpec Ecore model, created by IK4-IKERLAN to demonstrate the operation of the Workspace Tracker. Load Ecore file and generate the model, edit and editor codes. Start a new Eclipse runtime instance and create a new project and a modell instance with root element type WT.

When create the model, that has not already turned on the Workspace Tracker. To add the adapter to the modell, click on the "Add adapter" menu item in the "Workspace Tracker" menu.

After the addition of the adapter, in the opened editor should be appear a new operationtracemodel types modell, it's trace rootelement is in single cemetery elements. When we first change the wind turbine modell is created the first Command, and then every changes results a new Step insertion. Perform the following steps on the modell:

  • Insert a new input element
  • The inserted element's Sys Id attribute adjust 1
  • Add a new input element with 2 Sys ld
  • Create a new subsystem
  • Save the model

After the save, in the Project Explorer window appears the new model file.

The Workspace Tracker saves 6 insert operation. The Insert Reference types actions represnt the insertion of a new elements, and the Insert Attribute types actions represents the Ids rewriting. Implementation of any changes, in wich the original state was null, results the creation of insert step. Right side of the image displayed the Properties window, in wich the first attribute insertion properties stand out. The element shows which elements changed. The Feature field shows which attribute changed. Perform the following steps on the modell:

  • Insert new Unit in the Subsystem
  • Rewrite the Subsystem's Cycle attibute to 1
  • Insert the System Input 2 element into the Unit element's Input iTwist Angle reference.
  • Update the Input iTwist Angle reference to System Input 2
  • Save the model

After the previous backup Command has been completed and a new Command was created.The firs Insert Reference the controll unit insert, the second indicated the first value, when the controll unit input set 2-input. The Update attribute created, when the Cycle is changed and the Update Reference created when the input changed. Right side of the latter properties are displayed. Finally, carry out a few wipes operation: • Delete the Input 2 in turbine • Liquidation the reference in controll unit • Use Undo operation

Three new step has been created as a result of the operation: two Remowe Step, one Insert Reference and a record in the Cemetery. The elimination of the containment and delete the reference results in creation of Remove Steps, but the cemetery was only the No. 2 ID input, becouse terminated only the content of this in the followed model. The Insert reference to result of the undo operation, because the system is put back in the deleted reference to the 1st ID input.

⚠️ **GitHub.com Fallback** ⚠️