https://ibb.co/J5K80Gnhttps://ibb.co/JKPzsrgHi Dear EA users,
It is been 1 and half month I have been working with EA. I have a specific problem in my mind and I want to ask for your advice.
I am currently working on extending UML and creating my own MDG technology. I came to a point where I need to make things easier for the user of my MDG technology. Now, I will try to explain my work and my problem.
I have an action <<ArithmeticExpression>> (I extended UML::Action with something called ArithmeticExpression). And this specific action takes two inputs and you are able to choose an operator(it can be seen on the first link). I have my own custom diagram and custom toolbox and this arithmeticExpression action is an item in my custom toolbox. On the second link, you can see a model diagram which shows artihmeticExpression actions one after another. An arithmeticExpression itself can be chosen as an "operand" for another arithmeticExpression.
So, the goal is to model a mathematical formula. Since one ArithmeticExpression action can do one operation, if I have a very big mathematical formula, the user will have to create so many ArithmeticExpression actions one after another. It is time consuming and not user friendly.
What I want to do is the following: I want another item in my custom toolbox(can be called "MathematicalFormula"), and the user will enter the formula as an input to this new item. Then, EA will automatically create the corresponding ArithmeticExpressions inside the project browser window.
To do this, I need an algorithm(this is not what I ask), and a way to do this automation I explained above. However, I do not know a way to this automation. I feel like I need a script that does this job, and somehow I need to add this script inside my technology. And this script should be able to read(how?) the input of this new item "MathematicalFormula", then should be able to create(how?) ArithmeticExpression actions in the browser window(I want to know how to do these).
I kindly ask you to give me some references because I do not where to start. I would appreciate if you tell me related EA tools that I need to look into, if this automation is possible.
Best,
mr nobody 11