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 - Marco Zapletal

Pages: [1] 2
1
thats not the problem, but again i can only traverse the repository recursivly with the automationinterface, which takes quite a long time on a huge model.

since EA uses an access db, i assume that there exists something like an element table. thus a query like  
Code: [Select]
SELECT * FROM elements and populating a collection with the returned stuff be several times faster.

and because the repository changes during modeling, a one time traversion of the model at startup won't be of great help ;)


2
Suggestions and Requests / AutomationInterface: retrieveAllElements()
« on: August 01, 2005, 05:36:38 am »
hello,

we are currently creating an addin for EA and thus heavily using the automation interface. if we want to search the whole model for a certain criteria, we have to recursivly go through the model each time.
so how about a function returning all the elements in a flat collection?
example:

public EA.Collection getAllElements()  -> returning all elements in a model (repository)

the following convenience function would also be cool:

public EA.Collection getAllElements(EA.Package start) -> returning all elements of a package and its subpackages, starting from the given package.


thanks for your great efforts...

regards,
marco

3
General Board / Re: Parameter Set Notation?
« on: April 24, 2007, 08:04:50 am »
just had to do a model that requires parameter sets. i was really surprised when i noticed that EA isn't supporting such a significant feature (i.e., indicating an or relation between object flows in an activity diagram)

4
General Board / Re: Parameter Set Notation?
« on: April 24, 2007, 08:04:12 am »
just had to do a model that requires parameter sets. i was really surprised when i noticed that EA isn't supporting such a significant feature (i.e., indicating an or relation between object flows in an activity diagram)

5
Quote

Hey Paolo,
Actually there is a way to "watch" that attribute. You will notice in the watch area if you just add eaPackage you will get a value of {EA.PackageClass} and a type of EA.Package.


sometimes if have this type/value construct you describe, but often my objects have {System.__ComObject} as value. may someone has an explanation for me? ;)

6
its working...thanks a lot for your hints tom.

7
folks,

can somebody give me a hint, how to attach a debugger from vs.net to an EA addin?
till now, i wrote testclasses for my code and started them from vs.net in debug mode. but sometimes it would be helpful to debug the addin directly in EA.

i hope i put my question clearly ;-)

thanks,
marco

8
imho i dont think it has something to do with caching - maybe it has something to do which 'version' of your addin dll is still registered and getting called when starting EA.

i am now using a tool called Regmon [http://www.sysinternals.com/Utilities/Regmon.html] to see what values are accessed in the registry (during EA startup) and thus i can see what addin.dll is actually called (you may use your addin name as a filter in regmon).

imho it has something to do with the interop functionality and registering for it...

regards,
marco

9
i tried paolos solution again and it seems i made a failure before, because now it worked ;)

thanks for the help,


marco

10
deleting and recreating references didnt help for me.

it also seems that the EA.Interop.dll has the same version (2.10.238.1) for both 768 and 769.

11
you should work with partitions instead of swimlanes. they can be accessed through the automation interface like other elements.

note: in the uml metamodel exist no swimlanes - what you may be know from rational rose as swimlanes are in fact partitions.

regards,

marco

12
folks,

we would need to apply an UML pattern by the automation interface. i didnt find a method for it in the automation reference. isn't that possible or is there maybe a workaround  using the ImportXMI method of the repository class?

thanks,
marco

13
i think this feature would make modeling with profiles much easier and faster. we have also wanted to request his ;)

+1


marco

14
Automation Interface, Add-Ins and Tools / Re: Seperator in EA AddIn Menu
« on: August 12, 2005, 08:08:36 am »
it worked . thx ea support  ;)

15
Automation Interface, Add-Ins and Tools / Seperator in EA AddIn Menu
« on: August 10, 2005, 05:30:56 am »
hello,

is it possible to add a seperator to an ea add-in menu? if yes, can someone tell me how to do this please?


thanks,

marco

Pages: [1] 2