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 - bknoth2

Pages: [1] 2 3 ... 5
1
You need to create your own. Here's one that can go in ConsoleManger.cpp:


int main() {
   ConsoleManager manager;
   manager.initialize();
   manager.Run();
   return 0;
}

2
General Board / Re: Sequence diagram messages
« on: January 26, 2019, 03:25:26 am »
With qwerty's approach you'll improve your fine motor skills as well. If you click in just the right spot when the cursor changes to a little arrow you can drag the end of the connector to another line, but if you are off just a bit you'll select the lifeline, not the message and you have to try again. It's a little easier if you zoom in to the drawing.

3
General Board / Re: Model Wizard 14
« on: January 26, 2019, 03:21:13 am »
You don't have to use it. I just created an empty project in EA 14 with about two clicks. Now all I have to do is add a package to that and from there I can create classes, diagrams, etc.

4
Bugs and Issues / Re: State entry/do/exit limited to 1 in EA 14?
« on: January 23, 2019, 05:45:08 am »
You can also enter more than one action per category the old way through Design/(Element)Features/Features Dialog. Hopefully they'll keep that around.

5
General Board / Modified C++ code templates and code generation
« on: January 18, 2019, 11:48:13 am »
I've modified templates successfully before. Now I'm modifying a template and generating code, but the changes don't show up in the new code. I can even close and reopen the model, open the template again, see my changes and regenerate and they still don't show up in the source file (the source file has an updated time, so I know it is getting regenerated). It's as if the old template is cached somewhere. Any ideas?

FYI: I'm modifying an STM_C++ template with version 13.5 of EA.

6
My workflow when I'm not quite sure about sync status or trying to resolve synchronization issues is:

1) Confirm the source is committed to a version control system so it can be recovered easily
2) Generate the code directly from EA
3) Diff the generated code with what is in the code repository to see what the differences are.
4) If EA did not generate the code as expected, revert the code from the repository so it gets back to the state it was in step 1)
5) Synchronize the class in EA with the reverted source files.
6) Generate the code again from EA
7) Diff the code again. Now I don't expect to see any significant differences from the original code.

This process lets me see if there is significant new content in EA (step 3) and also identify and fix any errors in the model (steps 3 and 7).

7
General Board / Re: Cannot move state machine diagram between packages
« on: November 21, 2018, 03:17:23 am »
Try right-clicking the diagram and selecting "hide diagram frame."

8
General Board / Re: CMAKE project
« on: November 14, 2018, 03:38:20 am »
CMake is not involved. Import the C++ files directly. Use "Code/File/Import Source Directory" to import the folder(s) that hold the source. Just try it to see how it works. There's no risk and you may end up doing it a few times as you learn how it works.

9
For the record, I had to reboot for other reasons and the diagram types came back.

10
Thanks. I was contemplating a reinstall and thought I'd ask first. I'm hoping a new rev comes out soon and I can use that as my reinstall.

11
EA Rev 14.1.1427

1) I right-click a package, select "Add Diagram".
2) A box pops up with two entries on the left: "UML Structural" and "UML Behavioral."
3) UML Structural has six entries on the right, under "types." UML Behavioral has none, so I can't add, for example, state diagrams

(I resorted to version 13.5 to add the diagram I needed).

Any suggestions?

Thanks
Bruce

12
General Board / Re: Virtual Documents with EA14
« on: September 11, 2018, 04:26:03 am »
I just found it by following the search instructions here: https://www.sparxsystems.com/enterprise_architect_user_guide/14.0/modeling_tools/objecttoolbar.html

and typing in "document". That led me to the Extended::Documentation toolbox. There's probably other ways, too.

Good luck
Bruce

13
General Board / EA Code Generation and a git-based workflow?
« on: August 31, 2018, 09:34:35 am »
Code generation and git-based workflows

I am defining a class structure and round-tripping code (EA to C++ to EA, as needed). The code is maintained in git. Git lends itself to branch-based development, meaning that different branches in the git repository are used to develop specific features. Does anyone have a good process for keeping a model in synch with code on several git branches?

Thanks

14
I'm not sure it matters all that much. If you are comfortable doing it with eap files, then do the merge that way and then transfer. Keep backups along the way.

15
The title is not a typo.

1) Open a sequence diagram
2) Right click a connector that designates a message. Select properties
3) A "Connector Properties" dialog opens which has two tabs at the bottom ("Connector Properties" and "Connector Notes")
4) If you don't see a "Notes" window at the bottom of the "Connector Properties" tab, drag the bottom of the dialog down to expand the view and review the (stealth) notes field below the "control flow type" box

Now there is a "Notes" box visible on the properties tab and there is an entire notes box on the "Connector Notes" tab. What is the difference? I know they are different because notes typed into the window on the properties tab show up on the diagram if sequence notes are visible but "connector notes" don't.

Given that, at least on my system, the "Connector Properties" opens in a way that hides the notes window at the bottom (see step 4) above) it took me an hour over two days to figure out why my notes don't show up on the diagram (which I was typing in through the "Connector Notes" tab) but notes entered through V13.5 do. To make it worse, notes entered through V13.5 seem to show up in both notes fields (the one on the notes tab and the one revealed by step 4) above) but notes entered through V14's "Connector Notes" tab don't show up on the diagram but those entered through the properties tab do.

Pages: [1] 2 3 ... 5