1
1
mirror of https://github.com/dgis/xsddiagram.git synced 2024-08-17 06:20:23 +03:00

change: name and type in one line

This commit is contained in:
EIDMANN Andreas 2017-06-01 18:03:43 +02:00
parent 67c613b701
commit 54bc647d52

View File

@ -144,7 +144,7 @@ namespace XSDDiagram.Rendering
childDiagramElement.Diagram = this;
childDiagramElement.TabSchema = childElement;
string type = childDiagramElement.GetTypeAnnotation();
childDiagramElement.Name = childElement.name != null ? childElement.name + " : " + type : "";
childDiagramElement.Name = childElement.name != null ? childElement.name + "::" + type : "";
childDiagramElement.NameSpace = nameSpace;
childDiagramElement.ItemType = DiagramItemType.element;
int occurrence;