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

Pages: [1]
1
Suggestions and Requests / Suggestion: Details in "Properties"
« on: February 11, 2004, 07:50:08 am »
Hi

Would it be possible to display the details of the child-elements of a class in the properties-window?
I'm working often with tagged-values. So it would be very usefull if those are visible at a glace in the properties-window and not only in the corresponding dialog.
The details of the follwing elements would be nice:
- Attributes
- Operations
- Relations

Thanks
Alex

2
Suggestions and Requests / Problem with UML-Profile for <<table>>
« on: February 11, 2004, 07:34:45 am »
Hi

I've got a problem with a UML-Profile for the <<tabel>> stereotype:
If I drag it from the Resource-View to a diagram, nothing happens and the element isn't created.

Declaration of the element:

<Stereotype name="myTable" notes="">
 <AppliesTo>
   <Apply type="table"/>
 </AppliesTo>
 <TaggedValues>
   <Tag name="test" description="" values="true | false"/>
 </TaggedValues>
</Stereotype>

The table-element from the Toolbox works fine, but I need the tagged-values.

Does anyone know a solution for this?

Thanks
Alex

3
I mean the connector between packages. I have an Excel-list with applications and description of connection between these applications (InformationFlow from A to B). The problem is I can import applications to EA by CSV-Import, but not the associations/connectors.
There is possibility to export connections from EA to CSV-file separate from applications, but how does it work to import the connectors back to EA (separate or together with applications)? Is it generally possible? Do I need additional software?

4
Are there some possibilities to import Connectors/Associations to Enterprise Architect?

5
Automation Interface, Add-Ins and Tools / Delphi problem
« on: May 19, 2005, 01:48:58 pm »
Hi,

I can connect to repository, load tree of packages, for each package I can load list of elements, but
1) All elements have empty stereotype;
2) element's TaggedValues collection is always NIL;
3) I have access violation error while access to element's Methods or Attributes collections.

The next is my simplified code

procedure ShowPackage(pkg: IPackage);
var
 i: integer;
 coll: ICollection;
begin
 Memo1.lines.Add(pkg.Name);
 coll := pkg.Elements as ICollection;
 for i:=0 to coll.Count-1 do
   ShowElement(coll.GetAt(i) as IElement);
end;

procedure ShowElement(elm: IElement);
var
 i: integer;
 coll: ICollection;
 tv: ITaggedValue;
 d: IDispatch;
begin
 Memo1.lines.Add(elm.Name);         // works fine
 Memo1.lines.Add(elm.Stereotype); // always blank :(

 coll := elm.TaggedValues as ICollection;
 if coll<>nil then                               // always NIL :(
   for i:=0 to coll.Count-1 do ;

 d := elm.Methods;
 coll := d as ICollection;          // access violation error :(
 d := elm.Attributes;
 coll := d as ICollection;          // access violation error :(
end;

Thanks,
Alexander Zemerov.

Pages: [1]