mirror of
https://github.com/dgis/xsddiagram.git
synced 2024-08-17 06:20:23 +03:00
Fixed the node expansion group of type 'All' (Thanks Carsten).
This commit is contained in:
parent
6d88b6b67a
commit
2f154c91fb
@ -1,6 +1,6 @@
|
||||
XSD Diagram is a free xml schema definition diagram viewer (http://regis.cosnier.free.fr).
|
||||
|
||||
Version 0.17 Copyright (c) 2006-2015 Regis Cosnier, All Rights Reserved.
|
||||
Version 0.18alpha Copyright (c) 2006-2015 Regis Cosnier, All Rights Reserved.
|
||||
|
||||
This program is free software and may be distributed
|
||||
according to the terms of the GNU General Public License (GPL).
|
||||
@ -119,7 +119,8 @@ TODO LIST:
|
||||
CHANGES:
|
||||
|
||||
version 0.18 (Not released yet)
|
||||
- Fixed min/maxOccurs for group references (@Cleric-K).
|
||||
- Fixed min/maxOccurs for group references (Thanks Cleric-K).
|
||||
- Fixed the node expansion group of type 'All' (Thanks Carsten).
|
||||
|
||||
version 0.17 (2015-09-02)
|
||||
- Add CSV and TXT output rendering following the Christian's idea.
|
||||
|
BIN
XSDDiagram.exe
BIN
XSDDiagram.exe
Binary file not shown.
Binary file not shown.
@ -770,7 +770,16 @@ namespace XSDDiagram.Rendering
|
||||
if (diagramCompositors != null)
|
||||
ExpandChildren(diagramCompositors);
|
||||
}
|
||||
}
|
||||
|
||||
XMLSchema.group groupAll = extensionType.all as XMLSchema.group;
|
||||
if (groupAll != null)
|
||||
{
|
||||
DiagramItem diagramCompositors = AddCompositors(parentDiagramElement, groupAll, DiagramItemGroupType.All, extensionType.@base.Namespace);
|
||||
parentDiagramElement.ShowChildElements = true;
|
||||
if (diagramCompositors != null)
|
||||
ExpandChildren(diagramCompositors);
|
||||
}
|
||||
}
|
||||
else if (complexContent.Item is XMLSchema.restrictionType)
|
||||
{
|
||||
XMLSchema.restrictionType restrictionType = complexContent.Item as XMLSchema.restrictionType;
|
||||
|
Loading…
Reference in New Issue
Block a user