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

Pages: [1]
1
General Board / Re: Populate related elements
« on: November 20, 2012, 03:18:08 pm »
Thank you KP, I feel like a bit of a ditz now.
I was searching for the wrong terms (populate) in the documentation.  ::)

2
General Board / Populate related elements
« on: November 20, 2012, 02:42:29 pm »
Hi, all the EA literature says the tool can "Create diagrams with related elements - Enterprise Architect can automatically populate a diagram with all elements that relate to a given element."

I cannot find this functionality.
What I really want to be able to do it select an class, for instance, on a diagram and populate all the other classes that the class has a dependency on.

Thanks.

3
Quote
In the Resources view, right-click the stereotype and "Synch Tagged Values and Constraints". That will update the tag definitions for each stereotype instance without resetting the tagged values to their defaults.

Is there any way to do this through the API? Stereotypes don't have any relevant method.

Also I cannot find a way to apply all the tagged values of a stereotype to an element that has the stereotype applied.

EDIT:

Well, managed to find it, the repository has a SynchProfile operation, passing the profile and stereotype names as strings. The documentation is not very easy to navigate, lots of broken links.

4
Thanks Geert, will have a look and let you know if I have any more questions.

5
Hi, forgive me if this has been asked before, I searched but couldn't find an answer.

I can open a repository file and iterate across model elements programmatically using the example code in the SDK documentation but is it possible to connect to a currently open model?
i.e. I open a repository so it is loaded in EA and then connect to that instance, rather than specifying a path to a project.

Any tips are much appreciated.

Pages: [1]