Closed AhmedEssam78 closed 7 months ago
Done.
For future reference, when dealing with parameters' values, consider that we have 4 types of parameters: int, float, bool, enum. Cause in some parts of the code, the bool and enum are forgotten.
@mirashanouda @nada-dev
This was happening because the modified values was updated inside the parameters' objects in Jtree2MouseClicked function which is called when we only click on the containers.
The right implementation is to modify the parameters' objects whenever the user enters a value in the text_field or combo_box related to any parameter. When the user enters a new value, there is an Action Listener Function related to each input field. Inside this action function, we should implement our code to access the parameters.
Note that we update the parameters values whether it's valid or not. However, there is a function for validating input, which is called directly after entering invalid data telling the user to enter a valid one. Moreover, it prevent him for extracting ARXML File unless he solved the errors shown in log messages window.