Book a Demo

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - sude.ciloglu

Pages: [1]
1
I created a Win32 Login UI and a State Machine in EA, and I am running the simulation. My goal is to take the user input entered in the UI , use these values inside the State Machine, and then send them to a database (or generate Java code that can do this). However, EA does not expose or persist any user-entered values during simulation, and Win32 controls do not provide an event panel, so the Simulation Events window remains empty.
My question is: Does EA support capturing UI input during simulation, passing it into the model, and generating code that can forward this data to a database? Or is the intended workflow that UI + State Machine are only for modeling, and real input handling + DB operations must be implemented externally in Java?

2
General Board / How to populate ComboBox items in UI Simulation
« on: October 27, 2025, 08:31:20 pm »
Hello everyone,

I'm trying to populate a ComboBox with selectable items during a UI Simulation in Enterprise Architect ( Interpreted / UML Basic mode).

In my model:
- I created a UI form named "NewSiteWizard" under the User Interface package.
- The form contains several controls, including a ComboBox named "Combobox5".
- The form itself appears correctly during the simulation.

However, I couldn’t find any working way to programmatically add items to the ComboBox. 
I’ve tried the following methods:

1. Using `dialog.NewSiteWizard.Combobox5.Add("Kadın")` and `.Clear()` → `cb.Clear is not a function`
2. Using `dialog.NewSiteWizard.Controls("Combobox5")` → `Controls is not a function`
3. Setting Tagged Value `Items = "Kadın;Erkek"` → still empty during simulation
4. Verified that the control name and type are correct, and the form loads properly.

Example from the System Output:


**My questions:**
- Is there a supported API or scripting approach to populate ComboBox items at runtime in UI simulations?
- Are UI control methods like `.Add()` or `.AddItem()` currently functional in interpreted simulation mode?
- If not, is there any known workaround?

Any guidance, example, or confirmation about current support status would be really helpful. 
Thanks in advance!



3
General Board / State Machine Simulation - Saving Login Data to Database
« on: October 17, 2025, 07:44:52 pm »
Hello everyone,

I've created a state machine simulation in Sparx Enterprise Architect with a simple login screen (username and password).

My goal is to store the input data entered when the user clicks the Login button (this could be in an MS Access database, a text file, or even the EA's internal data store).

I've tried using VBScript (using ADODB.Connection for Access or FileSystemObject for writing a text file) within the Login Behavior of a state, but I get errors like unexpected token: identifier during the simulation, or the script doesn't run at all.

My question is:
Is there a recommended or supported way to store user input data (in Access, a text file, or the EA's internal storage) during a state machine simulation in EA?

Any advice or working examples would be very helpful.

Thanks in advance!

4
Uml Process / After reverse engineering and refreshing the project, delete
« on: February 27, 2025, 06:34:50 pm »
I converted my project from code to diagram by reverse engineering it with Eclipse and I update my project weekly by pulling it from gitlab with the "refresh project" method. After refreshing the project and synchronizing the deleted class in the code, I expect it to be deleted from the diagram and project browser, but sparx does not do this automatically. I have to delete it manually. I did a detailed research for this but could not find a solution. Isn't there a setting for this? Just like in the "import source directory" settings. There should be delete options like in this section and it should always offer an option like delete. If there is a solution, can you guide me?

Pages: [1]