As you might know, our Amuse team is working on the new release which should be finished next month. So I thought it would be good to have a first look at the new features – I took my first example which I created a few months ago and tried to use it with Amuse 1.5.

I opened the existing project and wanted to execute the workflow but surprisingly there was no “Execute Workflow” context menu – so how to start the workflow?
As you might know in EA 8.0 there is now the support of dock able windows and at the moment there is no context menu (I hope there is one in the final release!) – You can find the “UML Simulation” window under “View” –> “Add-In Windows”:
image
Tip: If your window is not docked you will always have to go to “View” –> “Add-In Windows”. So maybe it is better to have the button on the main menu:
1. Right click on the main menu.
image
2. Customize
3. Click on the “View” menu
image
4. Drag and drop the “Add-In Windows” item to the main menu.
image

Ok, after that you can always open the window by clicking the button.

I tried to start the workflow and got following error:
image

Aha ok – mhm..

So I deleted the existing classes which I referenced last time and added it again.
image image
I really like the new “ObjectSelectGrid” because it let us now import more types at one time but it would be great if there is a checkbox where I can select all types with one click – maybe something like in the following screenshot:
image
I started the workflow again – still same error – so I had to make sure that the attribute “MyLoginForm” is from the correct class type:
1) I opened the “MyLoginForm” attribute under “AuthenticationExample”.
image
2) Selected the type “LoginForm”.
image
3) But why can I not save the attribute? – The name is still the same! – So select first another type for example “bool” – Save and select “LoginForm” again.

4) I started the workflow again but I got following error message in the output window:
image
Aha…what does it mean? –  Compile Error CS1525?
The good thing is we don’t have to look in the generated code just double click on the error message and it will highlight the file where the error occured!!
image
Ok have a look at “ShowMainForm” there is a method called “OpenMainForm()” – if you click on the “Behavior” tab you will see that the “Behavior” text box is blank – the method was deleted when we removed the class references! So we have to add the “ShowDialog” method for the “MainForm” again.
image
image
And the same error for “ShowMessageForm” – “OpenMessageForm()” – so we also have to add the method again:
image
image

Yep – now we have a running version for Amuse 1.5 😉
image