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

Pages: [1]
1
Bugs and Issues / Re: Hiden Features shown when class diagram is cop
« on: March 09, 2012, 06:03:41 pm »
I have set the feature visibility for individual classes on the source diagram, since I only want to hide the information on a few classes, not on all.

2
Bugs and Issues / Hiden Features shown when class diagram is copied
« on: March 08, 2012, 09:45:23 pm »
Hi all,

when I copy a class diagram that has a few classes with hiden features (attributes, methods) the feature are automatically shown again on the copied diagram and the layout is basically gone. This is quite frustrating especially with huge diagramms.

Can I somehow changes this behaviour?

Regards

3
Now, here is the solution I got from the support team and this is working:

To have the stereotype's appearance apply to existing elements as you described you will need to use a shape script.  See the "Shape Scripts" topic in EA help for details.

The shape script appearance applies immediately when changing an element's stereotype.  If you want to use the default element shape with only minor variations you can achieve this by using the drawnativeshape() method.  For example...

shape main
{          
      setfillcolor(255,0,0);
      drawnativeshape();
}

Hope that might help others as well. The other suggestions made in this topic do not work, by the way.

Regards!

4
Hi all,

I created a UML Profile with stereotypes to incorporate it into an MDG Technology File with a Toolbox etc. That all works fine.

However, I have not figured out yet, how I can set the default color for a stereotype defined in a UML Profile like I can define it for custom stereotypes using the menu "Settings" -> "UML Types ...".

I can set the default appearance, but this is not applied automatically on existing instances of a stereotype when I change the color so I would like to leave the default appearance "fill" setting to "default" and define the default color.

I already tried to specify the custom stereotypes again a second time using the above mentioned menu, but this does not work either since the setting are not used when the custom stereotype is already defined in an MDG Technology.

Does anyone know to set the default color in the UML Profile?

Regards, Lars

5
There doesn't seem to be anything like this. You can only see runtime errors unfortunately. I am fighting with the same crab.... even a semicolon can become a nightmare ...

Good luck. Try to run the script as often as possible when only slight changes are done. That helps.

6
Hi all,

I would like to write a script in java script, that accesses another repository to read some data and update elements in the current model.

This line does not work (error message "Repository is not a constructor"):

var sourceRepository = new Repository();

Does anyone know, how to instantiate a new repository object?

Thanks and regards!

Pages: [1]