Allow user to map parameters to be weaved

Issue #524 resolved
Arthur Le Saint created an issue

Right now, you can map Operations and Attributes but not Parameters.

This goal would be to:

1) Add a level of depth to the mapping GUI to allow the user to select his parameter mapping

2) Change the implementation of the parameter weaving in OperationsWeaver.java according to the user choice and verify the default behaviour to check the primitive type of the parameter

Comments (14)

  1. Arthur Le Saint reporter

    References #524: Parameter mapping is being setup

    Clicking on the L+ button adds a parameter mapping. You need to reload the diagram to see a new entry.

    → <<cset 3ff938b68bf6>>

  2. Arthur Le Saint reporter

    References #524: Add and Delete parameter mapping from GUI

    Warning: GUI doesn't refresh yet Adding/deleting a line under the operation and mapping two parameters works Does not take into account the types yet Weaving works accordingly to user input Added addParameter.png

    → <<cset 47c6c782c558>>

  3. Arthur Le Saint reporter

    References #524: GUI working. Add/Del a parameter refreshes.

    • Removed the ContainerView argument for all MappingView (unused)
    • Added a OperationContainerViewTransformed so it could "hold" the parameter mapping view
    • Added some comments with some spring cleaning on the side

    → <<cset 9a3551531274>>

  4. Arthur Le Saint reporter

    References #524: parameter weaving is done

    • Mapping and weaving parameter seems to work (further testing need to be made)
    • Mapping and weaving still do not check types! Tue user can map/weave String and int together if he wants to.

    → <<cset c007380b8c5c>>

  5. Arthur Le Saint reporter

    References #524: Automatic parameter mapping when mapping an operation

    "saving" the state of the code doExecute is made public, it shouldn't cerateGhostMappedOperation is implemented but not used

    → <<cset 10fe60bd0ccf>>

  6. Arthur Le Saint reporter

    References #524: Cannot map an int parameter with a String parameter anymore

    The parameter mapping now has a getChoiceOfValue, which allow to remove some choices from the selector when mapping a parameterFrom to a parameterTo. Only works for primitives types. To be discussed if there is the need for more.

    → <<cset bd391d73d755>>

  7. Log in to comment