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

Pages: 1 2 [3]
31
General Board / Timing diagrams
« on: January 16, 2006, 10:46:34 pm »
Hello,

one question regards timing diagrams:

The time achses is labeled with 1..100.

Is there any way to change this time range?

Regards:

Uwe Fechner

32
General Board / Connection not UML compliant any more?
« on: January 04, 2006, 06:42:58 pm »
Hello,

with EA 6.0 (different builds) I cannot create a connection from an state to a submachine (on a state diagram).

I get the message "The requested connection is not UML compliant."

Is this really true?
It worked fine with EA 5.0.

I have many old diagrams using this kind of connection and can't edit them any longer.

Is this a bug or a feature?

Regards:

Uwe Fechner

33
General Board / EA6 minor usebility issues
« on: November 28, 2005, 04:33:14 am »
Hello,

I think that:

1. Set font should appear directly in the context menu of
a note.
Having it hidden in appearance -> setfont is not
user friendly, the main context menu of notes is
very small anyway.

2. The "lock" symbol of a locked element should be closed,
if it is locked. It is very irritating, that this symbol
looks like an open lock, if an element is locked in
reallity.
(Context menu of a class).

Any comments?

Uwe Fechner

34
General Board / List of all ToDo items?
« on: July 12, 2005, 08:25:41 pm »
Hello,

is it possible to get a list of all todo items of all elements of a project?

Regards:

Uwe Fechner

35
General Board / Display attribute notes in class diagram?
« on: June 21, 2005, 06:58:43 am »
Hello,

is it possible, to display attribute notes in the class diagram?

Regards:

Uwe Fechner

36
General Board / C code generation
« on: October 30, 2003, 12:31:30 am »
Hello,

we develop software for embedded medical products with ansi C.

There are tools available, that create C-Code from an UML model. (e.g. UML>C from http://www.methodpark.de )

Questions:

a) is this tool usable together with EA?
b) any other suggestions for tools, that generate C Code from UML?

Regards:

Uwe Fechner

37
General Board / postgres support
« on: February 10, 2003, 07:53:42 pm »
Hello,

I need to create a diagram for a postgres database.
This is not supported in the moment.
Is it sufficient, to define the postgres datatypes, to be
able to make forward and reverse engeneering of
postgres via odbc?

Regards:

Uwe Fechner

38
Hello,

I need to get the direct dependencies of requirements using the COM interface.

With the method calls:
GetRelationSet(rsDependStart) and
GetRelationSet(rsDependEnd)

I get a comma separated list of dependencies, but the indirect dependencies are all included.
How can I test, if these dependencies are direct or
indirect?

I am writing a report generator, that creates LaTex code from the requirements in the EA model. Our manager wants to see the direct dependencies in the report only.

In EA in the hierarchy view this works fine, if you set the hierarchy depth to two (in Options -> General). But how can I reach this goal using automation?

Any hint appreciated.

Regards:

Uwe Fechner

39
Hello,

how can I access user defined Attributes of Requirements, that are defined in RA-Quest using the COM-Interface?

I can access normal classes, didn't try to access the attributes of requirements yet.

Any help appreciated.

Uwe Fechner

40
Hello,

I tried to import the EA type library in Borland Delphi 6.0 and in python.

The EA type library is not shown.

I did:

ea.exe /register (just to be sure)

Delphi -> Projekt -> import type library

Nothing there (well, many other type libraries, but not EA).

I tried with python:

python C:\Python25\Lib\site-packages\win32com\client\makepy.py

Many typelibraries are displayed, not EA.

Any idea?

Thanks:

Uwe Fechner (Using EA 6.5.800 on Windows XP)

41
Hallo,

I want to write a code generator in python.

> import win32com.client
> repo = win32com.client.Dispatch("EA.Repository")
> repo.OpenFile(sys.argv[1])
> elem = repo.getElementByID(int(argv[2]))
> print elem.name

I call the script using a custom tools menu entry,
so that the first parameter is the name of the model
file, and the second parameter the name of the selected
element.

It works, but it is very slow (10 seconds on an 1,7 Ghz PC).

How can I get an instance of the repository, that is
already open, without beeing forced to write an addin?

Regards:

Uwe Fechner

42
Hello,

I imported the type library with delphi and I am working fine with the EAProject component.

Now I try to use the repository component and have the following problem:


procedure TfrmMain.Button1Click(Sender: TObject);
var
 oElement: IDualElement;
 sTmp,sGUID: string;
 boResult: boolean;
 iCount: integer;
begin
 boResult:=self.EARepository.OpenFile(edtInputFile.Text);
 if boResult then begin
   iCount:=self.EARepository.Models.Count;
   self.foMyUserIO.outLog('ModelCount: '+inttostr(iCount), ltMsg);
   sGUID:='EAID_6AB8AFBB_2217_4f0f_979D_59200D08976D';
   oElement:=EARepository.GetElementByGuid(sGUID);
   //oElement:=EARepository.GetElementByGuid(self.edtElementID.Text);
   if oElement<>nil then begin
     sTmp:=oElement.Name;
   end;
 end;
end;


If I execute this code, oElement is always NIL.
(The GUID exists, and it is a class element.)

Any idea?

Reagards:

Uwe Fechner

Pages: 1 2 [3]