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.


Topics - nfactorial

Pages: [1]
1
Suggestions and Requests / Programming with EA
« on: September 12, 2003, 12:33:37 pm »
I'm new to both EA and UML so I'm not sure if this is actually a part of the intended responsibilities,
I'd like to associate source code with a method inside EA and have EA output the source code in the
implementation. I tried putting source code inside the 'Behaviour' section of the operation properties
dialog but it never appeared during sourcecode generation (I guess I'm trying to do something that
isn't a part of the applications domain?).

n!

2
Suggestions and Requests / Variable initialization
« on: September 12, 2003, 12:37:14 pm »
I've set a boolean variables default value to 'false' (inside the Attribute property dialog (I set the 'initial' value to 'false')) hoping EA would set this value in the class constructor, similar to:

MyClass::MyClass() : m_MyBoolean( false )

but that doesn't occur, is there some setting I'm missing to get this functionality, or is this impossible?

n!

3
Suggestions and Requests / suppress .cpp for abstract interfaces
« on: September 11, 2003, 12:50:19 pm »
I've only been using EA for a few hours, looks excellent :)

I have a feature request (or maybe its a feature I haven't found?):

When defining a pure interface (C++), Enterprise Architect generates a .h *and* a .cpp file even though there is no implementation. Would it be possible to have some way of generating only .h files for pure interfaces?

Thanks!
n!

4
Suggestions and Requests / Include paths
« on: September 12, 2003, 12:31:59 pm »
Include paths do not reference the correct sub-directory? e.g. I have a base folder 'test' and place my interface headers in the directory 'test\interfaces' with my concrete classes inside the 'test' root directory. Within the implementation header file, Enterprise Architect generates the include path as:

#include "MyInterface.h"

instead of:

#include "Interfaces\MyInterface.h"

it would be nice if I could place my implementation inside another directory and get the correct local path generated, ie. my implementation placed  inside 'test\Implementation' the #include directive expands to:

#include "..\Interfaces\MyInterface.h"

n!

5
Suggestions and Requests / Switch between .h and .cpp file
« on: September 12, 2003, 12:29:43 pm »
Could there be an option to switch between .cpp and .h files in the source code viewer for C++ objects?

n!

6
Suggestions and Requests / boolean datatype in C++
« on: September 12, 2003, 12:28:06 pm »
'bool' does not appear to be a in the default language datatype list for C++, I know this can be added using the "configuration->Language datatypes" dialog, but it should be available as default? :)

n!

7
Suggestions and Requests / Bug: Missing filename...
« on: September 11, 2003, 12:55:28 pm »
Bug report:

I created a new class and pressed CTRL+G within the editor (C++ code export), followed by return to generate the class code (Generate is the default selected button on the dialog).

Enterprise Architect prompted me for a filename, which I gave.

The sourcefile was generated, however the %fileName% macros within the 'File' and 'FileImpl' code templates evaluated to an empty string.

Deleting the generated files and re-exporting them corrected the problem (I'd guess the source files are generated in a memory buffer before being written to the file (or before validating there is a filename)?).

Thanks
n!

8
Suggestions and Requests / Cancel on new items really cancels...
« on: September 11, 2003, 12:52:30 pm »
When creating a new item (logical diagram) Enterprise Architect displays a dialog box for the new items properties. However, if a user decides he\she didn't want that object after all and presses cancel, Enterprise Architect keeps the object alive with default properties.

If the dialog is for a new object and the user presses cancel, could the object be deleted (ie. cancelled)?

Thanks
n!

9
General Board / usage
« on: September 18, 2003, 07:59:36 am »
Are there any tutorials available that demonstrate examples of applying EA to a project.

The documentation only discusses the various options available rather than how the features may be applied to produce a package.

Currently (as a programmer) I'm just laying out some classes and their interfaces but finding, although the view is nice enough, it's actually quicker to design without it. Which must mean I'm not using it properly?

I do realise the package is meant for more than just class\interface design, there is use-case and requirements analysis as well (amongst other things) but these I am not as familiar with, and the lack of a good intro means I'm currently ignoring ithem.

Thanks,
n!

Pages: [1]