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

Pages: 1 2 3 [4]
46
Automation Interface, Add-Ins and Tools / automate baselines
« on: March 26, 2013, 09:54:40 pm »
Hi
I want to be able to produce a project baseline on a daily basis without having to open my project to do so
I have never written an addin or anything like it.
Does anyone have any hints as to how I can do this

Thanks

Maggie

47
Automation Interface, Add-Ins and Tools / find base classes
« on: April 20, 2012, 01:15:43 am »
Hi
Within my addin I am trying to find all the base classes for a given class.

so far I have
Code: [Select]
           foreach (EA.Connector connector in element.Connectors)
            {
                 if (connector.Type == "Generalization")
                {
                    EA.Element clientElement = Repository.GetElementByID(connector.ClientID);
                }
            }
This gives me a list of all Generalization connectors, including classes that derive from the target class.
What I need is only the classes from which the target class in derived.

I would be grateful if someone could give me some pointers

Thanks

Maggie

48
Automation Interface, Add-Ins and Tools / MDG or addin
« on: April 20, 2012, 06:17:45 pm »
Hi
I am developing a MDG for my projects.
One aspect of this is providing a class with a particular stereotype, which I have done.
Now when a user creates a class of this type I need to make it automatically derive from a given class(i dont want this shown on the diagram).
Can this be achieved in the MDG or would I need to add a connector in an addin by using the EA_OnPostNewElement event?

any advice gratefully received

Maggie

49
Automation Interface, Add-Ins and Tools / Addin notifications
« on: April 12, 2012, 05:15:30 pm »
Hi
Is it possible to detect when the user presses the OK button on the properties editor dialog?
I would like my addin to be notified when a class has been edited

Thanks

50
Hi
Does anyone know if it is possible to start a code generation from within a VB script?

Thanks

Maggie

51
Automation Interface, Add-Ins and Tools / Addins
« on: September 16, 2011, 09:43:31 pm »
Hi
How does one debug an addin using visual studio?
I cant run it as an application as it is a class library

Thanks

Maggie

52
Automation Interface, Add-Ins and Tools / Updating Notes field
« on: October 14, 2010, 09:31:44 pm »
Hello
I have an addin that attempts to update the notes field of a use case element when taht element is updated.
I generate the required string and assign it to the notes field of the use case element and call Update and Refresh on the element. This seems to work on some occasions and not on others (i am trying to discover under what circumstances it does not work).

Has anyone come across this type of thing before?
Has anyone any ideas on why this might be

Pages: 1 2 3 [4]