Book a Demo

Author Topic: can EA generate Cpp files? And a rant about the UI  (Read 4286 times)

f001error

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
can EA generate Cpp files? And a rant about the UI
« on: July 21, 2006, 10:37:56 pm »
Hey been using EA for about 30 minutes and I'm allready very frustrated with it. I can't create classes one afer the other, I've got to click on class, then plonk the class in, then select class again. Why on earth doesn't it stay in class mode until i tell it to do something else ? Also By default, there is no zoom shortcut key. When you start a new project it should ask you what langauge you want to use, how often to write UML that has say C++ talking to actionscript, not very likely !

Anyway, ive been told this is the best app to use (god help the other ones), so im gonna stuggle on. But to the UI desiger, seriously fix it up. It's a huge put off to have to search through the help files when u first start using an applcation.

Now what's got me stuck is the code generation. It doesnt generate cpp files, only h files. Did a search and it seems like its possible, but no threads had the solution. Why isn't their just an option to generate .h and genreate .cpp in the generate code dialog box, that would be SOOO much more logical and easy to use.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: can EA generate Cpp files? And a rant about th
« Reply #1 on: July 23, 2006, 02:31:09 pm »
Perhaps I can point you in the correct direction for a few of your concerns.

Quote
I can't create classes one afer the other
Take a look in the help file for Keyboard Shortcuts. There are quite a few, and it can take quite a while to become familiar with them (at least if I'm an example). Shift-F3 is the shortcut for Repeat last element; it will add another new element, of the same type as the previous one, to the current diagram. You may also find F3 (Repeat last connector) to be useful.

Quote
When you start a new project it should ask you what langauge you want to use...
You should be able to set this in the Code Generation toolbar, and have EA remember it. Although I do occasionally switch languages, I find that I generally work on several projects between switches, so this usually works well enough for me.

Quote
It's a huge put off to have to search through the help files when u first start using an applcation.
I agree. I also have yet to come up with any way to effectively mitigate this problem with any UML application worth having. EA is feature rich, and evolving rapidly. If you watch this forum you will see that we - the collective EA community - have felt the results of this. In particular, there are several areas where features are inconsistent in their operation, user interface, or both; and the documentation has fallen behind in some areas. Sparx does hear us though, and continues to work on mitigating these issues, as well as continuing to improve (versus simply evolving) the product. Hang in there!

Quote
It doesnt generate cpp files, only h files
Actually, it does generate both. C++ is the only language where both sets of files are generated. However, this is one thing I have not had a need to do since I started using EA, and I must confess that I don't remember the 'trick' off hand. I do remember that someone asked this very thing in the forum recently and did receive an answer. Search again. YABB can be quite literal in the way it handles searches, so take your time and try different combinations of keywords. I think the post I'm referring to - it is merely the most recent of several I remember - was in the last month or so.

HTH, David
No, you can't have it!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: can EA generate Cpp files? And a rant about th
« Reply #2 on: July 23, 2006, 03:22:45 pm »
Quote
Take a look in the help file for Keyboard Shortcuts. There are quite a few, and it can take quite a while to become familiar with them (at least if I'm an example). Shift-F3 is the shortcut for Repeat last element; it will add another new element, of the same type as the previous one, to the current diagram. You may also find F3 (Repeat last connector) to be useful.

Ctrl+Click also places the last element used.

mikewhit

  • EA User
  • **
  • Posts: 608
  • Karma: +0/-0
  • Accessing ....
    • View Profile
Re: can EA generate Cpp files? And a rant about th
« Reply #3 on: August 22, 2006, 01:27:19 am »
Hey, I've just arrived in Germany, been there for 30 minutes and I still can't speak the language ! What is it with this German ...
Tried driving around a bit, but no, had to look at the map - how annoying is that !

;)

Have fun with EA - the UI is sometimes a bit inconsistent but you will definitely get your money's worth if you persevere ... like Germany I imagine !

thomaskilian

  • Guest
Re: can EA generate Cpp files? And a rant about th
« Reply #4 on: August 22, 2006, 09:56:38 am »
Depends on where you stranded in Germany...