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 - Thiyagaraj A

Pages: 1 [2]
16
I think the only way is the automation Interface. Thanks Uffe.

17
Hi,
Can CTF be applied to elements other than class. Can it be applied to elements like Activity,Region,Parameter. Because in the documentation I couldn't find much related to this.

18
I need to hide the particular element connectors from an AddIn. Is there a way in AddIn API. (It can be hiding connector by connector.)

19
I am having a MDG technology imported.
Is it possible to take an element from the technology and add it to the diagram without users drag and drop. That means, when a user clicks an AddIn menu option we should be enable to take an element from the technology and draw it in the diagram.

20
Automation Interface, Add-Ins and Tools / Rendering problem?
« on: February 27, 2008, 09:33:15 pm »
I have created a ActivityParameter profile. when I try to add that profile to an activity the parameter got added, but it doesnt get added to the border of that particular element. But if we move the particular element, it gets added to the border(As like embedded elements). Is there any way to avoid it? Or is it a rendering bug ?

21
I noticed that underscore but, when u write like _metatype its not taken as metatype. Give it as metatype without underscore. The problem may be with with EA or EAhelp. :-?

22
thanks, we have to add an attribute to the stereotype element : metatype="XXXX"

23
I am using a profile. I have a created a stereotype "XXXX" which extends "Activity" MetaClass. But When I click and drop, the element name comes as "Activity1". Is it possible to get it as "XXXX1" ?

24
Automation Interface, Add-Ins and Tools / Why this error comes?
« on: February 13, 2008, 11:13:48 pm »
There is an Activity called "activity1" and there is an InterruptibleActivityRegion called "interruptActRegion".
The following code gives an "External component has thrown an Exception" exception. What is the cause for it?

               Connector contr = (Connector)activity1.Connectors.AddNew("sample", "Information Flow");
               contr.SupplierID = activity1.ElementID;
               contr.ClientID = interruptActRegion.ElementID;
               contr.Update();
               activity1.Connectors.Refresh();

25
I got it.
Thanks David, thanks Thomas.


26
Quote
I think you'd have to be reading the database field (in t_taggedvalues) directly to see that value. Some add-ins read the database, so I thought I'd provide that info as well.

I think you just need to look for a tagged value with the owner set to the GUID of your operation. If nothing else works define a search and run it from your add-in.

Let me know if you get it.

David


Hi David,
   Dont mistake me. I am not clear with the concept of reading from the database. Is there any material for reading the values from DataBase?

27
Quote
Look in the TaggedValue collection. Find a record with the GUID of your Parameter object, and BaseClass set to OPERATION_PARAMETER.


Hi david,
         I am using APIs for the addIn. i am not able to find the any such OPERATION_PARAMETER. Can u explain me in detail?

28
How to get the taggedValues of the parameters? there is no method.Parameters.TaggedValues

29
Quote
Open the Tools | Options | Objects dialog. At the bottom of the left-hand column of options clear Sort features alphabetically. You might also want to play with the Group... options near the bottom of the right-hand column.

David


Hi David,
   I wanna do it through AddIn interfaces.

30
Automation Interface, Add-Ins and Tools / Ordering of methods in a class?
« on: February 07, 2008, 03:00:43 am »
Always it is in ascending order. I dont want any type of ordering when i add a method. Is there any way?

Pages: 1 [2]