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 - Simon M

Pages: 1 ... 388 389 [390] 391 392 ... 413
5836
Just a note.

C++ code engineering does not use the parameter kind.  So although your diagram will look right if you set those options.  It won't generate out.  You can change the templates, but then it won't synchronize.

5837
I know that shape scripted elements currently don't expand to fit their contents.

But maybe it would be worth posting an example of the name that is being wrapped by the default shape (what that default shape is) and not wrapped by the shape script.

5838
David.  No, I don't think there is any way that could be done.

As for two different decorations.  It may be possible to do both decorations, but I suspect only one shape script can be drawn.

I was also hoping that you may be able to get the additional stereotype from the one shape script, but that doesn't appear to be possible.

For tagged values you can check the HasTag for the two tags in question and draw the appropriate decoration.  You just need to have a stereotyped object to do it.

5839
Okay, I'll elaborate.

Some time ago I wrote a profile for EA (that so far hasn't seen the light of day) that specifies that the instances have the same notation as the classifier, but with the ': classfier' after the name.  This required accessing the stereotype/classifier of the classifier from the shape script so that it could draw the appropriate notation.

Think of two stereotypes, a circle and square.  In the object shape script you can say if my classifier stereotype is a circle, draw a circle, if otherwise draw a square.

If misused this would certainly add fuel to anti-shape script movement, but for some domains, such as the one that I was working on at the time it is necessary.  I'm not talking about UML here, and it would not fit with UML at all.

5840
Shape scripts can only be applied to something with a stereotype.  This means that your instance will also need a stereotype.

(However, I have had success using Classifier.Stereotype or Classifier.Metatype to change the display of a shape scripted instance based on what it is actually an instance of.)

5841
That code appears to be trying to get an already open EA application.  If you don't have one it would fail when accessing app.Repository, so either try adding a null check.

5842
Automation Interface, Add-Ins and Tools / Re: Create a RTF from API
« on: May 02, 2008, 08:15:43 am »
The default templates are internal to EA, the user templates are stored in your model.

I don't think that either are available to the automation interface.

5843
Automation Interface, Add-Ins and Tools / Re: Create a RTF from API
« on: April 30, 2008, 08:04:06 am »
Are you looking for Project.RunReport?  (http://www.sparxsystems.com.au/EAUserGuide/index.html?project_2.htm)

5844
Dollar signs denote variables in the template framework.  To generate a literal dollar sign you will need to use %dl%.

http://www.sparxsystems.com.au/EAUserGuide/index.html?literaltext.htm

5845
Then I would send a bug report to sparx systems.

5847
Hello Everyone,

We have been able to restore the missing posts.

If there are any further problems then please let us know.

Regards,

Simon McNeilly

5848
Hello Everyone,

It appears that our restore to the general board was incomplete.  Until now we were unaware of the problem.  We are currently investigating how we can restore the lost posts from our backups.

This will be done with as little further disruption to the forum as possible.

We will provide updates when we can.

Until then, sorry for any inconvenience caused.

Regards,

Simon McNeilly

5849
Yes, from any language that can access COM.  (Plus Java through our wrapper.)

Have a look at http://www.sparxsystems.com.au/EAUserGuide/index.html?usingtheautomationinterface.htm

And the html report can be called from Project.RunHTMLReport.  http://www.sparxsystems.com.au/EAUserGuide/index.html?project_2.htm

5850
This can be done by a combination of a diagram option (Diagram Properties | Diagram Tab | Document Each Contained Element in RTF) and a template change.

For more details please see http://www.sparxsystems.com.au/EAUserGuide/index.html?document_options.htm

Pages: 1 ... 388 389 [390] 391 392 ... 413