Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: Neil Henderson on August 27, 2010, 02:12:09 pm
-
I am dropping a class object onto a swimlane - which works fine, but because the name of the class includes all of its ancestry it is too large for the box on the diagram.
How do I get the diagram to display just the name of teh class, without all of its ancestry?
Thanks Neil 8-)
-
Neal,
What exactly do you mean by "ancestry"?
AFAIK there are two things that can be added to a classname:
- The name of the owning package (between brackets)
- The name of the owning element (in case of a nested class)
You can remove the name of the owning package by unticking "show namespace" in the diagrams properties (tab Diagram).
The name of the owning element for nested classes cannot be removed. If this is bothering you chances are the class shouldn't be nested at all.
Geert
-
Diagram > Properties > Diagram > Show Additional Parents might be the setting you're looking for...
-
Thanks Geert and KP,
I have tried both the suggestions, but I do still have classes on my diagram that still show (for example)
<<Business Service>> Processing::Product Processing::Disburse
I would like the diagram to just show the word
Disburse
on the class box shown on the diagram :)
Do you know how I can do this please? (I feel it must be possible)
Thanks Neil
Sorry about the display - this forum software seems to interpret double colons as a funny face!!
-
(http://i306.photobucket.com/albums/nn245/copperkiwi/Sparx/SparxSystemsForum-PostReply-GoogleChrome_2010-09-08_08-59-14.png)