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

Pages: [1]
1
Suggestions and Requests / Source code Editor
« on: November 12, 2003, 06:21:52 am »
Hi
Im happy to have an editor inside EA, so i can code while im modeling.
I think it can be very useful (and i think its easy to implement) having a button to change between the implementation and header files (.h and .cpp, i use C++).
This way we can edit the code or the declaration of a class easily.

Thanks!


2
Suggestions and Requests / Collaboration diagram: small change
« on: October 07, 2003, 12:23:34 am »
Hi

The messages on the collaboration diagrams look like:
1.4 val:=Func()
1.5 *[each]: dosomething()

i think that UML standard states that there is always a ':' . Its ok on loops, but i think its wrong on normal messages, and it should be
1.4 : val:=Func()

excuses if im wrong.

I have also noticed that when i see collabotarions diagrams from previous days, the loop condition is not on the diagram thougth it is on the message details,
and sometimes some messages or relations are not where i put them (version 3.60.637).

Thanks!



3
Suggestions and Requests / Re: Collaboration diagrams
« on: June 11, 2003, 02:24:01 am »
It seems the collaboration message numbers can only have 2 leves, i.e: 1, 1.1, 1.2, etc.
Is there a way to use more nesting levels?
(i.e: 1, 1.1, 1.1.1, 1.1.2, 1.2, etc)

Thanks!

4
Suggestions and Requests / Request Feature: Code editor
« on: May 05, 2003, 06:19:18 am »
Im planning to use EA to generate code and round-trip development.
It could be great also to have a code editor inside EA, so if i go to a class methods, and click on a method, there is a "code" tab on the method property page so it shows the code inside that method, and we could change it. This code can be obtained from reverse engineering C++ or Java code, and will be used to fill the method's body when code generation.
I try to make small body methods(we all should do it that way), so i think basic editing capabilities are enough inside this code box... color syntax would be great also.

Is this possible? could you add this feature?

Thanks!

5
Suggestions and Requests / Automation: detect selected elements
« on: April 28, 2003, 12:25:34 pm »
Im new to this program.
I want to use it to make refactorings over designs and
code, so i need to detect which is the active document/diagram, detect what are the selected class(es)
on this diagram, so i can apply a transformation on this class only.
The automation interface can tell me what are the selected classes?
Is there any refactoring feature planned?

Thanks!

6
General Board / Re: C++ classes generation
« on: November 11, 2003, 12:13:08 am »
Hi
I attempt to create code from scratch, just from the model.
I made today a new project, just a couple of classes, and a attribute on each.

When i see the template's form (using Ctrl+Shift+P), all templates are empty, no matter what languaje or what template i choose.

I tried to generate code:
I select the 2 classes, and then i click on
Project -> Source code engineering -> Batch Generate Selected elements (May+F11) (or using right click to select Code Generation).

First, it says its going to generate class1.java (java classes), but i have previously selected C++ as default code generation (in Tools -> Options -> Generation ).

Second, it generates a file of exactly 0 bytes.

should i try to reinstall EA?


Edited: After reinstalling EA 3.60, i can now see and modify thecode generation templates, and i can generate C++ code.


7
General Board / C++ classes generation
« on: November 10, 2003, 01:29:13 am »
Hi
Im trying to generate code, but i cant.
Im using EA 3.60, build 650.
It seems i need code generation templates, but i havent any.

I've created some classes on a diagram, i put some links, and i defined a few attributes and operations.

When i try to generate code, EA says that the .h file doesnt have a class declaration, anyway, it creates header files with 0 bytes. ???

Can anyone help me to generate code?

Thanks!

8
General Board / Re: UML Patterns downloadable?
« on: July 03, 2003, 11:14:49 pm »
I started to make some GoF patterns on EA,
but i have only made 3 or 4 of them yet...

I dont know well how to use them later
because there is options to ask for the name of some of the class, but i dont know if there is an option to use a class you already have on the model when you include the pattern, etc.

9
General Board / Q: C++ template reverse engineering
« on: May 06, 2003, 01:06:03 pm »
Im new to this program,
is this possible with EA reverse engineering of templates?
it seems that i cannot get a type that is a template instantiation.
This is an example code:

class Token
{
public:
   int mTokenType;
};

typedef vector<Token> TTokenMap;

class STree
{
private:
 TTokenMap tokens;
};

EA can import this? i have problems getting a link (aggregation) from STree to Token...
Is there a better way to make the code/design using STL collections?

Can EA generate code using STL easily? how?

Thanks in advance!


Pages: [1]