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

Pages: [1]
1
Hold the phone! I have solved it.

All that was necessary was to use the package.element function to convert the package to an element. it could then be assigned to the diagram. Once i'd done this and ensured that the diagram.showPackageContents = true then the package was displayed.

Many thanks

Aaron :-)

2
Thanks for that David.

Do you have any idea how i can display the package contents on the diagram? I've been working from the code samples and user manual but can't seem to find any references to how to display packages instead of elements.

I can create an element of type package but have no idea how to populate it with content.  

If not, do you know of anywhere in which i can look at the methods for the automation interface plugin in detail?

Many Thanks

Aaron :-)

3
Hi There,

I am trying to automatically generate a diagram to represent the contents of a package.

When using EA manually you are simply able to drag and drop a package on to a diagram and the package is displayed along with it's contents. I cannot however find how to replicate this through the automation interface.

I have looked at the code samples and they only seem to cover adding elements to diagrams. Any help would be much appreciated.

Thanks in advance :-)

4
Thanks Simon,

I've now written a c# script to do the job through the automation interface which seems to do the job. :-)

5
I am currently representing the contents of an Ear in EA. The most readable way of doing this seems to be creating the custom stereotypes for JARs and WARs and placing them within a package (The package representing the EAR).

I am currently attempting to modify the code gen templates to allow me to output all of the contents of the package into a single xml file. EA seems however to be mainly focussed on outputting each 'class' into an individual file and i cannot find a way to iterate through the package and output details of a 'class' (JAR) into the one file.

Anyone have any ideas about how i might accomplish this?

Thanks in advance.

Pages: [1]